/*
Theme Name: Tribaliste V2
Theme URI: https://www.tribaliste.com
Author: Tribaliste
Description: Block theme for Tribaliste V2, built from the V2 canvas mockups (Inter Tight caps headings, DM Mono labels, brown #4A3F38, taupe #D1CFC5, top navigation bar). WooCommerce ready; store in USD, paid in full, charged in MAD by Payzone.
Version: 0.9.3
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: tribaliste-v2
*/

:root {
	--trb-ink: #111111;
	--trb-brown: #4A3F38;
	--trb-taupe: #D1CFC5;
	--trb-cream: #EFEAE3;
	--trb-sand: #D8D1C6;
	--trb-line: #E4E4E4;
	--trb-mute: #6F6F6F;
	--trb-mono: 'DM Mono', ui-monospace, monospace;
	--trb-gutter: clamp(16px, 2.8vw, 40px);
	--trb-section: clamp(64px, 7.8vw, 112px);
}

body { margin: 0; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.trb-main > * + * { margin-block-start: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Alignment helpers ---------- */
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }

/* ---------- Labels ---------- */
.trb-lab, .trb-lab2, .trb-lab a, .trb-lab2 a {
	font-family: var(--trb-mono);
	text-transform: uppercase;
	letter-spacing: .04em;
}
.trb-lab { font-size: 11px; }
.trb-lab2 { font-size: 10.5px; }
.trb-mut { color: var(--trb-mute); }
.trb-ul a, a.trb-ul { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.trb-narrow { max-width: 440px; }
.trb-narrow-c { max-width: 520px; margin-inline: auto !important; }
.trb-big { font-size: var(--wp--preset--font-size--xxl) !important; }

/* ---------- Ticker ---------- */
.trb-ticker {
	height: 32px; gap: 40px; background: var(--trb-brown); color: #fff;
	font-family: var(--trb-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase;
	padding: 0 var(--trb-gutter) !important; margin: 0 !important;
}
.trb-ticker p { margin: 0; }
.trb-ticker-sep { opacity: .5; }
@media (max-width: 700px) { .trb-ticker > p:not(:first-child) { display: none; } }

/* ---------- Top navigation (0.4.8, Nich 04/11): classic bar at the top of the page, menu opens downwards ---------- */
/* Same type and colours as the former cartouche. The bar is part of the page and scrolls with it:
   nothing covers the rugs. Sticky option: add_filter( 'trb_nav_sticky', '__return_true' ) adds body.trb-nav-sticky (see PAGES.md). */
:root { --trb-hh: 64px; }
@media (max-width: 700px) { :root { --trb-hh: 52px; } }
.trb-topnav {
	position: relative; z-index: 50;
	display: flex; align-items: stretch; justify-content: space-between;
	height: var(--trb-hh);
	background: var(--trb-taupe, #D1CFC5); color: var(--trb-ink);
	border-bottom: 1px solid rgba(17, 17, 17, .14);
	margin: 0 !important;
}
.trb-topnav > * { margin-block: 0 !important; }
.trb-wordmark { margin: 0; display: flex; align-items: center; padding: 0 var(--trb-gutter); min-width: 0; }
.trb-wordmark a { font-size: 20px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.trb-bar { display: flex; font-family: var(--trb-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.trb-menu-toggle { display: flex; align-items: center; gap: 12px; padding: 0 24px; background: none; border: 0; border-left: 1px solid rgba(17, 17, 17, .14); font: inherit; color: inherit; cursor: pointer; text-transform: inherit; letter-spacing: inherit; }
.trb-menu-toggle svg path { transition: d .25s ease; }
.trb-topnav.is-open .trb-menu-toggle svg path { d: path("M2 1l14 9M2 10l14-9"); }
.trb-shop { display: flex; align-items: center; padding: 0 var(--trb-gutter) 0 24px; border-left: 1px solid rgba(17, 17, 17, .14); }
/* the panel drops down under the bar, over the page */
.trb-menu-panel {
	display: none; position: absolute; left: 0; right: 0; top: 100%;
	background: var(--trb-taupe, #D1CFC5); border-top: 1px solid rgba(17, 17, 17, .14);
	box-shadow: 0 24px 44px rgba(42, 35, 31, .18);
	max-height: calc(100vh - var(--trb-hh) - 32px); overflow-y: auto; overscroll-behavior: contain;
}
.trb-topnav.is-open .trb-menu-panel { display: block; animation: trb-drop .3s cubic-bezier(.23, 1, .32, 1); }
@keyframes trb-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes trb-fade { from { opacity: 0 } to { opacity: 1 } }
.trb-menu-links, .trb-menu-utils { list-style: none; margin: 0; }
.trb-menu-links { padding: 32px var(--trb-gutter) 28px; display: flex; flex-direction: column; gap: 6px; }
.trb-menu-links a {
	font-size: clamp(40px, 5vw, 64px); font-weight: 600; letter-spacing: -.035em; line-height: .95; text-transform: uppercase;
}
.trb-menu-utils {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
	padding: 16px var(--trb-gutter) 20px; border-top: 1px solid rgba(17, 17, 17, .14);
	font-family: var(--trb-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--trb-brown);
}
.trb-menu-utils li:last-child { margin-left: auto; }
.trb-menu-links a:hover, .trb-menu-utils a:hover { opacity: .6; }
/* Safety net if a plugin still injects blocks into the header */
.trb-topnav .wc-block-customer-account, .trb-topnav .wc-block-mini-cart, .trb-topnav .wp-block-woocommerce-customer-account { display: none !important; }
/* optional sticky bar */
/* 0.4.10: the offset follows the WordPress admin bar, which is fixed above 600 px (32 / 46 px) and scrolls away below 600 px:
   no gap above the stuck bar, and the product title sticks right under it. */
:root { --trb-ab: 0px; }
body.admin-bar { --trb-ab: 32px; }
@media (max-width: 782px) { body.admin-bar { --trb-ab: 46px; } }
@media (max-width: 600px) { body.admin-bar { --trb-ab: 0px; } }
body.trb-nav-sticky header.wp-block-template-part { position: sticky; top: calc(var(--trb-ab) - 32px); z-index: 60; }
body.trb-nav-sticky .trb-pp-head { top: calc(var(--trb-ab) + var(--trb-hh)); }
body.trb-nav-sticky .trb-pp-panel { top: calc(var(--trb-ab) + var(--trb-hh) + 152px); }
html:has(body.trb-nav-sticky) { scroll-padding-top: calc(var(--trb-hh) + 16px); }
body.trb-nav-sticky .trb-menu-panel { max-height: calc(100vh - var(--trb-hh) - var(--trb-ab)); }

@media (max-width: 700px) {
	.trb-wordmark { padding: 0 14px; }
	.trb-wordmark a { font-size: 16px; letter-spacing: .2em; overflow: hidden; text-overflow: ellipsis; }
	.trb-menu-toggle { gap: 10px; padding: 0 14px; }
	.trb-shop { padding: 0 14px; }
	.trb-menu-panel { max-height: calc(100dvh - var(--trb-hh) - 32px); }
	.trb-menu-links { padding: 18px 16px 16px; gap: 2px; }
	.trb-menu-links a { font-size: 34px; line-height: 1; }
	.trb-menu-utils { padding: 12px 16px 16px; gap: 6px 14px; }
	.trb-hero.wp-block-cover { min-height: calc(100svh - 32px - var(--trb-hh)) !important; padding-bottom: 40px !important; }
}

/* ---------- Buttons ---------- */
.wp-block-button__link, .trb-btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 46px; padding: 0 30px !important; border-radius: 0 !important;
	font-family: var(--trb-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
	transition: background .2s, color .2s, border-color .2s;
}
.trb-btn { background: var(--trb-brown); color: var(--trb-cream); }
.trb-btn:hover { background: var(--trb-sand); color: var(--trb-brown); }
.is-style-light .wp-block-button__link { background: #fff; color: var(--trb-ink); height: 42px; }
.is-style-light .wp-block-button__link:hover { background: var(--trb-sand); color: var(--trb-brown); }
.is-style-ghost .wp-block-button__link { background: transparent; color: inherit; border: 1px solid currentColor; height: 42px; }
.is-style-ghost .wp-block-button__link:hover { background: var(--trb-sand); color: var(--trb-brown); border-color: var(--trb-sand); }
.is-style-small .wp-block-button__link { height: 38px; padding: 0 18px !important; }

/* ---------- Sections ---------- */
.trb-section { margin-top: var(--trb-section) !important; padding-inline: var(--trb-gutter) !important; }
.trb-head { margin-bottom: 36px; gap: 20px; }
.trb-head h2 { margin: 0; }
.trb-head p { margin: 0; padding-bottom: 6px; }

/* Hero */
.trb-hero { color: #fff; }
.trb-hero .wp-block-cover__inner-container { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.trb-hero .trb-hero-title { font-size: clamp(44px, 5vw, 72px); max-width: 820px; margin: 0; }
.trb-hero.wp-block-cover { min-height: clamp(560px, calc(100vh - 32px - var(--trb-hh)), 1240px) !important; padding-bottom: 56px !important; }
/* Home cover 0.4.62: gallery photo (white rug, concrete columns), dark type set on the rug, no overlay */
.trb-hero-gallery { color: var(--trb-ink, #14110E); background: #EDEBE6; }
.trb-hero-gallery picture { display: contents; }
.trb-hero-gallery .wp-block-cover__inner-container { gap: 18px; width: 100%; }
.trb-hero-gallery .trb-lab { color: rgba(20, 17, 14, .72); }
.trb-hero-gallery .trb-hero-title { color: #14110E; max-width: 900px; }
@media (max-aspect-ratio: 1/1) { .trb-hero-gallery .wp-block-cover__image-background { object-position: 50% 55% !important; } }
@media (max-width: 700px) { .trb-hero-gallery .wp-block-cover__inner-container { gap: 14px; } }

/* Rails and cards */
.trb-rail .wc-block-product-template, .trb-rail ul { display: flex !important; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.trb-rail li { flex: 0 0 min(520px, 80vw); scroll-snap-align: start; }
.trb-card-meta { margin-top: 12px; }
/* Hide "New in" until products exist */
.trb-new-in:not(:has(.wc-block-product, .wc-block-product-template li)) { display: none; }
.trb-card-meta h3 { font-family: var(--trb-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; font-weight: 400; margin: 0; }

.trb-grid-3, .trb-grid-4 { gap: 16px !important; }
.trb-card, .trb-coll { gap: 14px; text-align: center; }
.trb-card figure, .trb-coll figure { width: 100%; margin: 0; }
.trb-card img, .trb-coll img { width: 100%; }
.trb-card-title { font-size: 26px; font-weight: 500; margin: 2px 0 0; }
.trb-card > .trb-card-title + .trb-lab2 { margin-top: -8px !important; }
.trb-card .trb-lab2 { margin: 0; }
.trb-coll .trb-lab { margin: 0; }
@media (max-width: 781px) {
	.trb-grid-4 { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.wp-block-columns.trb-grid-4:not(.is-not-stacked-on-mobile) > .wp-block-column { flex: 0 0 78% !important; flex-basis: 78% !important; max-width: 78%; min-width: 0; scroll-snap-align: start; }
	.trb-grid-4 { padding-right: var(--trb-gutter); scroll-padding-left: 0; }
}

/* Full-bleed bands */
.trb-band { color: #fff; padding-inline: var(--trb-gutter) !important; }
.trb-band h2 { margin: 0; }
.trb-band .wp-block-cover__inner-container { display: flex; flex-direction: column; gap: 16px; }
.trb-band:not(.trb-band-bottom) .wp-block-cover__inner-container { align-items: center; }
.trb-band-bottom { padding-bottom: clamp(132px, 12vw, 168px) !important; }
.trb-band-bottom .wp-block-cover__background { background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.18) 34%, rgba(0,0,0,0) 52%) !important; opacity: 1 !important; }
.trb-band-bottom h2 { max-width: 760px; }

/* The Lab */
.trb-lab-block .trb-lab-img { margin: 40px 0 0; }
.trb-lab-block .trb-lab-img img { width: 100%; height: clamp(420px, 53vw, 760px); object-fit: cover; object-position: 50% 40%; }
.trb-info-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: center; border-bottom: 1px solid var(--trb-line); }
.trb-info-strip > div { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 24px 0; }
@media (max-width: 781px) { .trb-info-strip { grid-template-columns: 1fr; } .trb-info-strip .trb-btn { margin: 8px 0 20px; } }

/* Pages */
.trb-page { padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--trb-section); }
.trb-page-title { font-size: clamp(40px, 5vw, 72px) !important; }

/* ---------- Footer ---------- */
.trb-footer { margin-top: 120px !important; background: var(--trb-brown); color: #fff; padding: 72px var(--trb-gutter) 40px !important; }
.trb-footer a:hover { opacity: .7; }
/* No white gap when the page ends with a full-bleed band */
.trb-main:has(> .trb-band:last-child) + .wp-block-template-part > .trb-footer,
.trb-main:has(> .trb-band:last-child) + .trb-footer { margin-top: 0 !important; }
.trb-newsletter { align-items: center; text-align: center; gap: 12px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.15); }
.trb-newsletter p { margin: 0; }
.trb-newsletter .trb-lab { opacity: .6; }
.trb-nl-title { font-size: 34px; font-weight: 300; line-height: 1.1; }
.trb-nl-sub { font-size: 13px; opacity: .8; }
.trb-nl-form { position: relative; width: 100%; max-width: 520px; margin-top: 8px; }
.trb-nl-form input { width: 100%; box-sizing: border-box; height: 50px; border: 0; padding: 0 120px 0 20px; font: inherit; font-size: 12px; }
.trb-nl-form button { position: absolute; right: 22px; top: 0; height: 50px; background: none; border: 0; font-family: var(--trb-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; color: var(--trb-ink); }
.trb-footer-cols { margin-top: 56px; display: grid; grid-template-columns: 3fr 2fr 2fr 2fr 2fr; gap: 40px; font-size: 13px; }
.trb-footer-cols > div { display: flex; flex-direction: column; gap: 12px; }
.trb-footer-cols .trb-lab2 { opacity: .6; margin-bottom: 4px; }
.trb-footer-brand { padding-right: 40px; border-right: 1px solid rgba(255,255,255,.15); }
.trb-footer-brand p { margin: 0; opacity: .8; max-width: 260px; }
.trb-footer-logo { font-size: 44px; font-weight: 600; letter-spacing: -.03em; text-transform: uppercase; line-height: .95; }
.trb-footer-bottom {
	margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15);
	display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
	font-family: var(--trb-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.85);
}
.trb-footer-legal, .trb-footer-social { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.trb-footer-legal a { text-decoration: underline; text-underline-offset: 6px; }
.trb-pay { display: inline-flex; align-items: center; gap: 8px; }
.trb-pay img { display: block; height: 28px; width: auto; }
@media (max-width: 781px) {
	.trb-footer { padding: 48px 16px 32px !important; }
	.trb-footer-cols { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
	.trb-footer-brand { grid-column: 1 / -1; border: 0; padding: 0; }
	.trb-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- WooCommerce: prices and payment note ---------- */
.trb-pay-note { font-size: 12px; color: var(--trb-mute); margin: 12px 0; }
.trb-section > .trb-big { margin-bottom: 40px; }
.trb-lab-block > .trb-big { margin-bottom: 16px; }
/* ---------- Canvas pages (ported from the V2 mockups) ---------- */
.trb-board { font-family: "Inter Tight", system-ui, sans-serif; color: #111; background: #fff; overflow: hidden; }
.trb-board img { max-width: none; }
.trb-board { line-height: normal; font-size: 16px; }
.trb-board-m { display: none; }
@media (max-width: 900px) { .trb-board-d { display: none; } .trb-board-m { display: block; } }
.trb-board h1, .trb-board h2{font-weight:600!important;text-transform:uppercase;letter-spacing:-.03em!important;line-height:.95!important;text-wrap:balance}
.trb-board a{color:inherit;text-decoration:none}
.trb-board .fill{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.trb-board .cut{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;box-sizing:border-box;mix-blend-mode:multiply}
.trb-board .lab{font-family:"DM Mono",ui-monospace,monospace;font-size:11px;letter-spacing:.04em;text-transform:uppercase}
.trb-board .lab2{font-family:"DM Mono",ui-monospace,monospace;font-size:10.5px;letter-spacing:.04em;text-transform:uppercase}
.trb-board .em{font:inherit}
.trb-board .ul{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
.trb-board .pill{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 26px;border-radius: 0;border:1px solid currentColor;font-family:"DM Mono",ui-monospace,monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.trb-board .pillf{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 26px;border-radius: 0;background:#fff;color:#111;font-family:"DM Mono",ui-monospace,monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.trb-board .pilld{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 30px;border-radius: 0;background:#4A3F38;color:#EFEAE3;font-size:11px;letter-spacing:.06em;text-transform:uppercase;border:0;font-family:"DM Mono",ui-monospace,monospace;cursor:pointer}
.trb-board .pilld, .trb-board .pill, .trb-board .pillf{transition:background .2s,color .2s,border-color .2s}
.trb-board .pilld:hover{background:#D8D1C6;color:#4A3F38}
.trb-board .pill:hover{background:#D8D1C6;color:#4A3F38;border-color:#D8D1C6}
.trb-board .pillf:hover{background:#D8D1C6;color:#4A3F38}
.trb-board .mut{color:#6F6F6F}
.trb-board .ico{width:20px;height:20px;stroke:#111;fill:none;stroke-width:1.4}
.trb-board .inp{width:100%;box-sizing:border-box;height:46px;border:1px solid #E4E4E4;border-radius: 0;background:#fff;font-family:inherit;font-size:12px;color:#111;padding:0 20px}
.trb-board .rail{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory}
.trb-board .rail::-webkit-scrollbar{display:none}
.trb-board .rail>*{scroll-snap-align:start}
.trb-board .scroller{overflow-y:auto;scrollbar-width:none}
.trb-board .scroller::-webkit-scrollbar{display:none}
.trb-board .mbtn{background:none;border:0;padding:0;font-family:inherit;color:#111;cursor:pointer}
@keyframes fade{from{opacity:0}to{opacity:1}}
.trb-board .panel{animation:fade .25s ease}
@media (prefers-reduced-motion: reduce){.trb-board .panel{animation:none}}
.trb-board .film video{filter:contrast(1.12) saturate(.65) brightness(.96)}
.trb-board .grain{position:absolute;inset:-100%;width:300%;height:300%;pointer-events:none;mix-blend-mode:overlay;opacity:.9;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncR type='linear' slope='2.2' intercept='-0.6'/><feFuncG type='linear' slope='2.2' intercept='-0.6'/><feFuncB type='linear' slope='2.2' intercept='-0.6'/></feComponentTransfer></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");animation:grain .4s steps(3) infinite}
@keyframes grain{0%{transform:translate(0,0)}25%{transform:translate(-3%,2%)}50%{transform:translate(2%,-4%)}75%{transform:translate(-4%,-1%)}100%{transform:translate(3%,3%)}}
@media (prefers-reduced-motion: reduce){.trb-board .grain{animation:none}}
.trb-board .hslide{opacity:0;animation:hfade 24s infinite;transform-origin:50% 60%}
.trb-board .hcap{position:absolute;left:0;right:0;opacity:0;animation:hcap 24s infinite}
@keyframes hfade{0%{opacity:0;transform:scale(1.06)}4%{opacity:1}25%{opacity:1}29%{opacity:0;transform:scale(1)}100%{opacity:0}}
@keyframes hcap{0%,3%{opacity:0}6%,24%{opacity:.9}28%,100%{opacity:0}}
@media (prefers-reduced-motion: reduce){.trb-board .hslide, .trb-board .hcap{animation:none}.trb-board .hslide:first-of-type, .trb-board .hcap:first-child{opacity:1}}
.trb-board .ctamain:hover{background:#D8D1C6;color:#4A3F38}
.trb-board .ctaroom:hover{background:#D8D1C6;color:#4A3F38;border-color:#D8D1C6 !important}
.trb-board .ctaroom{border-color:#4A3F38 !important;color:#4A3F38}
.trb-board form.trb-form { margin: 0; }
.trb-board video { max-width: none; }

/* ---------- Forms (contact, trade brief) ---------- */
.trb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.trb-form-note { display: flex; flex-direction: column; gap: 12px; padding: 8px 0 24px; }
.trb-form-note-title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 300; line-height: 1.1; }
.trb-board .trb-form button[data-chip] { transition: background .2s, color .2s, border-color .2s; }

/* ---------- Text pages (FAQ, legal, shipping) ---------- */
.trb-text-page { padding: clamp(40px, 5vw, 64px) var(--trb-gutter) var(--trb-section); }
.trb-text-head { max-width: 900px; display: flex; flex-direction: column; gap: 16px; }
.trb-text-head > * { margin: 0 !important; }
.trb-text-eyebrow { font-family: var(--trb-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--trb-mute); }
.trb-text-title { font-size: clamp(40px, 5vw, 72px) !important; }
.trb-text-intro { font-size: 15px; line-height: 1.7; color: var(--trb-mute); max-width: 560px; }
.trb-text-body { max-width: 760px; margin-top: clamp(40px, 5vw, 72px); font-size: 15px; line-height: 1.7; }
.trb-text-body > * { margin-block: 0 0 16px; }
.trb-text-body h2 { font-family: var(--trb-mono); font-size: 11px !important; font-weight: 400; letter-spacing: .04em; color: var(--trb-mute); margin: 56px 0 18px !important; padding-top: 18px; border-top: 1px solid var(--trb-line); line-height: 1.4; }
.trb-text-body h2:first-child { margin-top: 0 !important; }
.trb-text-body h3 { font-size: 17px !important; font-weight: 500; margin: 28px 0 8px !important; }
.trb-text-body ul { padding-left: 1.1em; }
.trb-text-body li { margin-bottom: 6px; }
.trb-text-body a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
mark.trb-todo { background: #F4F4F4; color: var(--trb-mute); padding: 0 4px; }
.trb-faq { border-top: 1px solid var(--trb-line); margin: 0 !important; }
.trb-faq:last-of-type { border-bottom: 1px solid var(--trb-line); }
.trb-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-size: 17px; }
.trb-faq summary::-webkit-details-marker { display: none; }
.trb-faq summary::after { content: "+"; font-weight: 300; font-size: 22px; line-height: 1; }
.trb-faq[open] summary::after { content: "–"; }
.trb-faq p { margin: 0 0 22px; max-width: 640px; color: #333; }

/* ---------- Shop: collections, categories, product cards ---------- */
.trb-shop-wrap { padding: 56px var(--trb-gutter) 0; }
.trb-shop-head { padding: clamp(40px, 5vw, 64px) var(--trb-gutter) 0; display: flex; flex-direction: column; gap: 16px; }
.trb-shop-head > * { margin: 0 !important; }
.trb-shop-title { font-size: clamp(40px, 5vw, 72px) !important; }
.trb-shop-intro { font-size: 15px; line-height: 1.7; color: var(--trb-mute); max-width: 560px; }
.trb-shop-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-bottom: 20px; margin-bottom: 32px; border-bottom: 1px solid var(--trb-line); font-family: var(--trb-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--trb-mute); }
.trb-shop-nav a[aria-current="page"] { color: var(--trb-ink); text-decoration: underline; text-underline-offset: 8px; }
.trb-shop-grid .wc-block-product-template, .trb-shop-grid .products-block-post-template, .trb-related .products-block-post-template { gap: 56px 16px !important; }
.trb-shop-grid .wc-block-components-product-image img, .trb-related .wc-block-components-product-image img, .trb-shop-grid li img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: #F4F4F4; }
.trb-card-meta { margin-top: 12px !important; align-items: baseline !important; }
.trb-card-meta h3, .trb-card-meta .wp-block-post-title { font-family: var(--trb-mono); font-size: 10.5px !important; text-transform: uppercase; letter-spacing: .04em; font-weight: 400; margin: 0; }
.trb-card-meta .wc-block-components-product-price, .trb-card-meta .price { font-size: 13px; color: var(--trb-mute); }
.trb-shop-grid .wp-block-query-pagination { margin-top: 56px; font-family: var(--trb-mono); font-size: 11px; }
@media (max-width: 781px) {
	.trb-shop-grid .products-block-post-template { grid-template-columns: 1fr 1fr !important; gap: 32px 12px !important; }
	.trb-related .products-block-post-template { grid-template-columns: 1fr 1fr !important; }
}

/* Artworks list (WooCommerce [products] shortcode) */
.trb-works { padding: 140px var(--trb-gutter) 32px; display: flex; flex-direction: column; gap: 12px; }
.trb-works-title { margin: 0; font-size: clamp(32px, 4vw, 56px) !important; }
.trb-works-empty { padding: 0 var(--trb-gutter); }
.trb-main > .woocommerce, .trb-main .wp-block-shortcode .woocommerce { padding: 0 var(--trb-gutter); }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 16px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce ul.products li.product img { aspect-ratio: 4 / 5; object-fit: cover; margin: 0 0 12px !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--trb-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; font-weight: 400; padding: 0 !important; margin: 0 0 4px !important; }
.woocommerce ul.products li.product .price { font-size: 13px; color: var(--trb-mute) !important; }
.woocommerce ul.products li.product .button { display: none; }
@media (max-width: 781px) { .woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 32px 12px; } }

/* Single product */
.trb-product-cols { gap: 0 !important; margin: 0 !important; align-items: flex-start !important; }
.trb-product-media .woocommerce-product-gallery { margin: 0 !important; width: 100% !important; float: none !important; }
.trb-product-media img { width: 100%; background: #F4F4F4; }
.trb-product-panel { position: sticky; top: 24px; padding: 40px clamp(24px, 3.5vw, 56px) 40px; display: flex; flex-direction: column; gap: 20px; }
.trb-product-panel > * { margin: 0 !important; }
.trb-product-title { font-size: clamp(32px, 3.4vw, 52px) !important; }
.trb-product-price { font-size: 22px; font-weight: 300; }
.trb-product-summary { font-size: 14px; line-height: 1.7; color: #333; }
.trb-product-note { line-height: 1.8; }
.trb-product .variations { width: 100%; border: 0; margin-bottom: 12px; }
.trb-product .variations th, .trb-product .variations td { display: block; padding: 0 0 8px; text-align: left; }
.trb-product .variations label { font-family: var(--trb-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--trb-mute); font-weight: 400; }
.trb-product .variations select { width: 100%; height: 46px; border: 1px solid var(--trb-line); border-radius: 0; padding: 0 16px; background: #fff; font: inherit; font-size: 13px; }
.trb-product .reset_variations { font-family: var(--trb-mono); font-size: 10.5px; text-transform: uppercase; }
.trb-product .quantity { display: none !important; }
.trb-product .single_add_to_cart_button, .woocommerce .button.alt, .woocommerce button.button, .woocommerce a.button, .wc-block-components-button {
	background: var(--trb-brown) !important; color: #EFEAE3 !important; border-radius: 0 !important; border: 0 !important;
	font-family: var(--trb-mono) !important; font-size: 11px !important; letter-spacing: .06em; text-transform: uppercase; font-weight: 400 !important;
	min-height: 52px; padding: 0 30px !important;
}
.trb-product .single_add_to_cart_button { width: 100%; }
.trb-product .single_add_to_cart_button:hover, .woocommerce .button.alt:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--trb-sand) !important; color: var(--trb-brown) !important; }
.trb-product-details .wc-tabs { display: flex; gap: 20px; padding: 0 !important; margin: 12px 0 16px !important; border-bottom: 1px solid var(--trb-line); list-style: none; font-family: var(--trb-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }
.trb-product-details .wc-tabs li { padding-bottom: 10px; }
.trb-product-details .wc-tabs li.active { border-bottom: 1px solid var(--trb-ink); }
.trb-product-details .woocommerce-Tabs-panel { font-size: 14px; line-height: 1.7; }
.trb-product-details .woocommerce-Tabs-panel h2 { display: none; }
.trb-related { padding: 112px var(--trb-gutter) 0; }
.trb-related-title { font-size: clamp(28px, 3vw, 44px) !important; margin-bottom: 32px !important; }
@media (max-width: 781px) {
	.trb-product-cols { flex-direction: column; }
	.trb-product-panel { position: static; padding: 24px 16px; }
}

/* Cart, checkout, account (classic WooCommerce) */
.trb-shop-page { padding: clamp(40px, 5vw, 64px) var(--trb-gutter) var(--trb-section); }
.trb-shop-page .trb-text-title { margin: 0 0 40px; }
.woocommerce form .input-text, .woocommerce form select, .woocommerce-page form .input-text { height: 46px; border: 1px solid var(--trb-line); border-radius: 0; padding: 0 16px; font: inherit; font-size: 13px; background: #fff; }
.woocommerce form textarea.input-text { height: 120px; padding: 12px 16px; }
.woocommerce form .form-row label { font-family: var(--trb-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--trb-mute); }
.woocommerce table.shop_table { border-radius: 0; border-color: var(--trb-line); font-size: 14px; }
.woocommerce-checkout #payment { background: #F4F4F4 !important; border-radius: 0 !important; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top-color: var(--trb-brown) !important; background: #F4F4F4 !important; }

/* ---------- 0.4.1: SEO / performance ---------- */
/* Desktop board titles are <p class="trb-h1"> (the mobile board carries the page's single <h1>) */
.trb-board .trb-h1 { font-size: 2em; margin-block: .67em; font-weight: 600 !important; text-transform: uppercase; letter-spacing: -.03em !important; line-height: .95 !important; text-wrap: balance; }
.trb-board img[width] { height: auto; }
.trb-board img.fill, .trb-board img.cut { height: 100%; }
.trb-shop-note { margin: 24px 0 0 !important; }
.trb-footer > .trb-footer-cols:first-child { margin-top: 0 !important; }

/* 0.4.1: collection intros and empty collections */
.trb-shop-intro { max-width: 640px; margin-top: 12px !important; font-size: 14px; line-height: 1.7; }
.trb-shop-empty { margin: 32px 0 !important; }

/* 0.4.3: product page — sold / price on request, custom size, room visual, enquiry */
.trb-badge { font-family: var(--trb-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.trb-badge-sold { display: inline-block; padding: 5px 10px; background: var(--trb-brown); color: var(--trb-cream); line-height: 1.2; }
.trb-badge-por { color: var(--trb-ink); }
.trb-product-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 4px !important; }
.trb-product-ctas .trb-btn { width: 100%; height: 56px; box-sizing: border-box; background: var(--trb-taupe); color: var(--trb-ink); text-decoration: none; }
.trb-product-ctas .trb-btn:hover { background: var(--trb-sand); color: var(--trb-brown); }
.trb-product-ctas .trb-btn-dark { background: var(--trb-brown); color: var(--trb-cream); }
.trb-product-ctas .trb-btn-line { background: transparent; border: 1px solid var(--trb-ink); }
.trb-pforms { padding: 0 var(--trb-gutter); display: flex; flex-direction: column; gap: var(--trb-section); margin-top: var(--trb-section); overflow: visible; }
.trb-pform { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; scroll-margin-top: 120px; }
.trb-pform[data-trb-panel]:not(.is-open):not(:target) { display: none; }
.trb-pform-text { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.trb-pform-text h2 { margin: 0; font-size: clamp(28px, 3vw, 44px); }
.trb-pform-text p { margin: 0; font-size: 13px; line-height: 1.7; }
.trb-pform form { display: flex; flex-direction: column; gap: 14px; }
.trb-pform .trb-f { display: flex; flex-direction: column; gap: 6px; }
.trb-pform textarea.inp { height: auto; padding: 14px 20px; resize: vertical; }
.trb-pform select.inp { appearance: auto; }
.trb-pform .trb-f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trb-pform .trb-f3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.trb-pform .trb-chips { display: flex; gap: 8px; height: 46px; }
.trb-pform .trb-chips .mbtn { flex: 1; border: 1px solid #A29E93; }
.trb-pform .trb-chips .mbtn[aria-pressed="true"] { background: #4A3F38; color: #EFEAE3; border-color: #4A3F38; }
.trb-pform .trb-file { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 20px; border: 1px dashed #E4E4E4; cursor: pointer; text-align: center; font-size: 13px; }
.trb-pform .trb-file input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.trb-pform .trb-submit { height: 52px; width: 100%; }
.trb-pform p.lab2 { margin: 0; }
@media (max-width: 900px) {
	.trb-pform { grid-template-columns: 1fr; gap: 28px; }
	.trb-pform .trb-f3 { grid-template-columns: 1fr; }
	.trb-pform .trb-f3 .trb-f:has(.trb-chips) { order: 0; }
}
/* Artworks grid ([products] shortcode after "Works for the wall") keeps the page gutter */
.trb-works + .woocommerce, .trb-works ~ .woocommerce { padding: 0 var(--trb-gutter); }

/* ===== 0.4.4: product page as the mockups (ProdG / ArtPG) ===== */
.trb-product > .wp-block-woocommerce-store-notices { margin: 0 !important; }
.trb-pp { overflow: visible; }
.trb-pp-head { position: sticky; top: 0; z-index: 9; background: #fff; min-height: 152px; box-sizing: border-box; padding: 18px 40px 16px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid #E4E4E4; }
.trb-pp-crumb { display: flex; gap: 10px; flex-wrap: wrap; }
.trb-pp-head h1 { margin: 0; font-size: clamp(56px, 6.7vw, 96px); }
.trb-pp-main { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.trb-pp-rail { display: flex; flex-direction: column; }
.trb-pp-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.trb-pp-frame.is-cut { background: #F4F4F4; }
.trb-pp-frame.is-film { background: #2A2420; }
.trb-pp-frame video.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.trb-pp-count { display: none; }
.trb-pp-panel { position: sticky; top: 152px; min-height: calc(100vh - 152px); box-sizing: border-box; padding: 28px 40px 28px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.trb-pp-top { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; }
.trb-pp-desc { display: flex; flex-direction: column; gap: 18px; }
.trb-pp-desc p { margin: 0; font-size: 15px; line-height: 1.6; }
.trb-pp-spec { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; padding-top: 14px; border-top: 1px solid #E4E4E4; font-size: 12px; }
.trb-pp-tabs { display: flex; flex-direction: column; gap: 14px; }
.trb-tabs { display: flex; flex-direction: column; gap: 14px; }
.trb-tabs-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.trb-tabs-nav .mbtn { color: #6F6F6F; }
.trb-tabs-nav .mbtn[aria-selected="true"] { color: #111; }
.trb-pp-art .trb-tabs-nav .mbtn[aria-selected="true"] { text-decoration: underline; text-underline-offset: 6px; }
.trb-tab p { margin: 0; font-size: 12px; line-height: 1.7; }
.trb-tab a.ul { color: #111; }
.trb-pp-faq { align-self: flex-start; }
.trb-pp-buy { display: flex; flex-direction: column; gap: 10px; }
.trb-pp-pick { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: start; margin-bottom: 14px; }
.trb-pp-colours, .trb-pp-sizes { display: flex; flex-direction: column; gap: 10px; }
.trb-pp-val { margin-left: 6px; text-transform: none; letter-spacing: 0; font-size: 12px; font-family: "Inter Tight", system-ui, sans-serif; }
.trb-sws { display: flex; gap: 10px; flex-wrap: wrap; }
.trb-board .trb-sw { width: 64px; height: 64px; overflow: hidden; position: relative; background: #fff; box-shadow: 0 0 0 1px #fff, 0 0 0 1px #E4E4E4; }
.trb-board .trb-sw[aria-pressed="true"] { box-shadow: 0 0 0 1px #fff, 0 0 0 2px #4A3F38; }
.trb-sw-name { font-size: 10px; padding: 4px; display: block; }
.trb-pp-sizes-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.trb-szs { display: flex; flex-wrap: wrap; gap: 8px; }
.trb-board .trb-sz { height: 40px; padding: 0 16px; border: 1px solid #E4E4E4; background: #D1CFC5; }
.trb-board .trb-sz[aria-pressed="true"] { background: #4A3F38; color: #EFEAE3; border-color: #4A3F38; }
.trb-pp-cart { margin: 0; }
.trb-board .trb-buy { width: 100%; min-height: 112px; box-sizing: border-box; background: #4A3F38; color: #EFEAE3 !important; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 0 36px; text-align: left; transition: background .2s, color .2s; text-decoration: none; }
.trb-board .trb-buy:hover:not([disabled]) { background: #D8D1C6; color: #4A3F38 !important; }
.trb-board .trb-buy[disabled] { opacity: .55; cursor: not-allowed; }
.trb-board .trb-buy[hidden] { display: none; }
.trb-buy-l { display: flex; flex-direction: column; gap: 4px; }
.trb-buy-price { font-size: 26px; font-weight: 300; }
.trb-buy-note { font-size: 11px; opacity: .7; }
.trb-buy-cta { font-size: 14px !important; letter-spacing: .22em !important; }
.trb-board .trb-buy.trb-buy-sold { background: #D1CFC5; color: #4A3F38 !important; cursor: default; }
.trb-room-btn { width: 100%; height: 72px; box-sizing: border-box; border: 1px solid #4A3F38; color: #4A3F38; display: flex; align-items: center; justify-content: center; font-size: 13px !important; letter-spacing: .22em !important; transition: background .2s, color .2s, border-color .2s; }
.trb-room-btn:hover { background: #D8D1C6; border-color: #D8D1C6; }
.trb-com-btn { width: 100%; height: 64px; box-sizing: border-box; background: #D1CFC5; color: #4A3F38; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 0 24px; font-size: 13px; transition: background .2s; }
.trb-com-btn .lab { font-size: 12px; letter-spacing: .18em; }
.trb-com-btn:hover { background: #D8D1C6; }
.trb-pp-line { margin: 4px 0 0; }
.trb-pp-reviews { padding: 0 40px; margin-top: 112px; }

/* related ("Also in …", "From the same studio") and product cards */
.trb-related2 { margin-top: 112px; padding: 0 40px; overflow: visible; }
.trb-related2-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.trb-related2-head h2 { margin: 0; font-size: 44px; }
.trb-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 16px; }
.trb-related2.is-art .trb-grid, .trb-listing.is-art .trb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px 24px; }
.trb-card { display: flex; flex-direction: column; gap: 12px; }
.trb-card-img { position: relative; display: block; aspect-ratio: 4 / 5; background: #F4F4F4; overflow: hidden; }
.trb-card-meta { display: flex; flex-direction: column; gap: 5px; }
.trb-card-price { font-size: 12px; }
.trb-card-price .amount, .trb-card-price bdi { font: inherit; }
.trb-card-sub { font-size: 11px; }
.trb-card-art { gap: 16px; }
.trb-card-art .trb-card-title { font-size: 20px; font-weight: 300; }
.trb-card-art .trb-card-sub { font-size: 12px; }
.trb-card-art .trb-card-price { font-size: 13px; margin-top: 2px; }
.trb-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.trb-dot { width: 14px; height: 14px; border-radius: 50%; background: #E4E4E4 center / 260% no-repeat; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }

@media (max-width: 900px) {
	.trb-pp-head { min-height: 0; padding: 12px 16px 10px; gap: 6px; }
	.trb-pp-head h1 { font-size: 40px; }
	.trb-pp-main { grid-template-columns: 1fr; margin-top: 12px; }
	.trb-pp-rail { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.trb-pp-rail::-webkit-scrollbar { display: none; }
	.trb-pp-frame { flex: 0 0 100%; scroll-snap-align: start; }
	.trb-pp-count { display: flex; justify-content: center; gap: 6px; padding: 12px 0; }
	.trb-pp-count [data-trb-count] { color: #111; }
	.trb-pp-panel { position: static; min-height: 0; padding: 8px 16px 0; gap: 24px; }
	.trb-pp-top { grid-template-columns: 1fr; gap: 24px; }
	.trb-pp-desc p { font-size: 14px; }
	.trb-pp-pick { grid-template-columns: 1fr; gap: 24px; margin-bottom: 0; }
	.trb-board .trb-sw { width: 52px; height: 52px; }
	.trb-board .trb-buy { min-height: 84px; padding: 0 20px; }
	.trb-buy-price { font-size: 22px; }
	.trb-buy-cta { font-size: 12px !important; }
	.trb-room-btn { height: 64px; font-size: 12px !important; }
	.trb-related2 { margin-top: 64px; padding: 0 16px; }
	.trb-related2-head h2 { font-size: 26px; }
	.trb-grid, .trb-related2.is-art .trb-grid, .trb-listing.is-art .trb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; margin-top: 24px; }
	.trb-pp-reviews { padding: 0 16px; margin-top: 64px; }
}

/* listings as the mockups (ColG #listing, ArtG #works) */
.trb-listing { padding: 0 40px; margin-top: 56px; overflow: visible; }
.trb-shop-wrap { padding-left: 0 !important; padding-right: 0 !important; }
.trb-shop-wrap > .trb-listing:first-child { margin-top: 0; }
.trb-listing-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #E4E4E4; border-bottom: 1px solid #E4E4E4; }
.trb-coll-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.trb-coll-filter a { flex: none; height: 36px; padding: 0 16px; border: 1px solid #E4E4E4; display: inline-flex; align-items: center; gap: 8px; }
.trb-coll-filter a span { opacity: .55; }
.trb-coll-filter a[aria-current] { background: #4A3F38; color: #EFEAE3; border-color: #4A3F38; }
.trb-listing-sort { display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.trb-listing-sort a { color: #6F6F6F; }
.trb-listing-sort a[aria-current] { color: #111; text-decoration: underline; text-underline-offset: 6px; }
.trb-listing > .trb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 20px; }
.trb-pages { display: flex; gap: 14px; justify-content: center; margin-top: 56px; }
.trb-pages .current { text-decoration: underline; text-underline-offset: 6px; }
.trb-listing .trb-shop-note { margin-top: 32px !important; }
.trb-listing.is-art { margin-top: 140px; }
.trb-works-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid #E4E4E4; }
.trb-works-head h2 { margin: 0; font-size: 48px; }
.trb-works-count { font-size: 14px; font-weight: 400; margin-left: 8px; letter-spacing: 0; }
.trb-series { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; max-width: 860px; }
.trb-series a { color: #6F6F6F; }
.trb-series a[aria-current] { color: #111; text-decoration: underline; text-underline-offset: 8px; }
.trb-listing.is-art > .trb-grid { margin-top: 48px; }
@media (max-width: 900px) {
	.trb-listing { padding: 0 16px; margin-top: 32px; }
	.trb-listing-bar { flex-wrap: wrap; }
	.trb-coll-filter { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; padding-bottom: 2px; }
	.trb-listing > .trb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 12px; }
	.trb-listing.is-art { margin-top: 72px; }
	.trb-works-head { flex-direction: column; align-items: flex-start; }
	.trb-works-head h2 { font-size: 32px; }
	.trb-series { justify-content: flex-start; }
}

/* bag and checkout as the mockup (CheckoutG) */
.woocommerce-cart .trb-shop-page, .woocommerce-checkout .trb-shop-page { padding: 40px 40px 0 !important; max-width: none !important; }
.trb-bag-crumb { display: flex; gap: 10px; margin: 0 0 18px; }
.woocommerce-cart .trb-text-title, .woocommerce-checkout .trb-text-title { font-size: clamp(40px, 5vw, 72px) !important; margin: 0 !important; }
.trb-steps { display: flex; gap: 28px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid #E4E4E4; margin: 0 0 40px; color: #6F6F6F; grid-column: 1 / -1; }
.trb-steps [aria-current] { color: #111; text-decoration: underline; text-underline-offset: 8px; }
.woocommerce-cart .entry-content > .woocommerce { display: grid; grid-template-columns: 7fr 4fr; gap: 0 48px; align-items: start; }
.woocommerce-cart .entry-content > .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .entry-content > .woocommerce > .trb-steps, .woocommerce-cart .wc-empty-cart-message, .woocommerce-cart .return-to-shop { grid-column: 1 / -1; }
.woocommerce-cart table.shop_table.cart { border: 0 !important; border-collapse: collapse; width: 100%; margin: 0 !important; }
.woocommerce-cart table.shop_table.cart thead { display: none; }
.woocommerce-cart table.shop_table.cart tr.cart_item { display: grid; grid-template-columns: 180px 1fr auto; grid-template-areas: "img name sub" "img qty sub" "img rm sub"; gap: 6px 28px; padding: 24px 0; border-bottom: 1px solid #E4E4E4; align-items: start; }
.woocommerce-cart table.shop_table.cart td { border: 0 !important; padding: 0 !important; background: none !important; text-align: left !important; }
.woocommerce-cart td.product-thumbnail { grid-area: img; display: block !important; }
.woocommerce-cart td.product-thumbnail img { width: 180px !important; max-width: none; aspect-ratio: 4 / 5; object-fit: contain; background: #F4F4F4; padding: 8%; box-sizing: border-box; mix-blend-mode: multiply; }
.woocommerce-cart td.product-name { grid-area: name; display: flex !important; flex-direction: column; gap: 8px; }
.trb-bag-name, .trb-bag-name a { font-size: 22px; color: #111; text-decoration: none; }
.trb-bag-mto { margin-top: 6px; }
.woocommerce-cart td.product-price { display: none !important; }
.woocommerce-cart td.product-quantity { grid-area: qty; }
.woocommerce-cart td.product-quantity .qty { width: 64px; height: 36px; border: 1px solid #E4E4E4; }
.woocommerce-cart td.product-subtotal { grid-area: sub; font-size: 22px; font-weight: 300; }
.woocommerce-cart td.product-remove { grid-area: rm; }
.woocommerce-cart td.product-remove a.remove { width: auto !important; height: auto !important; font-size: 0 !important; color: #6F6F6F !important; background: none !important; border-radius: 0 !important; text-decoration: underline; }
.woocommerce-cart td.product-remove a.remove::after { content: "Remove"; font-family: "DM Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
html[lang^="fr"] .woocommerce-cart td.product-remove a.remove::after { content: "Retirer"; }
.woocommerce-cart td.actions { display: flex !important; justify-content: flex-end; padding-top: 16px !important; }
.woocommerce-cart td.actions .coupon { display: none; }
.woocommerce-cart td.actions .button { background: none !important; color: #6F6F6F !important; font-family: "DM Mono", monospace; font-size: 10.5px; text-transform: uppercase; text-decoration: underline; padding: 0 !important; }
.woocommerce-cart .cart-collaterals { width: auto !important; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 24px; }
.woocommerce-cart .cart-collaterals .cart_totals { float: none !important; width: auto !important; background: #F4F4F4; padding: 28px; }
.woocommerce-cart .cart_totals h2 { font-family: "DM Mono", monospace; font-size: 11px !important; letter-spacing: .04em; text-transform: uppercase; color: #6F6F6F; font-weight: 400 !important; margin: 0 0 16px !important; }
.woocommerce-cart .cart_totals table, .woocommerce-checkout #order_review table { border: 0 !important; font-family: "DM Mono", monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }
.woocommerce-cart .cart_totals table th, .woocommerce-cart .cart_totals table td, .woocommerce-checkout #order_review table th, .woocommerce-checkout #order_review table td { border: 0 !important; border-top: 1px solid #E4E4E4 !important; padding: 10px 0 !important; background: none !important; font-weight: 400 !important; }
.woocommerce-cart .cart_totals table th, .woocommerce-checkout #order_review table th { color: #6F6F6F; }
.woocommerce-cart .cart_totals .order-total th, .woocommerce-checkout #order_review .order-total th { font-family: "Inter Tight", sans-serif; font-size: 15px; text-transform: none; color: #111; letter-spacing: 0; }
.woocommerce-cart .cart_totals .order-total td, .woocommerce-checkout #order_review .order-total td { font-family: "Inter Tight", sans-serif; font-size: 26px; font-weight: 300 !important; text-align: right; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 0 !important; margin-top: 12px; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-checkout #place_order { display: flex !important; align-items: center; justify-content: center; width: 100%; height: 72px; padding: 0 !important; margin: 0 !important; background: #4A3F38 !important; color: #EFEAE3 !important; border-radius: 0 !important; font-family: "DM Mono", monospace !important; font-size: 13px !important; letter-spacing: .22em !important; text-transform: uppercase; font-weight: 400 !important; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover, .woocommerce-checkout #place_order:hover { background: #D8D1C6 !important; color: #4A3F38 !important; }
.trb-bag-more { align-self: center; }
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: 7fr 4fr; gap: 0 48px; align-items: start; }
.woocommerce-checkout form.checkout > #customer_details { grid-column: 1; grid-row: 1 / span 3; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: 100% !important; float: none !important; }
.woocommerce-checkout #order_review_heading { grid-column: 2; margin: 0 !important; padding: 28px 28px 0; background: #F4F4F4; font-family: "DM Mono", monospace; font-size: 11px !important; font-weight: 400 !important; letter-spacing: .04em; text-transform: uppercase; color: #6F6F6F; }
.woocommerce-checkout #order_review { grid-column: 2; background: #F4F4F4; padding: 16px 28px 28px; }
.woocommerce-checkout .woocommerce-billing-fields h3, .woocommerce-checkout .woocommerce-additional-fields h3 { font-size: 22px !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; }
.woocommerce-checkout .input-text, .woocommerce-checkout select, .woocommerce-checkout .select2-selection { height: 46px; border: 1px solid #E4E4E4 !important; border-radius: 0 !important; padding: 0 16px !important; font-size: 13px; }
.woocommerce-checkout textarea.input-text { height: auto; padding: 12px 16px !important; }
.woocommerce-checkout #payment { background: #fff !important; border-radius: 0 !important; }
@media (max-width: 900px) {
	.woocommerce-cart .trb-shop-page, .woocommerce-checkout .trb-shop-page { padding: 24px 16px 0 !important; }
	.woocommerce-cart .entry-content > .woocommerce, .woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
	.woocommerce-checkout form.checkout > *, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 1 !important; grid-row: auto !important; }
	.woocommerce-cart table.shop_table.cart tr.cart_item { grid-template-columns: 96px 1fr; grid-template-areas: "img name" "img sub" "img qty" "img rm"; gap: 6px 16px; }
	.woocommerce-cart td.product-thumbnail img { width: 96px !important; }
	.trb-bag-name, .trb-bag-name a { font-size: 17px; }
	.woocommerce-cart td.product-subtotal { font-size: 17px; }
	.woocommerce-cart .cart-collaterals { position: static; margin-top: 32px; }
}
.trb-steps, .trb-bag-crumb, .trb-bag-var, .trb-bag-mto, .trb-bag-more { font-family: "DM Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.trb-bag-var { color: #6F6F6F; }
.trb-bag-crumb a { color: inherit; text-decoration: none; }
.trb-bag-crumb { color: #6F6F6F; }
.woocommerce-cart .trb-shop-page > *, .woocommerce-checkout .trb-shop-page > *, .woocommerce-cart .entry-content > *, .woocommerce-checkout .entry-content > * { max-width: none !important; }
.woocommerce-cart table.shop_table_responsive tr td::before, .woocommerce-checkout table.shop_table_responsive tr td::before { display: none !important; }
.woocommerce-checkout #order_review table { width: 100%; }
.woocommerce-checkout #order_review .trb-bag-name { font-size: 15px; font-family: "Inter Tight", sans-serif; text-transform: none; letter-spacing: 0; display: block; }
.woocommerce-checkout #order_review .trb-bag-var { display: block; margin-top: 4px; }
@media (max-width: 768px) {
	.woocommerce-cart .cart_totals table tr th { display: table-cell !important; }
	.woocommerce-cart .cart_totals table tr td { text-align: right !important; }
}
.woocommerce-cart td.product-thumbnail a { display: block; width: 180px; background: #F4F4F4; }
.woocommerce-cart td.product-thumbnail img { background: transparent !important; }
@media (max-width: 900px) { .woocommerce-cart td.product-thumbnail a { width: 96px; } }
@media (max-width: 768px) {
	.woocommerce-cart .cart_totals table, .woocommerce-cart .cart_totals tbody { display: table !important; width: 100%; }
	.woocommerce-cart .cart_totals table tr { display: table-row !important; }
	.woocommerce-cart .cart_totals table tr th, .woocommerce-cart .cart_totals table tr td { display: table-cell !important; }
	.trb-steps { gap: 10px 20px; }
}
.trb-pp-pick.is-one { grid-template-columns: 1fr; }

/* home "New in" as the mockup (HomeG) */
.trb-newin { margin-top: 112px; overflow: visible; }
.trb-newin-head { padding: 0 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.trb-newin-head h2 { margin: 0; font-size: 44px; }
.trb-newin-nav { display: flex; align-items: flex-end; gap: 24px; }
.trb-newin-nav .lab { white-space: nowrap; padding-bottom: 6px; }
.trb-rail-btns { display: flex; gap: 8px; padding-bottom: 4px; }
.trb-board .trb-rail-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #E4E4E4; display: flex; align-items: center; justify-content: center; }
.trb-board .ico { width: 20px; height: 20px; stroke: #111; fill: none; stroke-width: 1.4; }
.trb-board .rail { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.trb-board .rail::-webkit-scrollbar { display: none; }
.trb-newin-rail { margin-top: 36px; padding: 0 40px; gap: 16px; scroll-padding-left: 40px; }
.trb-ni { flex: 0 0 520px; display: flex; flex-direction: column; gap: 12px; scroll-snap-align: start; }
.trb-ni.is-wide { flex-basis: 920px; }
.trb-ni-img { position: relative; display: block; height: 660px; overflow: hidden; }
.trb-ni-img.is-cut { background: #F4F4F4; }
.trb-ni-meta { display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 900px) {
	.trb-newin { margin-top: 72px; }
	.trb-newin-head { padding: 0 16px; }
	.trb-newin-head h2 { font-size: 30px; }
	.trb-rail-btns { display: none; }
	.trb-newin-rail { margin-top: 24px; padding: 0 16px; gap: 10px; scroll-padding-left: 16px; }
	.trb-ni { flex-basis: 280px; }
	.trb-ni.is-wide { flex-basis: 330px; }
	.trb-ni-img { height: 440px; }
}

/* 0.4.6: no horizontal overflow on small phones (boards were drawn at 390px) */
html { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.trb-board-m [style*="display: grid"] > *, .trb-board-m [style*="display: flex"] > * { min-width: 0; }
.trb-board-m p, .trb-board-m h1, .trb-board-m h2, .trb-board-m h3, .trb-board-m span, .trb-board-m a { overflow-wrap: anywhere; }
.trb-hp { position: absolute !important; left: 0 !important; top: 0 !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap; }
.trb-ni-end { flex: 0 0 1px; }
.trb-newin .trb-ni { flex-shrink: 0; }

/* 0.4.7 — product page: tabs on one line (mockup Labyrinthe #17); the tabs column is at least as wide as its tabs */
.trb-pp-top { grid-template-columns: minmax(0, 7fr) minmax(max-content, 5fr); }
.trb-tabs-nav { flex-wrap: nowrap; white-space: nowrap; gap: 16px; }
.trb-pp-tabs { min-width: 0; }
.trb-pp-tabs .trb-tab { width: 0; min-width: 100%; } /* the text never widens the column, only the tab names do */
@media (max-width: 900px) {
	.trb-pp-top { grid-template-columns: minmax(0, 1fr); }
	.trb-pp-tabs .trb-tab { width: auto; }
	.trb-tabs-nav { overflow-x: auto; scrollbar-width: none; }
	.trb-tabs-nav::-webkit-scrollbar { display: none; }
}

/* 0.4.7 — checkout: payment box in the theme's greys (WooCommerce's default is lilac) */
body.woocommerce-checkout #payment div.payment_box { background: #F4F4F4; color: #111; font-size: 13px; line-height: 1.6; }
body.woocommerce-checkout #payment div.payment_box::before { display: none; }
body.woocommerce-checkout .woocommerce-privacy-policy-text p { font-size: 12px; line-height: 1.6; color: #6F6F6F; }

/* ---------- 0.4.8 (Nich 04/11) ---------- */
/* Mockup heroes drawn for the floating cartouche: now they sit under the 64 px top bar */
.trb-board section[style*="calc(100vh - 32px)"] { height: clamp(640px, calc(100vh - 32px - var(--trb-hh)), 1240px) !important; }

/* New in as the mockup HomeG: room shot in a wide frame, packshot on grey in a narrow one; reference only */
.trb-newin.is-mockup .trb-ni { flex: 0 0 min(520px, 36.2vw); }
.trb-newin.is-mockup .trb-ni.is-wide { flex-basis: min(920px, 64vw); }
.trb-newin.is-mockup .trb-ni-img { height: min(660px, 46vw); }
.trb-newin.is-mockup .trb-ni-img img { transition: transform .8s cubic-bezier(.23, 1, .32, 1); }
.trb-newin.is-mockup .trb-ni:hover .trb-ni-img img { transform: scale(1.025); }
.trb-newin.is-mockup .trb-ni-meta { justify-content: flex-start; }
@media (max-width: 900px) {
	.trb-newin.is-mockup .trb-ni { flex-basis: 62vw; }
	.trb-newin.is-mockup .trb-ni.is-wide { flex-basis: 82vw; }
	.trb-newin.is-mockup .trb-ni-img { height: min(116vw, 480px); }
}

/* Footer newsletter (back, stored in WordPress; inc/newsletter.php) */
.trb-nl-form { display: flex; flex-direction: column; gap: 12px; }
.trb-nl-row { position: relative; }
.trb-nl-form input[type="email"] { width: 100%; box-sizing: border-box; height: 50px; border: 0; border-radius: 0; padding: 0 130px 0 20px; font: inherit; font-size: 12px; color: var(--trb-ink); background: #fff; }
.trb-nl-form button { position: absolute; right: 0; top: 0; height: 50px; padding: 0 22px; }
.trb-nl-form button[disabled] { opacity: .5; cursor: default; }
.trb-nl-legal { margin: 0; font-size: 11px; line-height: 1.6; opacity: .7; text-align: center; }
.trb-nl-legal a { text-decoration: underline; text-underline-offset: 3px; }
.trb-nl-msg { margin: 0; font-size: 13px; min-height: 0; }
.trb-nl-msg:empty { display: none; }
.trb-nl-form.is-done .trb-nl-row, .trb-nl-form.is-done .trb-nl-legal { display: none; }
@media (max-width: 781px) {
	.trb-newsletter { padding-bottom: 48px; }
	.trb-nl-title { font-size: 28px; }
	.trb-nl-form input[type="email"] { padding-right: 112px; }
	.trb-nl-form button { padding: 0 16px; }
	.trb-footer-cols { margin-top: 40px; }
}

/* The Lab on mobile: one compact block for the showroom details */
@media (max-width: 781px) {
	.trb-lab-block .trb-lab-img { margin-top: 24px; }
	.trb-lab-block .trb-lab-img img { height: min(84vw, 340px); }
	.trb-info-strip { grid-template-columns: 1fr; gap: 0; margin-top: 12px; padding: 4px 16px 16px; background: #F4F2EE; border: 0; }
	.trb-info-strip > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(17, 17, 17, .08); font-size: 13px; line-height: 1.45; }
	.trb-info-strip > div .trb-lab2 { font-size: 10px; }
	.trb-info-strip .trb-btn { margin: 14px 0 0; height: 42px; width: 100%; box-sizing: border-box; }
}

/* ---------- 0.4.9 (Nich 04/11, afternoon) ---------- */
/* Header: burger on the left, bigger and bolder TRIBALISTE, no Shop button; the menu still drops down */
.trb-topnav { justify-content: flex-start; }
.trb-topnav .trb-bar { order: 0; }
.trb-topnav .trb-wordmark { order: 1; padding-left: 22px; }
.trb-topnav .trb-menu-panel { order: 2; }
.trb-wordmark a { font-size: 28px; font-weight: 900; letter-spacing: .2em; line-height: 1; }
.trb-menu-toggle { border-left: 0; border-right: 1px solid rgba(17, 17, 17, .14); padding: 0 24px 0 var(--trb-gutter); }
.trb-topnav.is-open .trb-menu-toggle svg path { d: path("M3 1l16 12M11 7h0M3 13l16-12"); }
@media (max-width: 700px) {
	.trb-topnav .trb-wordmark { padding-left: 14px; }
	.trb-wordmark a { font-size: 20px; letter-spacing: .16em; }
	.trb-menu-toggle { padding: 0 16px; }
}

/* Product cards everywhere: reference large and bold, price under it, larger */
.trb-card-ref { font-family: "Inter Tight", system-ui, sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; color: #111; text-transform: none; }
.trb-card .trb-card-meta { gap: 6px; margin-top: 2px; }
.trb-card .trb-card-price { font-size: 16px; line-height: 1.3; }
.trb-card .trb-card-sub { font-size: 12px; }
.trb-ni-meta .trb-card-ref { font-size: 22px; }
.trb-dots { gap: 10px; }
.trb-dot { width: 16px; height: 16px; padding: 0; border: 0; cursor: pointer; transition: box-shadow .15s; }
.trb-dot:hover { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 0 0 2px #fff, 0 0 0 3px #A29E93; }
.trb-dot[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 0 0 2px #fff, 0 0 0 3px #4A3F38; }
.trb-card-img img { transition: opacity .2s; }
/* Artworks: series regular, reference bold, the work larger in its frame, no material line */
.trb-card-art { position: relative; }
.trb-card-art .trb-card-title { font-size: 22px; font-weight: 300; line-height: 1.15; }
.trb-card-art .trb-card-title .trb-card-ref { font-size: inherit; font-weight: 700; }
.trb-card-art .trb-card-price { font-size: 15px; }
.trb-onwall { position: absolute; top: 12px; right: 12px; z-index: 2; height: 32px; padding: 0 14px; font-size: 11px; display: inline-flex; align-items: center; background: #fff; color: #111; border: 1px solid #4A3F38; }
.trb-onwall[aria-pressed="true"] { background: #4A3F38; color: #EFEAE3; }
@media (max-width: 900px) {
	.trb-card-ref, .trb-ni-meta .trb-card-ref { font-size: 17px; }
	.trb-card .trb-card-price { font-size: 14px; }
	.trb-card-art .trb-card-title { font-size: 17px; }
	.trb-card-art .trb-card-price { font-size: 13px; }
	.trb-onwall { top: 8px; right: 8px; height: 28px; padding: 0 9px; font-size: 10px; }
}

/* Product page "Seen to scale" as the mockups ProdG #room / ArtPG #scale: text, upload, send on the left, photo on the right */
.trb-pform.trb-scale { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.trb-scale-main { display: flex; flex-direction: column; gap: 22px; }
.trb-scale-main .trb-pform-text { max-width: 400px; }
.trb-scale-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #F4F4F4; }
.trb-scale.is-art .trb-scale-photo { aspect-ratio: 3 / 2; }
.trb-scale-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trb-scale-file svg, .trb-wall .trb-file svg { stroke: #111; fill: none; stroke-width: 1.3; }
.trb-pform .trb-scale-file, .trb-wall .trb-file { padding: 30px 20px; gap: 8px; }
.trb-wall-w { display: flex; gap: 6px; }
.trb-wall-w .inp { flex: 1; min-width: 0; }
.trb-wall-w .trb-chips { display: flex; gap: 0; height: 46px; }
.trb-wall-w .trb-chips .mbtn { flex: none; padding: 0 12px; border: 1px solid #E4E4E4; }
.trb-wall-w .trb-chips .mbtn + .mbtn { border-left: 0; }
.trb-wall-w .trb-chips .mbtn[aria-pressed="true"] { background: #4A3F38; color: #EFEAE3; border-color: #4A3F38; }
.trb-scale-send { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.trb-scale-send .pilld { min-width: 124px; }
.trb-scale-wa { align-self: flex-start; }
@media (max-width: 900px) {
	.trb-pform.trb-scale { grid-template-columns: 1fr; gap: 24px; }
	.trb-scale-photo { aspect-ratio: 4 / 5; order: 2; }
	.trb-scale.is-art .trb-scale-photo { aspect-ratio: 4 / 3; }
	.trb-pform .trb-f2, .trb-wall .trb-f2 { grid-template-columns: 1fr; }
}

/* Artworks listing: the "Seen to scale" band after the sixth work (mockup ArtG #wall) */
.trb-wall { grid-column: 1 / -1; margin: 24px 0; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); background: #D1CFC5; scroll-margin-top: 24px; }
.trb-wall-photo { position: relative; overflow: hidden; min-height: 620px; }
.trb-wall-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trb-wall-body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 56px 64px; }
.trb-wall-body h3 { margin: 0; font-size: 44px; font-weight: 300; line-height: 1.05; letter-spacing: -.01em; }
.trb-wall-body > p { margin: 0; font-size: 13px; line-height: 1.7; max-width: 400px; }
.trb-wall-form { display: flex; flex-direction: column; gap: 12px; color: #111; }
.trb-wall-form .trb-f { display: flex; flex-direction: column; gap: 6px; }
.trb-wall-form .trb-f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trb-wall-form .trb-file { position: relative; display: flex; flex-direction: column; align-items: center; border: 1px dashed #A29E93; cursor: pointer; text-align: center; font-size: 13px; }
.trb-wall-form .trb-file input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.trb-wall-pick { display: flex; flex-direction: column; gap: 10px; }
.trb-wall-slots { display: flex; gap: 8px; }
.trb-wall-slot { position: relative; flex: none; width: 76px; height: 95px; display: flex; align-items: center; justify-content: center; border: 1px dashed #A29E93; color: #8A867C; font-size: 18px; font-weight: 300; box-sizing: border-box; }
.trb-wall-slot.is-filled { padding: 6px; background: #fff; border: 0; outline: 1.5px solid #4A3F38; outline-offset: -1.5px; cursor: pointer; }
.trb-wall-slot.is-filled img { width: 100%; height: 100%; object-fit: contain; }
.trb-wall-slot.is-filled span { position: absolute; top: 3px; right: 5px; font-size: 13px; line-height: 1; color: #111; }
.trb-wall-help { font-size: 12px; line-height: 1.6; }
.trb-wall-suggest { align-self: flex-start; color: #6F6F6F; text-align: left; }
.trb-wall-suggest[aria-pressed="true"] { color: #111; }
.trb-wall-suggest[aria-pressed="true"]::before { content: "✓ "; }
@media (max-width: 900px) {
	.trb-wall { grid-template-columns: 1fr; margin: 8px 0; }
	.trb-wall-photo { min-height: 0; aspect-ratio: 4 / 3; }
	.trb-wall-body { padding: 32px 20px; }
	.trb-wall-body h3 { font-size: 30px; }
}

/* Collection pages: photo banner at the top */
.trb-coll-banner { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: clamp(460px, calc(100vh - 32px - var(--trb-hh) - 120px), 680px); overflow: hidden; color: #fff; background: #4A3F38; }
.trb-coll-banner.is-1 { grid-template-columns: 1fr; }
.trb-coll-banner-img { position: relative; overflow: hidden; }
.trb-coll-banner-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trb-coll-banner-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,.5) 100%); pointer-events: none; }
.trb-coll-banner-text { position: absolute; left: var(--trb-gutter); right: var(--trb-gutter); bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.trb-coll-banner-text > * { margin: 0 !important; }
.trb-coll-banner-text, .trb-coll-banner-text a, .trb-coll-banner-text .woocommerce-breadcrumb { color: #fff !important; }
.trb-coll-banner-text .trb-shop-title { font-size: clamp(48px, 7vw, 112px) !important; color: #fff; }
.trb-shop-head.is-under-banner { padding-top: 32px; }
.trb-shop-head.is-under-banner:not(:has(.trb-shop-intro:not(:empty))) { display: none; }
@media (max-width: 900px) {
	.trb-coll-banner { grid-template-columns: 1fr; height: min(118vw, 520px); }
	.trb-coll-banner-img + .trb-coll-banner-img { display: none; }
	.trb-coll-banner-text { bottom: 24px; gap: 10px; }
	.trb-shop-head.is-under-banner { padding-top: 20px; }
}
.trb-board .trb-dots .trb-dot, .trb-dots .trb-dot { background-color: #E4E4E4; background-position: center; background-size: 260%; background-repeat: no-repeat; border-radius: 50%; }
.trb-board .trb-onwall { background: #fff; color: #111; border: 1px solid #4A3F38; padding: 0 14px; }
.trb-board .trb-onwall[aria-pressed="true"] { background: #4A3F38; color: #EFEAE3; }
.trb-wall-slot.is-filled em { font-style: normal; font-size: 10px; line-height: 1.2; text-align: center; color: #111; padding: 0 4px; }
@media (max-width: 900px) { .trb-board .trb-onwall { padding: 0 9px; } }
.trb-card .trb-card-meta { text-align: left; align-items: flex-start; }
@media (max-width: 900px) { .trb-wall-form .trb-f2, .trb-pform.trb-scale .trb-f2 { grid-template-columns: 1fr; } }

/* ---------- 0.4.10 (Nich 04/11, round 3) ---------- */
/* Header, right side: EN / FR, cm / ft, search, bag (thin line icons, like the type) */
.trb-nav-tools { order: 3; margin-left: auto; display: flex; align-items: center; gap: 22px; padding: 0 var(--trb-gutter) 0 20px; font-family: var(--trb-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.trb-switch { display: inline-flex; align-items: center; gap: 0; border: 1px solid rgba(17, 17, 17, .22); height: 28px; }
.trb-switch > * { display: inline-flex; align-items: center; height: 100%; padding: 0 9px; background: none; border: 0; font: inherit; color: var(--trb-brown); cursor: pointer; text-transform: inherit; letter-spacing: inherit; }
.trb-switch > [aria-current="true"], .trb-switch > [aria-pressed="true"] { background: #4A3F38; color: #EFEAE3; cursor: default; }
.trb-switch > a:hover, .trb-switch > button[aria-pressed="false"]:hover { background: rgba(17, 17, 17, .06); }
.trb-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; background: none; border: 0; color: var(--trb-ink); cursor: pointer; }
.trb-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.trb-icon:hover { opacity: .6; }
.trb-bag-dot { position: absolute; top: 5px; right: 3px; width: 7px; height: 7px; border-radius: 50%; background: #4A3F38; }
.trb-bag-dot[hidden] { display: none; }
/* the search field opens inside the bar */
.trb-search { order: 4; position: absolute; top: 0; bottom: 0; right: 0; left: calc(var(--trb-hh) + 280px); z-index: 2; display: flex; align-items: center; gap: 14px; padding: 0 var(--trb-gutter) 0 24px; background: var(--trb-taupe, #D1CFC5); border-left: 1px solid rgba(17, 17, 17, .14); }
.trb-search[hidden] { display: none; }
.trb-search > svg { flex: none; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.trb-search input[type="search"] { flex: 1; min-width: 0; height: 40px; border: 0; border-bottom: 1px solid rgba(17, 17, 17, .4); border-radius: 0; background: transparent; font: inherit; font-size: 17px; color: var(--trb-ink); padding: 0 2px; outline: none; -webkit-appearance: none; appearance: none; }
.trb-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.trb-search input[type="search"]:focus { border-bottom-color: var(--trb-ink); }
@media (max-width: 1100px) { .trb-search { left: calc(var(--trb-hh) + 230px); } }
@media (max-width: 700px) {
	.trb-nav-tools { gap: 4px; padding: 0 8px 0 0; }
	.trb-nav-tools .trb-switch { display: none; } /* EN / FR and cm / ft sit in the menu panel on phones */
	.trb-icon { width: 40px; height: 40px; }
	.trb-search { left: 0; padding: 0 8px 0 16px; border-left: 0; }
	.trb-search input[type="search"] { font-size: 16px; }
}
.trb-menu-utils .trb-switch { height: 26px; }
@media (min-width: 701px) { .trb-menu-utils .trb-m-only { display: none; } }

/* Search results page */
.trb-search-wrap { padding: clamp(40px, 5vw, 64px) var(--trb-gutter) 0; }
.trb-search-head { padding: 0 !important; display: flex; flex-direction: column; gap: 16px; }
.trb-search-head > * { margin: 0 !important; }
.trb-search-page { display: flex; gap: 10px; max-width: 640px; margin-top: 8px !important; }
.trb-search-page .inp { flex: 1; min-width: 0; }
.trb-search-wrap .trb-listing { padding: 0; margin-top: 56px; }
.trb-search-wrap h2.lab2 { margin: 0 0 20px; font-weight: 400; }
.trb-search-pages { margin-top: 64px; }
.trb-search-pages ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trb-line); }
.trb-search-pages a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--trb-line); font-size: 18px; font-weight: 300; }
.trb-search-pages a:hover { opacity: .6; }
.trb-search-none { margin-top: 40px !important; max-width: 560px; font-size: 14px; line-height: 1.7; }

/* Text CTAs now in a frame, the same family as the other buttons */
a.lab.ul, .trb-lab.trb-ul a, a.trb-cta-box {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
	width: max-content; max-width: 100%; box-sizing: border-box;
	height: 38px; padding: 0 18px !important; border: 1px solid currentColor;
	text-decoration: none !important; white-space: nowrap; line-height: 1;
	transition: background .2s, color .2s, border-color .2s;
}
a.lab.ul:hover, .trb-lab.trb-ul a:hover, a.trb-cta-box:hover { background: #D8D1C6; color: #4A3F38 !important; border-color: #D8D1C6; opacity: 1 !important; }
.trb-cta-box svg path { stroke: currentColor; }
@media (max-width: 900px) { a.lab.ul, .trb-lab.trb-ul a, a.trb-cta-box { height: 36px; padding: 0 14px !important; } }

/* Product page "Seen to scale": the text part on the site's beige, next to the photo */
.trb-pform.trb-scale { gap: 0; align-items: stretch; }
.trb-scale-main { background: var(--trb-taupe, #D1CFC5); padding: 56px clamp(28px, 4.4vw, 64px); justify-content: center; }
.trb-scale-main .trb-file { border-color: #A29E93 !important; }
.trb-scale-photo { aspect-ratio: auto; min-height: 560px; }
.trb-scale.is-art .trb-scale-photo { aspect-ratio: auto; }
@media (max-width: 900px) {
	.trb-pform.trb-scale { margin-inline: calc(-1 * var(--trb-gutter)); }
	.trb-scale-main { padding: 32px 20px; }
	.trb-scale-photo, .trb-scale.is-art .trb-scale-photo { min-height: 0; aspect-ratio: 4 / 3; }
}

/* Rug listings: the band after the ninth piece (mockup ColG) */
.trb-lband { grid-column: 1 / -1; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; background: #D1CFC5; }
.trb-lband-photo { position: relative; overflow: hidden; min-height: 520px; }
.trb-lband-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trb-lband-body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 64px 72px; }
.trb-lband-body h3 { margin: 0; font-size: 38px; font-weight: 400; line-height: 1.1; max-width: 420px; letter-spacing: -.01em; }
.trb-lband-body p { margin: 0; font-size: 13px; line-height: 1.7; max-width: 400px; }
.trb-lband-body .pilld { align-self: flex-start; margin-top: 8px; }
@media (max-width: 900px) {
	.trb-lband { grid-template-columns: 1fr; margin: 8px 0; }
	.trb-lband-photo { min-height: 0; aspect-ratio: 4 / 3; }
	.trb-lband-body { padding: 32px 20px; }
	.trb-lband-body h3 { font-size: 28px; }
}

/* Product cards: no sub line any more */
.trb-card-sub { display: none; }

/* Mobile: no "View the collection" under the related pieces */
@media (max-width: 900px) { a.lab.ul.trb-related2-more { display: none !important; } }

/* "What makes a Tribaliste piece": Discover in each block; sideways on mobile */
.trb-board .trb-cta-box { margin-top: 6px; color: #111; }
.trb-mrail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; scroll-padding-left: 16px; }
.trb-mrail::-webkit-scrollbar { display: none; }
.trb-mrail > * { flex: 0 0 82%; scroll-snap-align: start; min-width: 0; }
.trb-search-page input[type="search"] { flex: 1; min-width: 0; box-sizing: border-box; height: 46px; border: 1px solid #E4E4E4; border-radius: 0; background: #fff; font: inherit; font-size: 13px; color: #111; padding: 0 20px; }
.trb-search-page button { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 26px; border: 0; border-radius: 0; background: #4A3F38; color: #EFEAE3; font-family: var(--trb-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.trb-search-page button:hover { background: #D8D1C6; color: #4A3F38; }

/* 0.4.12 — size buttons all exactly the same size (Nich 04/11): equal grid cells, Custom size included */
.trb-szs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 44px; gap: 8px; }
.trb-board .trb-szs .trb-sz { width: 100%; height: 100%; min-width: 0; padding: 0 4px; display: flex; align-items: center; justify-content: center; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; }
@container (max-width: 300px) { .trb-szs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trb-pp-sizes { container-type: inline-size; }
html[data-unit="cm"] .trb-board .trb-szs .trb-sz { font-size: 10px; letter-spacing: 0; }

/* 0.4.13 (Nich 04/11) — product panel: the buy block follows the text instead of being pushed to the bottom of the screen,
   so Add to bag and See it in your room are visible on a laptop; no line under the buttons; colour swatches centred */
.trb-pp-panel { min-height: 0; justify-content: flex-start; gap: clamp(28px, 4vh, 44px); padding-bottom: 40px; }
.trb-board .trb-sw img { position: absolute; inset: 0; width: 100%; height: 100%; box-sizing: border-box; padding: 6px !important; object-fit: contain !important; object-position: 50% 50%; }
@media (min-width: 901px) {
	.trb-pp-panel { padding-top: 20px; gap: clamp(24px, 3vh, 36px); }
	.trb-board .trb-buy { min-height: 88px; }
	.trb-room-btn { height: 56px; }
	.trb-szs { grid-auto-rows: 40px; }
	.trb-board .trb-sw { width: 56px; height: 56px; }
}

/* Size lists by unit: ft = US standard sizes, cm = French standard sizes (variations or on quote) */
html[data-unit="cm"] .trb-szs .trb-sz.is-ft, html:not([data-unit="cm"]) .trb-szs .trb-sz.is-cm { display: none !important; }
/* equal size blocks, whatever other rule applies */
.trb-board .trb-pp-sizes .trb-szs { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-auto-rows: 40px; gap: 8px; flex-wrap: initial; }
.trb-board .trb-pp-sizes .trb-szs > .trb-sz { flex: none !important; width: 100% !important; min-width: 0 !important; max-width: none !important; height: 100% !important; margin: 0 !important; padding: 0 4px !important; }
@container (max-width: 300px) { .trb-board .trb-pp-sizes .trb-szs { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 900px) { .trb-board .trb-pp-sizes .trb-szs { grid-auto-rows: 44px; } }
.trb-board .trb-sz.trb-sz-quote { background: #E6E3DC; }
.trb-board .trb-sz.trb-sz-quote[aria-pressed="true"] { background: #4A3F38; }

/* Size guide link with a tape icon, opens a popin */
.trb-sg-link { display: inline-flex; align-items: center; gap: 8px; height: 26px; margin: -4px 0; padding: 0 12px; border: 1px solid #A29E93; color: #111; text-decoration: none !important; transition: background .2s, border-color .2s; }
.trb-sg-link:hover { background: #D8D1C6; border-color: #D8D1C6; }
.trb-sg-ico { width: 24px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
.trb-sg-dialog { width: min(1240px, calc(100vw - 48px)); max-width: none; max-height: calc(100vh - 48px); padding: 0; border: 0; background: #fff; overflow: auto; overscroll-behavior: contain; }
.trb-sg-dialog::backdrop { background: rgba(42, 35, 31, .55); }
.trb-sg-dialog[open] { animation: trb-fade .25s ease; }
.trb-sg-close { position: sticky; top: 12px; display: flex; margin: 12px 12px -56px auto; z-index: 5; width: 44px; height: 44px; background: #fff; border: 1px solid #E4E4E4; }
.trb-sg-body { padding-bottom: 40px; }
.trb-sg-body .trb-board section:first-child { margin-top: 24px !important; }
.trb-sg-body [style*="position: sticky"] { position: static !important; }
html.trb-noscroll { overflow: hidden; }
@media (max-width: 700px) { .trb-sg-dialog { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; } }
.trb-board .trb-sg-unit[aria-pressed="true"] { background: #4A3F38 !important; color: #EFEAE3 !important; border-color: #4A3F38 !important; }
.trb-board .trb-sg-unit[aria-pressed="false"] { background: transparent !important; color: #111 !important; }

/* CTAs uniform across the site: brown, the same family (Nich 04/11) */
.trb-board .pill, .trb-board .pillf, .wp-block-button__link, .is-style-light .wp-block-button__link, .is-style-ghost .wp-block-button__link,
a.lab.ul, .trb-lab.trb-ul a, a.trb-cta-box, .trb-btn {
	background: #4A3F38 !important; color: #EFEAE3 !important; border: 1px solid #4A3F38 !important;
}
.trb-board .pill:hover, .trb-board .pillf:hover, .wp-block-button__link:hover, a.lab.ul:hover, .trb-lab.trb-ul a:hover, a.trb-cta-box:hover, .trb-btn:hover {
	background: #D8D1C6 !important; color: #4A3F38 !important; border-color: #D8D1C6 !important;
}
.trb-cta-box svg path { stroke: currentColor !important; }

/* They trusted us: on the beige band, logos in equal cells, nothing floating */
.trb-board .trb-trusted { margin-left: var(--trb-gutter) !important; margin-right: var(--trb-gutter) !important; padding: 64px 40px 56px !important; background: #D1CFC5; gap: 36px !important; }
.trb-board .trb-trusted h2 { margin: 0 !important; }
.trb-board .trb-trusted-logos { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px !important; max-width: 1200px; width: 100%; background: rgba(17, 17, 17, .12); border: 1px solid rgba(17, 17, 17, .12); }
.trb-board .trb-trusted-logos img { width: 100% !important; height: 120px !important; box-sizing: border-box; padding: 26px 22% !important; object-fit: contain; background: #fff; mix-blend-mode: normal !important; }
@media (max-width: 900px) {
	.trb-board .trb-trusted { padding: 40px 16px 32px !important; margin-left: 16px !important; margin-right: 16px !important; }
	.trb-board .trb-trusted-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible !important; }
	.trb-board .trb-trusted-logos img { height: 88px !important; padding: 18px 16% !important; }
}

/* 0.4.14 — rails never trap the vertical scroll: soft snap, horizontal-only overscroll containment */
.trb-board .rail, .trb-newin-rail, .trb-mrail { scroll-snap-type: x proximity; overscroll-behavior-x: contain; overscroll-behavior-y: auto; touch-action: pan-x pan-y; }
.trb-board .trb-newin-rail { scroll-snap-type: none; } /* free scroll: no snap back between the wide and narrow frames */

/* ---------- 0.4.15 (Nich 04/11) ---------- */
/* They trusted us: greige from edge to edge, logos straight on the greige (no frame, no white cell) */
.trb-board .trb-trusted { margin-left: 0 !important; margin-right: 0 !important; padding: 80px var(--trb-gutter) 72px !important; background: #D1CFC5; gap: 44px !important; }
.trb-board .trb-trusted-logos { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 56px !important; align-items: center; max-width: 1240px; width: 100%; background: none !important; border: 0 !important; }
.trb-board .trb-trusted-logos img { width: 100% !important; height: 64px !important; padding: 0 !important; object-fit: contain; background: none !important; mix-blend-mode: multiply !important; }
@media (max-width: 900px) {
	.trb-board .trb-trusted { margin-left: 0 !important; margin-right: 0 !important; padding: 48px 16px 40px !important; gap: 28px !important; }
	.trb-board .trb-trusted-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px !important; }
	.trb-board .trb-trusted-logos img { height: 48px !important; padding: 0 !important; }
}

/* Designed by Tribaliste in Marrakesh: photo left, text right, a lot of air (reference: The Rug Company) */
.trb-designed { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 120px); align-items: center; padding: clamp(72px, 8vw, 120px) clamp(24px, 10vw, 160px); background: #F6F4F1; }
.trb-designed-photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #EDEAE4; }
.trb-designed-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.trb-designed-text { display: flex; flex-direction: column; max-width: 470px; }
.trb-designed-text > * { margin: 0; }
.trb-designed-over { font-size: 18px; font-weight: 300; line-height: 1.3; color: #111; }
.trb-designed-title { margin-top: 6px !important; font-size: clamp(32px, 3vw, 44px) !important; font-weight: 300 !important; line-height: 1.1 !important; letter-spacing: -.01em !important; text-transform: none !important; color: #111; }
.trb-designed-lab { margin-top: 18px !important; }
.trb-designed-body { margin-top: 36px !important; font-size: 14px; line-height: 1.85; color: #333; }
@media (max-width: 900px) {
	.trb-designed { grid-template-columns: 1fr; gap: 32px; padding: 48px 16px 56px; }
	.trb-designed-photo { aspect-ratio: 4 / 3; }
	.trb-designed-body { margin-top: 24px !important; }
}

/* Rug buy block: three CTAs — Add to bag, then See it in your room and Custom size side by side */
.trb-buy-more { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trb-buy-more .trb-room-btn { width: 100%; }
@media (max-width: 380px) { .trb-buy-more { grid-template-columns: 1fr; } }

/* "This design, in your size": always visible above the related pieces, photo + beige panel like Seen to scale */
.trb-pforms.is-custom { margin-top: var(--trb-section); }
.trb-pform.trb-scale.is-custom { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); scroll-margin-top: 120px; }
.trb-pform.trb-scale.is-custom .trb-scale-photo { min-height: 640px; }
.trb-pform.trb-scale.is-custom .trb-scale-main { padding: 56px clamp(28px, 4.4vw, 64px); }
.trb-pform.trb-scale.is-custom .trb-pform-text { max-width: 520px; }
.trb-pform.trb-scale.is-custom form { gap: 14px; }
.trb-pform.trb-scale.is-custom .trb-chips .mbtn { border-color: #A29E93; background: #fff; }
.trb-pform.trb-scale.is-custom .trb-chips .mbtn[aria-pressed="true"] { background: #4A3F38; color: #EFEAE3; border-color: #4A3F38; }
.trb-pform.trb-scale.is-custom .trb-file { background: rgba(255, 255, 255, .35); }
.trb-pform.trb-scale.is-custom p.lab2 { margin-top: 2px; }
@media (max-width: 900px) {
	.trb-pform.trb-scale.is-custom { grid-template-columns: 1fr; }
	.trb-pform.trb-scale.is-custom .trb-scale-photo { order: 0; min-height: 0; aspect-ratio: 4 / 3; }
	.trb-pform.trb-scale.is-custom .trb-scale-main { padding: 32px 20px; }
}

/* ---------- 0.4.16 (Nich 04/11) ---------- */
/* 1 — rug buy block: air between the description + tabs and the choices; Size guide on its own row, above the sizes */
.trb-pp:not(.trb-pp-art) .trb-pp-buy { margin-top: clamp(40px, 5vw, 72px); }
.trb-pp:not(.trb-pp-art) .trb-pp-pick { margin-bottom: 18px; }
.trb-pp-sizes { gap: 12px; }
.trb-sg-link.is-row { align-self: flex-start; height: 34px; margin: 0; padding: 0 14px; gap: 10px; background: #fff; }
.trb-sg-link.is-row:hover { background: #D8D1C6; border-color: #D8D1C6; }
.trb-sg-link .trb-sg-ico { flex: none; }
/* 12 — a rug without metric variation yet (fallback): its sizes stay listed in both units, nothing greyed */
html .trb-board .trb-szs .trb-sz.is-ft.is-cm { display: flex !important; }

/* 2 — "This design, in your size": compact form, lower photo */
.trb-pform.trb-scale.is-custom .trb-scale-photo { min-height: 0; }
.trb-pform.trb-scale.is-custom .trb-scale-main { padding: 40px clamp(24px, 4vw, 56px); gap: 18px; }
.trb-pform.trb-scale.is-custom .trb-pform-text { gap: 10px; }
.trb-pform.trb-scale.is-custom .trb-pform-text h2 { font-size: clamp(26px, 2.4vw, 36px); }
.trb-pform.trb-scale.is-custom form { gap: 10px; }
.trb-pform.trb-scale.is-custom .trb-f { gap: 4px; }
.trb-pform.trb-scale.is-custom .inp, .trb-pform.trb-scale.is-custom .trb-chips { height: 42px; }
.trb-pform.trb-scale.is-custom .trb-f2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.trb-pform.trb-scale.is-custom .trb-f3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.trb-pform.trb-scale.is-custom textarea.inp { height: 64px; min-height: 64px; padding: 10px 16px; }
.trb-pform.trb-scale.is-custom .trb-file { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 4px 12px; padding: 12px 16px; }
.trb-pform.trb-scale.is-custom .trb-submit { height: 48px; }
@media (max-width: 900px) {
	.trb-pform.trb-scale.is-custom .trb-scale-photo { aspect-ratio: 16 / 9; }
	.trb-pform.trb-scale.is-custom .trb-scale-main { padding: 28px 16px 32px; }
}

/* 6 — "Seen to scale, before you decide" (artworks listing) and "Seen to scale" (artwork page): compact */
.trb-wall-photo { min-height: 0; }
.trb-wall-body { gap: 12px; padding: 40px clamp(24px, 4vw, 56px); }
.trb-wall-body h3 { font-size: clamp(28px, 2.6vw, 36px); }
.trb-wall-form { gap: 10px; }
.trb-wall-pick { gap: 8px; }
.trb-wall-slot { width: 56px; height: 70px; font-size: 16px; }
.trb-wall-form .trb-file, .trb-pform.trb-scale.is-art .trb-scale-file { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 4px 12px; padding: 12px 16px; }
.trb-wall-form .trb-file svg, .trb-pform.trb-scale.is-art .trb-scale-file svg { width: 20px; height: 20px; }
.trb-wall-form .inp, .trb-wall-w .trb-chips, .trb-pform.trb-scale.is-art .inp { height: 42px; }
.trb-pform.trb-scale.is-art .trb-scale-photo { min-height: 0; }
.trb-pform.trb-scale.is-art .trb-scale-main { padding: 40px clamp(24px, 4vw, 56px); gap: 16px; }
.trb-pform.trb-scale.is-art form { gap: 10px; }
@media (max-width: 900px) {
	.trb-wall-photo, .trb-pform.trb-scale.is-art .trb-scale-photo { aspect-ratio: 16 / 9; }
	.trb-wall-body, .trb-pform.trb-scale.is-art .trb-scale-main { padding: 28px 16px 32px; }
	.trb-wall-body h3 { font-size: 26px; }
}

/* 7 — artwork page: air between the description and the price / Add to bag block */
.trb-pp-art .trb-pp-buy { margin-top: clamp(32px, 4vw, 56px); }
/* 8 — Hanging system link, like Size guide; its section clears the header */
.trb-hang-link { margin-bottom: 6px !important; }
.trb-hang-link .trb-sg-ico { stroke-linejoin: round; }
.trb-hang { scroll-margin-top: 120px; }
.trb-hang-tech { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.trb-hang-tech p { margin: 0; font-size: 13px; line-height: 1.7; }
/* 10 — Commission a work: a simple centred button */
.trb-com-btn.is-simple { grid-template-columns: 1fr; justify-items: center; text-align: center; text-decoration: none; }
/* 11 — the artist, like "Designed by Tribaliste in Marrakesh" */
.trb-designed.is-artist { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); margin-top: var(--trb-section, 112px); scroll-margin-top: 120px; }
.trb-designed.is-artist .trb-designed-photo { aspect-ratio: 4 / 5; max-height: 760px; }
.trb-designed.is-artist .trb-designed-photo img { object-position: 50% 40%; }
.trb-artist-link { margin-top: 28px; align-self: flex-start; font-size: 11px; color: #6F6F6F; }
.trb-artist-link mark { text-transform: none; letter-spacing: 0; }
@media (max-width: 900px) {
	.trb-designed.is-artist { grid-template-columns: 1fr; margin-top: 56px; }
	.trb-designed.is-artist .trb-designed-photo { aspect-ratio: 4 / 5; max-height: none; }
}
@media (max-width: 480px) { .trb-buy-more .trb-room-btn { padding: 0 8px; text-align: center; letter-spacing: .12em !important; font-size: 12px !important; } }

/* ---------- 0.4.17 (Nich 04/11) ---------- */
/* They trusted us: a lower band (less padding, title and logos closer) */
.trb-board .trb-trusted { padding: 44px var(--trb-gutter) 40px !important; gap: 24px !important; }
.trb-board .trb-trusted h2 { font-size: clamp(24px, 2.2vw, 32px) !important; }
.trb-board .trb-trusted-logos img { height: 52px !important; }
@media (max-width: 900px) {
	.trb-board .trb-trusted { padding: 32px 16px 28px !important; gap: 20px !important; }
	.trb-board .trb-trusted-logos { gap: 20px 24px !important; }
	.trb-board .trb-trusted-logos img { height: 40px !important; }
}

/* ---------- 0.4.18 (Nich 04/11) ---------- */
/* Hanging system link: on the right, no frame, no fill, simply underlined */
.trb-board .trb-sg-link.trb-hang-link { align-self: flex-end; height: auto; margin: 0 0 6px !important; padding: 4px 0; gap: 10px; background: none !important; border: 0 !important; color: #111; text-decoration: underline !important; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.trb-board .trb-sg-link.trb-hang-link:hover { background: none !important; color: #4A3F38; }
/* Artwork: Dimensions block, Hanging system link on its right */
.trb-art-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.trb-art-dims { display: flex; flex-direction: column; gap: 10px; }
.trb-art-dims-val { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; height: 40px; min-width: 132px; box-sizing: border-box; padding: 0 18px; background: #4A3F38; color: #EFEAE3; white-space: nowrap; }
.trb-art-dims-val.is-todo { background: none; padding: 0; min-width: 0; height: auto; color: inherit; }
.trb-board .trb-art-head .trb-sg-link.trb-hang-link { margin: 0 !important; }
/* The artist: the photo fills its whole half, edge to edge; a lower section */
.trb-designed.is-artist { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding: 0; align-items: stretch; }
.trb-designed.is-artist .trb-designed-photo { aspect-ratio: auto; height: clamp(420px, 40vw, 580px); max-height: none; }
.trb-designed.is-artist .trb-designed-photo img { object-position: 50% 35%; }
.trb-designed.is-artist .trb-designed-text { align-self: center; padding: 48px clamp(32px, 6vw, 112px); }
.trb-designed.is-artist .trb-designed-title { font-size: clamp(28px, 2.6vw, 38px) !important; }
.trb-designed.is-artist .trb-designed-body { margin-top: 24px !important; }
.trb-designed.is-artist .trb-artist-link { margin-top: 20px; }
@media (max-width: 900px) {
	.trb-designed.is-artist { grid-template-columns: 1fr; gap: 0; padding: 0; }
	.trb-designed.is-artist .trb-designed-photo { height: auto; aspect-ratio: 1 / 1; }
	.trb-designed.is-artist .trb-designed-text { padding: 32px 16px 40px; }
}

/* ---------- 0.4.19 (Nich 04/11) ---------- */
/* Artwork page, Commission a work (brown block): one beige CTA, Start a commission */
.trb-board a.pillf.trb-cta-beige { background: #D1CFC5 !important; color: #4A3F38 !important; border: 0 !important; height: 48px; padding: 0 32px; }
.trb-board a.pillf.trb-cta-beige:hover { background: #EFEAE3 !important; color: #4A3F38 !important; }

/* ---------- 0.4.20 (Nich 04/11) ---------- */
/* Rug cards and New in: centred, the reference (LA#14) in the type of "Park Hyatt" on the home page (Inter Tight 26 / 500),
   the collection under it like "Marrakech · Hotel" (DM Mono 10.5, uppercase, grey), then the price */
.trb-card:not(.trb-card-art) .trb-card-meta, .trb-newin .trb-ni-meta { display: flex; flex-direction: column; align-items: center !important; justify-content: flex-start !important; text-align: center; gap: 2px; }
.trb-card:not(.trb-card-art) .trb-dots { justify-content: center; }
.trb-card:not(.trb-card-art) .trb-card-ref, .trb-newin .trb-ni-meta .trb-card-ref { font-family: "Inter Tight", system-ui, sans-serif; font-size: 26px; font-weight: 500; letter-spacing: 0; line-height: 1.3; color: #111; }
.trb-card-coll { font-family: "DM Mono", ui-monospace, monospace; font-size: 10.5px; font-weight: 400; letter-spacing: .04em; line-height: 1.6; text-transform: uppercase; color: #6F6F6F; }
.trb-card:not(.trb-card-art) .trb-card-price, .trb-newin .trb-ni-meta .trb-card-price { margin-top: 6px; font-size: 15px; line-height: 1.3; color: #111; }
@media (max-width: 900px) {
	.trb-card:not(.trb-card-art) .trb-card-price, .trb-newin .trb-ni-meta .trb-card-price { font-size: 14px; }
}
/* They trusted us on the light beige of the former "Designed by" band; "Designed by Tribaliste in Marrakesh" on white */
.trb-board .trb-trusted { background: #F6F4F1 !important; }
.trb-designed:not(.is-artist) { background: #fff; }
/* rug cards without colour dots keep their reference on the same line as their neighbours */
.trb-card:not(.trb-card-art) > .trb-card-img + .trb-card-meta { margin-top: 40px !important; }
/* Size guide: Room and Furniture buttons work (sizeguide.js); the pressed one is brown */
.trb-board .trb-sg-opt { cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.trb-board .trb-sg-opt[aria-pressed="true"] { background: #4A3F38 !important; color: #EFEAE3 !important; border-color: #4A3F38 !important; }
.trb-board .trb-sg-opt[aria-pressed="false"] { background: transparent !important; color: #111 !important; }
.trb-board .trb-sg-opt[aria-pressed="false"]:hover { background: #D8D1C6 !important; border-color: #D8D1C6 !important; }

/* ---------- 0.4.21 (Nich 04/11) ---------- */
/* Artwork Dimensions: no frame, the size simply written a little larger */
.trb-art-dims-val { height: auto; min-width: 0; padding: 0; background: none; color: #111; font-family: "Inter Tight", system-ui, sans-serif !important; font-size: 22px !important; font-weight: 300; letter-spacing: 0 !important; text-transform: none !important; line-height: 1.2; }
.trb-art-dims { gap: 6px; }
/* Sold work: the brown block leads to Commission a similar work */
.trb-board a.trb-buy.trb-buy-sold-com { text-decoration: none; }
.trb-art-dims-val.is-todo { font-size: 14px !important; }
@media (max-width: 480px) {
	.trb-board a.trb-buy.trb-buy-sold-com { grid-template-columns: 1fr; gap: 12px; padding: 22px 20px; }
	.trb-buy-sold-com .trb-buy-cta { letter-spacing: .16em !important; font-size: 13px !important; }
}

/* ---------- 0.4.22 (Nich 04/11) ---------- */
/* New in: the frames keep the mockup's proportions (in situ 920 × 660, packshot 520 × 660) at every screen width.
   They no longer stop growing at 1440 px: on a large screen they grow with the window, up to 78 % of its height. */
@media (min-width: 901px) {
	.trb-newin.is-mockup { --ni-h: min(46vw, 78vh); }
	.trb-newin.is-mockup .trb-ni { flex-basis: calc(var(--ni-h) * 520 / 660); }
	.trb-newin.is-mockup .trb-ni.is-wide { flex-basis: calc(var(--ni-h) * 920 / 660); }
	.trb-newin.is-mockup .trb-ni-img { height: var(--ni-h); }
}
/* references: a little air on each side of the # (LA # 14 reads LA#14 when copied) */
.trb-ref-hash { display: inline-block; margin: 0 .1em 0 .16em; }
/* Artwork cards: same type as the rug cards, kept on the left: reference (B#16), series / collection in small mono, then the price */
.trb-card-art .trb-card-meta { display: flex; flex-direction: column; align-items: flex-start !important; text-align: left; gap: 2px; }
.trb-card-art .trb-card-ref { font-family: "Inter Tight", system-ui, sans-serif; font-size: 26px !important; font-weight: 500 !important; letter-spacing: 0; line-height: 1.3; color: #111; }
.trb-card-art .trb-card-price { margin-top: 6px; font-size: 15px; line-height: 1.3; color: #111; }
@media (max-width: 900px) { .trb-card-art .trb-card-price { font-size: 14px; } }

/* ---------- 0.4.23 (Nich 04/11): the complete FAQ of the mockup (FaqG / FaqGM) ---------- */
.trb-faqp { padding-bottom: 8px; }
.trb-faqp-head { padding: 32px 40px 0; }
.trb-faqp-crumb { display: flex; gap: 10px; }
.trb-faqp-top { margin-top: 40px; display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.trb-faqp-title { display: flex; flex-direction: column; gap: 12px; }
.trb-faqp-title h1 { margin: 0; font-size: 72px; line-height: 1; }
.trb-faqp-intro { margin: 0; font-size: 14px; line-height: 1.7; max-width: 460px; }
.trb-faqp-mfoot { display: none; }
.trb-faqp-body { margin-top: 48px; padding: 0 40px; display: grid; grid-template-columns: 3fr 9fr; gap: 64px; align-items: start; }
.trb-faqp-side { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 16px; }
body.trb-nav-sticky .trb-faqp-side { top: calc(var(--trb-ab) + var(--trb-hh) + 24px); }
.trb-faqp-search { position: relative; }
.trb-faqp-search svg { position: absolute; left: 18px; top: 15px; width: 16px; height: 16px; stroke: #6F6F6F; fill: none; stroke-width: 1.4; pointer-events: none; }
.trb-faqp-search .inp { padding-left: 44px; padding-right: 110px; background: #fff; }
.trb-faqp-count { position: absolute; right: 18px; top: 0; height: 46px; display: flex; align-items: center; pointer-events: none; }
.trb-faqp-chips { display: flex; flex-direction: column; gap: 2px; }
.trb-board .trb-faqp-chip { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; font-size: 13px; text-align: left; color: #111; transition: background .2s, color .2s; }
.trb-board .trb-faqp-chip span { opacity: .5; font-size: 11px; }
.trb-board .trb-faqp-chip:hover { background: #F4F2EE; }
.trb-board .trb-faqp-chip[aria-pressed="true"] { background: #4A3F38; color: #EFEAE3; }
.trb-faqp-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; border-top: 1px solid #E4E4E4; }
.trb-faqp-lang { display: inline-flex; border: 1px solid #E4E4E4; background: #fff; flex: none; }
.trb-faqp-lang a { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; color: #111; text-decoration: none; }
.trb-faqp-lang a[aria-current="page"] { background: #4A3F38; color: #EFEAE3; }
.trb-faqp-list { margin-top: -56px; min-width: 0; }
.trb-faqp-cat { margin-top: 56px; scroll-margin-top: 32px; }
.trb-faqp-cathead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #111; }
.trb-faqp-cathead h2 { margin: 0; font-size: 26px; line-height: 1.1; }
.trb-faqp .trb-faq { border-bottom: 1px solid #E4E4E4; scroll-margin-top: 32px; }
.trb-faqp .trb-faq > summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 8px 16px; padding: 16px 0; font-size: 15px; line-height: 1.45; }
.trb-faqp .trb-faq > summary::-webkit-details-marker { display: none; }
.trb-faqp .trb-faq > summary::after { content: "+"; margin-left: auto; flex: none; color: #6F6F6F; font-size: 16px; margin-top: 1px; }
.trb-faqp .trb-faq[open] > summary::after { content: "\2212"; }
.trb-faqp .trb-faq-q { margin: 0; font-size: inherit !important; font-weight: 400 !important; line-height: inherit !important; text-transform: none !important; letter-spacing: 0 !important; }
.trb-faq-badge { flex: none; align-self: center; padding: 2px 8px; border: 1px solid #E4E4E4; border-radius: 10px; color: #6F6F6F; font-size: 9px !important; white-space: nowrap; }
.trb-faq-a { padding: 0 0 18px; display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.trb-faq-a p { margin: 0; font-size: 13px; line-height: 1.75; }
.trb-faq-link { align-self: flex-start; }
mark.trb-faq-hl { background: #F3E8CF; color: inherit; border-radius: 2px; padding: 0; }
.trb-faqp-none { margin: 40px 0 0; font-size: 14px; line-height: 1.7; }
.trb-faqp-cta { margin-top: 96px; padding: 0 40px; }
.trb-faqp-cta > div { background: #D1CFC5; padding: 48px 56px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.trb-faqp-cta-t { display: flex; flex-direction: column; gap: 8px; }
.trb-faqp-cta-h { font-size: 28px; font-weight: 300; }
.trb-faqp-cta-t .mut { font-size: 13px; line-height: 1.6; max-width: 520px; }
.trb-faqp-cta-b { display: flex; gap: 12px; flex: none; flex-wrap: wrap; }
.trb-faqp-cta-b .pill { height: 46px; }
@media (max-width: 900px) {
	.trb-faqp-head { padding: 32px 16px 0; }
	.trb-faqp-top { margin-top: 12px; grid-template-columns: 1fr; gap: 12px; }
	.trb-faqp-title h1 { font-size: 36px; line-height: 1.02; }
	.trb-faqp-title .lab { display: none; }
	.trb-faqp-intro { font-size: 13px; max-width: none; }
	.trb-faqp-mfoot { display: block; margin-top: 12px; }
	.trb-faqp-mfoot .trb-faqp-foot { border-top: 0; padding-top: 0; }
	.trb-faqp-dfoot { display: none; }
	.trb-faqp-body { margin-top: 12px; padding: 0; grid-template-columns: minmax(0, 1fr); gap: 0; }
	.trb-faqp-side { top: 0; z-index: 5; background: #fff; padding: 12px 16px; gap: 10px; border-bottom: 1px solid #E4E4E4; }
	body.trb-nav-sticky .trb-faqp-side { top: calc(var(--trb-ab) + var(--trb-hh)); }
	.trb-faqp-chips { flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
	.trb-faqp-chips::-webkit-scrollbar { display: none; }
	.trb-board .trb-faqp-chip { flex: none; height: 34px; padding: 0 14px; border: 1px solid #E4E4E4; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; gap: 8px; }
	.trb-board .trb-faqp-chip[aria-pressed="true"] { border-color: #4A3F38; }
	.trb-faqp-list { padding: 0 16px; margin-top: 0; }
	.trb-faqp-cat { margin-top: 40px; scroll-margin-top: 150px; }
	.trb-faqp-cathead h2 { font-size: 22px; }
	.trb-faqp .trb-faq { scroll-margin-top: 150px; }
	.trb-faqp .trb-faq > summary { padding: 14px 0; font-size: 14px; flex-wrap: wrap; }
	.trb-faqp .trb-faq-q { flex: 1 1 0; min-width: 0; }
	.trb-faq-a { max-width: none; }
	.trb-faqp-cta { margin-top: 56px; padding: 0 16px; }
	.trb-faqp-cta > div { padding: 32px 20px; flex-direction: column; align-items: flex-start; }
	.trb-faqp-cta-h { font-size: 22px; }
}
.trb-faqp-search input[type="search"]::-webkit-search-cancel-button { filter: grayscale(1) brightness(.6); cursor: pointer; }
@media (min-width: 901px) { .trb-faqp-side { max-height: calc(100vh - 64px); overflow-y: auto; scrollbar-width: none; } .trb-faqp-side::-webkit-scrollbar { display: none; } }
/* Projects, "Rugs designed as architecture": its own light beige band, edge to edge, so it no longer floats into the case below */
.trb-board .trb-approach { margin: 96px 0 0 !important; padding: 72px 40px 76px !important; border-top: 0 !important; background: #F6F4F1; }
.trb-board .trb-approach h2 { font-size: 52px !important; }
.trb-board .trb-approach > div:last-child { padding-top: 8px !important; }
@media (max-width: 900px) {
	.trb-board .trb-approach { margin: 56px 0 0 !important; padding: 40px 16px 44px !important; }
	.trb-board .trb-approach h2 { font-size: 30px !important; }
}
/* Designed by Tribaliste in Marrakesh: like The artist, the photo fills its whole half, edge to edge; text beside it */
.trb-designed:not(.is-artist) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding: 0; align-items: stretch; }
.trb-designed:not(.is-artist) .trb-designed-photo { aspect-ratio: auto; height: clamp(420px, 40vw, 580px); }
.trb-designed:not(.is-artist) .trb-designed-photo img { object-position: 50% 50%; }
.trb-designed:not(.is-artist) .trb-designed-text { align-self: center; padding: 48px clamp(32px, 6vw, 112px); }
.trb-designed:not(.is-artist) .trb-designed-title { font-size: clamp(28px, 2.6vw, 38px) !important; }
.trb-designed:not(.is-artist) .trb-designed-body { margin-top: 24px !important; }
@media (max-width: 900px) {
	.trb-designed:not(.is-artist) { grid-template-columns: 1fr; padding: 0; }
	.trb-designed:not(.is-artist) .trb-designed-photo { height: auto; aspect-ratio: 4 / 3; }
	.trb-designed:not(.is-artist) .trb-designed-text { padding: 32px 16px 40px; }
}
/* This design, in your size: Colour, Name, Email or WhatsApp on one row (no Country) */
.trb-pform.trb-scale.is-custom .trb-f3-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 600px) {
	.trb-pform.trb-scale.is-custom .trb-f3-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.trb-pform.trb-scale.is-custom .trb-f3-contact > :first-child { grid-column: 1 / -1; }
}

/* ---------- 0.4.24 (Nich 04/11) ---------- */
/* Size guide plans (popin and pages): only the size in the unit of the toggle, no conversion line under it */
.trb-board [data-sg-size2] { display: none !important; }

/* ---------- 0.4.25 (Nich 04/11): one size range ---------- */
/* lead times by size, in the Made to order tab; the line of the chosen size is in black */
.trb-lead { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.6; color: #6F6F6F; }
.trb-lead li { position: relative; padding-left: 14px; }
.trb-lead li::before { content: "·"; position: absolute; left: 2px; }
.trb-lead li.is-on { color: #111; }
.trb-custom-hint { margin: 0; padding: 10px 14px; background: rgba(255, 255, 255, .55); font-size: 13px; line-height: 1.6; color: #111; }
.trb-custom-hint strong { font-weight: 500; }
.trb-custom-hint .mbtn { margin-left: 4px; color: #4A3F38; }
/* size guide: the European standard size of the use, and the "illustrative" note */
.trb-board .trb-sg-eu { margin: 4px 0 0; font-size: 13px; line-height: 1.6; color: #111; }
.trb-board .trb-sg-note { margin: 0; font-size: 11px; line-height: 1.6; font-style: normal; }
@media (max-width: 480px) { .trb-buy-more .trb-room-btn { letter-spacing: .06em !important; font-size: 11px !important; white-space: nowrap; } }

/* ---------- 0.4.28 (Nich 04/11) ---------- */
/* Header: language, measurements and currency behind one small globe, as a dropdown */
.trb-prefs { position: relative; display: inline-flex; }
.trb-prefs-btn svg { width: 20px; height: 20px; }
.trb-prefs-btn[aria-expanded="true"] { background: rgba(17, 17, 17, .06); }
.trb-prefs-panel { position: absolute; top: calc(100% + 14px); right: -8px; z-index: 60; min-width: 264px; padding: 16px 18px 14px; background: #fff; border: 1px solid #E4E4E4; box-shadow: 0 12px 32px rgba(17, 17, 17, .08); display: flex; flex-direction: column; gap: 12px; text-transform: none; }
.trb-prefs-panel[hidden] { display: none; }
.trb-prefs-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.trb-prefs-k { font-family: var(--trb-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: #6F6F6F; }
.trb-prefs-panel .trb-switch, .trb-menu-prefs .trb-switch { display: inline-flex; text-transform: uppercase; }
.trb-menu-prefs { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 900px) { .trb-nav-tools .trb-prefs { display: none; } } /* on phones the three choices sit in the menu panel */
/* Designed by Tribaliste in Marrakesh: air under They trusted us, the photo keeps its full height but no longer touches the band */
.trb-designed:not(.is-artist) { margin: clamp(48px, 6vw, 88px) var(--trb-gutter, 40px) 0; }
@media (max-width: 900px) { .trb-designed:not(.is-artist) { margin: 40px 0 0; } }
@media (max-width: 900px) { .trb-menu-utils .trb-menu-prefs { display: flex !important; } }
.trb-menu-utils .trb-menu-prefs { flex: 1 0 100%; width: 100%; margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(17, 17, 17, .12); }
/* Swatches page (0.4.28): hero with the design box, three kinds of sample, the box, the request form, The Lab */
.trb-swp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; min-height: clamp(480px, 46vw, 680px); }
.trb-swp-hero-t { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 48px clamp(24px, 5vw, 80px) 56px var(--trb-gutter, 40px); }
.trb-swp-crumb { display: flex; gap: 10px; margin-bottom: 24px; }
.trb-swp-hero-t h1 { margin: 0; font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.trb-swp-lead { margin: 0; max-width: 480px; font-size: 15px; line-height: 1.7; color: #333; }
.trb-swp-hero-t .pilld { align-self: flex-start; margin-top: 8px; }
.trb-swp-hero-p, .trb-swp-kind-p, .trb-swp-box-p { position: relative; overflow: hidden; background: #F4F4F4; }
.trb-swp-kinds { margin-top: var(--trb-section, 112px); padding: 0 var(--trb-gutter, 40px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.trb-swp-kind { display: flex; flex-direction: column; gap: 10px; }
.trb-swp-kind-p { aspect-ratio: 4 / 5; margin-bottom: 10px; }
.trb-swp-kind h2 { margin: 0; font-size: 24px; line-height: 1.1; }
.trb-swp-kind p { margin: 0; font-size: 13px; line-height: 1.7; max-width: 400px; }
.trb-swp-box { margin-top: var(--trb-section, 112px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #F6F4F1; align-items: stretch; }
.trb-swp-box-p { min-height: clamp(420px, 40vw, 600px); }
.trb-swp-box-t { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 56px clamp(24px, 6vw, 112px); }
.trb-swp-box-t h2, .trb-swp-form-t h2 { margin: 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; }
.trb-swp-box-t p { margin: 0; font-size: 13px; line-height: 1.75; max-width: 460px; }
.trb-swp-wise { padding-top: 14px; border-top: 1px solid #E4E4E4; color: #333; }
.trb-swp-wise .lab2 { margin-right: 6px; color: #111; }
.trb-swp-form { margin-top: var(--trb-section, 112px); padding: 0 var(--trb-gutter, 40px); display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; scroll-margin-top: 120px; }
.trb-swp-form-t { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 32px; }
.trb-swp-form-t p { margin: 0; font-size: 13px; line-height: 1.7; max-width: 420px; }
.trb-swp-form form { display: flex; flex-direction: column; gap: 14px; }
.trb-sw-set { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.trb-sw-set legend { padding: 0; margin-bottom: 8px; }
.trb-sw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.trb-sw-chip { position: relative; cursor: pointer; }
.trb-sw-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.trb-sw-chip span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid #A29E93; font-family: var(--trb-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: #111; transition: background .2s, color .2s; }
.trb-sw-chip input:checked + span { background: #4A3F38; border-color: #4A3F38; color: #EFEAE3; }
.trb-sw-chip input:focus-visible + span { outline: 2px solid #111; outline-offset: 2px; }
.trb-swp-form .trb-file { position: relative; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 12px; padding: 14px 16px; border: 1px dashed #A29E93; cursor: pointer; font-size: 13px; }
.trb-swp-form .trb-file input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.trb-swp-form .trb-f { display: flex; flex-direction: column; gap: 6px; }
.trb-swp-form textarea.inp { height: auto; padding: 12px 16px; resize: vertical; }
.trb-swp-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.trb-swp-send { display: flex; flex-direction: column; gap: 8px; }
.trb-swp-form .trb-submit { height: 52px; }
.trb-swp-form .trb-scale-wa { align-self: flex-start; }
.trb-swp-lab { margin: var(--trb-section, 112px) var(--trb-gutter, 40px) 0; background: #D1CFC5; padding: 48px 56px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.trb-swp-lab > div { display: flex; flex-direction: column; gap: 8px; }
.trb-swp-lab-h { font-size: 28px; font-weight: 300; }
.trb-swp-lab .mut { font-size: 13px; line-height: 1.6; max-width: 520px; }
/* reminder on the rug pages */
.trb-sw-remind { align-self: flex-start; margin-top: 4px; }
@media (max-width: 900px) {
	.trb-swp-hero { grid-template-columns: 1fr; min-height: 0; }
	.trb-swp-hero-p { order: -1; aspect-ratio: 4 / 3; }
	.trb-swp-hero-t { padding: 24px 16px 8px; }
	.trb-swp-crumb { margin-bottom: 8px; }
	.trb-swp-kinds { margin-top: 56px; padding: 0 16px; grid-template-columns: 1fr; gap: 40px; }
	.trb-swp-kind-p { aspect-ratio: 4 / 3; }
	.trb-swp-box { margin-top: 56px; grid-template-columns: 1fr; }
	.trb-swp-box-p { min-height: 0; aspect-ratio: 4 / 3; }
	.trb-swp-box-t { padding: 32px 16px 40px; }
	.trb-swp-form { margin-top: 56px; padding: 0 16px; grid-template-columns: 1fr; gap: 24px; }
	.trb-swp-form-t { position: static; }
	.trb-swp-row { grid-template-columns: 1fr; }
	.trb-swp-lab { margin: 56px 16px 0; padding: 32px 20px; flex-direction: column; align-items: flex-start; }
	.trb-swp-lab-h { font-size: 22px; }
}

/* ---------- 0.4.30 ---------- */
/* Menu panel: Search, Account, Bag, Size guide and FAQ are gone; the utility row only carries the phone preferences */
@media (min-width: 901px) { .trb-menu-utils { display: none; } }
.trb-menu-utils .trb-menu-prefs { margin-top: 0; padding-top: 0; border-top: 0; }
/* Account icon, right of the bag */
.trb-account svg { width: 20px; height: 20px; }
/* Currency toggle: the EUR choice is disabled until the studio sets a rate */
.trb-switch > button:disabled { opacity: .4; cursor: not-allowed; }
.trb-switch > button:disabled:hover { background: none; }
/* Editions: cards are links to the product pages */
.trb-ed-card { color: inherit; text-decoration: none; }
.trb-ed-card img { transition: transform .6s cubic-bezier(.23, 1, .32, 1); }
.trb-ed-card:hover img { transform: scale(1.02); }

/* ---------- 0.4.32 (study Interior Designers) ---------- */
/* Collections: technique filter after the collections */
.trb-tech-sep { flex: none; width: 1px; align-self: stretch; background: #E4E4E4; margin: 0 4px; }

/* Trade: six entries for designers */
.trb-dz-entries { margin-top: 112px; padding: 0 40px; }
.trb-dz-entries.is-m { margin-top: 64px; padding: 0 16px; }
.trb-dz-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.trb-dz-head h2 { margin: 0; font-size: 48px; font-weight: 400; line-height: 1.05; }
.trb-dz-entries.is-m .trb-dz-head h2 { font-size: 32px; }
.trb-dz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #E4E4E4; border-left: 1px solid #E4E4E4; }
.trb-dz-entries.is-m .trb-dz-grid { grid-template-columns: 1fr; }
.trb-dz-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 32px; border-right: 1px solid #E4E4E4; border-bottom: 1px solid #E4E4E4; color: inherit; text-decoration: none; transition: background .2s; }
.trb-dz-entries.is-m .trb-dz-card { padding: 20px 16px 22px; }
.trb-dz-card:hover { background: var(--trb-cream); }
.trb-dz-t { font-size: 22px; line-height: 1.15; }
.trb-dz-d { font-size: 13px; line-height: 1.6; max-width: 32ch; }
.trb-dz-go { position: absolute; top: 28px; right: 28px; }
.trb-dz-entries.is-m .trb-dz-go { top: 20px; right: 16px; }

/* Custom page and project pages */
.trb-cu, .trb-case { padding-bottom: 120px; }
.trb-cu section, .trb-case section { padding: 0 var(--trb-gutter, 40px); }
.trb-cu-crumb { display: flex; gap: 8px; margin-bottom: 8px; }
.trb-cu-crumb a { color: inherit; }
.trb-cu-hero, .trb-case-hero { display: flex; flex-direction: column; gap: 16px; padding-top: 48px !important; }
.trb-cu-hero h1, .trb-case-hero h1 { margin: 0; font-size: clamp(40px, 6vw, 88px); font-weight: 400; line-height: 1; max-width: 14ch; }
.trb-cu-hero > p, .trb-case-hero > p { margin: 0; font-size: 15px; line-height: 1.7; max-width: 560px; }
.trb-cu-offers { display: flex; flex-direction: column; gap: 96px; margin-top: 80px; }
.trb-cu-offer { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; scroll-margin-top: 24px; }
.trb-cu-offer:nth-child(2) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.trb-cu-offer:nth-child(2) .trb-cu-photo { order: 2; }
.trb-cu-photo, .trb-cu-cimg, .trb-case-main, .trb-case-img { position: relative; overflow: hidden; background: #F4F4F4; }
.trb-cu-photo { aspect-ratio: 4 / 3; }
.trb-cu-otext { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.trb-cu-otext h2, .trb-cu-shead h2, .trb-case-cta h2 { margin: 0; font-size: 48px; font-weight: 400; line-height: 1.05; }
.trb-cu-line { margin: 0; font-size: 20px; line-height: 1.35; }
.trb-cu-otext > p.mut { margin: 0; font-size: 13px; line-height: 1.7; max-width: 460px; }
.trb-cu-list { margin: 4px 0 10px; padding: 0; list-style: none; display: flex; flex-direction: column; border-top: 1px solid #E4E4E4; width: 100%; max-width: 460px; }
.trb-cu-list li { padding: 10px 0; border-bottom: 1px solid #E4E4E4; font-size: 13px; }
.trb-cu-shead { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; max-width: 720px; }
.trb-cu-shead p { margin: 0; font-size: 13px; line-height: 1.7; }
.trb-cu-steps, .trb-cu-possible, .trb-cu-terms, .trb-cu-proof, .trb-cu-brief { margin-top: 112px; scroll-margin-top: 24px; }
.trb-cu-olist { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; border-top: 1px solid #111; padding-top: 20px !important; }
.trb-cu-olist li { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.6; }
.trb-cu-st { font-size: 18px; line-height: 1.2; }
.trb-cu-dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: 1px solid #E4E4E4; }
.trb-cu-dl > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid #E4E4E4; }
.trb-cu-dl dt { padding-top: 2px; }
.trb-cu-dl dd { margin: 0; font-size: 13px; line-height: 1.6; }
.trb-cu-terms .trb-cu-dl { grid-template-columns: 1fr; max-width: 880px; }
.trb-cu-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.trb-cu-case { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; }
.trb-cu-cimg { aspect-ratio: 4 / 5; margin-bottom: 6px; }
.trb-cu-cname { font-size: 24px; }
.trb-cu-brief .trb-brief { max-width: 880px; }
/* project page */
.trb-case-main { aspect-ratio: 16 / 9; margin-top: 24px; }
.trb-case-facts { margin-top: 48px; }
.trb-case-story { margin-top: 96px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.trb-case-block { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid #111; padding-top: 16px; }
.trb-case-block h2 { margin: 0; font-size: 28px; font-weight: 400; }
.trb-case-block p { margin: 0; font-size: 13px; line-height: 1.7; }
.trb-case-gallery { margin-top: 80px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.trb-case-img { aspect-ratio: 4 / 5; }
.trb-case-cta { margin-top: 112px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.trb-case-cta div { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1100px) {
	.trb-cu-olist { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
	.trb-cu-dl { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.trb-cu section, .trb-case section { padding: 0 16px; }
	.trb-cu-hero, .trb-case-hero { padding-top: 24px !important; }
	.trb-cu-offers { margin-top: 48px; gap: 64px; }
	.trb-cu-offer, .trb-cu-offer:nth-child(2) { grid-template-columns: 1fr; gap: 24px; }
	.trb-cu-offer:nth-child(2) .trb-cu-photo { order: 0; }
	.trb-cu-otext h2, .trb-cu-shead h2, .trb-case-cta h2 { font-size: 32px; }
	.trb-cu-steps, .trb-cu-possible, .trb-cu-terms, .trb-cu-proof, .trb-cu-brief { margin-top: 72px; }
	.trb-cu-olist { grid-template-columns: 1fr; gap: 20px; }
	.trb-cu-dl > div { grid-template-columns: 1fr; gap: 6px; }
	.trb-cu-cases { grid-template-columns: 1fr; }
	.trb-cu-cimg { aspect-ratio: 4 / 3; }
	.trb-case-story { grid-template-columns: 1fr; margin-top: 56px; gap: 28px; }
	.trb-case-gallery { grid-template-columns: 1fr; margin-top: 48px; }
	.trb-case-cta { margin-top: 72px; }
	.trb-tech-sep { display: none; }
}

/* ---------- 0.4.33 Trade page redesign ---------- */
.trb-tp-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 40px; }
.trb-tp-head p { margin: 0; font-size: 15px; line-height: 1.65; max-width: 560px; }
.is-m .trb-tp-head { margin-bottom: 28px; }
.is-m .trb-tp-head p { font-size: 14px; }
/* six benefits: typographic cards on fine lines, 3 / 2 / 1 columns */
.trb-tp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #111; }
.trb-tp-card { display: flex; flex-direction: column; gap: 12px; padding: 32px 32px 36px 0; border-bottom: 1px solid #E4E4E4; min-width: 0; }
.trb-tp-card + .trb-tp-card { padding-left: 32px; border-left: 1px solid #E4E4E4; }
.trb-tp-card:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.trb-tp-title { margin: 0; font-size: 24px; font-weight: 400; line-height: 1.15; text-transform: none; letter-spacing: -.01em; }
.trb-tp-text { margin: 0; font-size: 13px; line-height: 1.7; max-width: 38ch; }
.trb-tp-link { margin-top: auto; padding-top: 10px; align-self: flex-start; }
@media (max-width: 1100px) {
	.trb-tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trb-tp-card:nth-child(3n + 1) { padding-left: 32px; border-left: 1px solid #E4E4E4; }
	.trb-tp-card:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
}
.trb-tp.is-m .trb-tp-grid { grid-template-columns: 1fr; }
.trb-tp.is-m .trb-tp-card, .trb-tp.is-m .trb-tp-card + .trb-tp-card { padding: 24px 0 26px; border-left: 0; }
.trb-tp.is-m .trb-tp-title { font-size: 21px; }
/* selected projects */
.trb-tpj-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.trb-tpj.is-m .trb-tpj-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.trb-tpj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trb-tpj.is-m .trb-tpj-grid { grid-template-columns: 1fr; gap: 32px; }
.trb-tpj-card { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; }
.trb-tpj-img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 8px; background: #F4F4F4; }
.trb-tpj.is-m .trb-tpj-img { aspect-ratio: 4 / 3; }
a.trb-tpj-card .trb-tpj-img img { transition: transform .6s cubic-bezier(.23, 1, .32, 1); }
a.trb-tpj-card:hover .trb-tpj-img img { transform: scale(1.02); }
.trb-tpj-name { font-size: 24px; line-height: 1.1; }
.trb-tpj-go { margin-top: 4px; align-self: flex-start; }
/* start a project */
.trb-tbf-box { background: #D1CFC5; padding: 64px 72px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; scroll-margin-top: 24px; }
.trb-tbf.is-m .trb-tbf-box { grid-template-columns: 1fr; padding: 32px 20px; gap: 24px; }
.trb-tbf-intro { display: flex; flex-direction: column; gap: 14px; }
.trb-tbf-intro p { margin: 0; font-size: 14px; line-height: 1.7; max-width: 380px; }
.trb-tbf-form, .trb-tba-form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.trb-tbf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.trb-tbf-row.is-m { grid-template-columns: 1fr; gap: 16px; }
.trb-tbf-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.trb-tbf-opt { text-transform: none; letter-spacing: 0; }
.trb-tbf .inp { height: 48px; font-size: 14px; }
.trb-tbf .inp:focus-visible, .trb-join .inp:focus-visible { outline: 2px solid #4A3F38; outline-offset: 2px; }
.trb-tbf-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px !important; }
.trb-tbf .inp.trb-tbf-area { height: 132px; padding: 14px 20px; resize: vertical; }
.trb-tbf .inp.trb-tbf-area.is-s { height: 96px; }
.trb-tbf-file { position: relative; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 18px; border: 1px dashed #8E897F; background: rgba(255, 255, 255, .45); cursor: pointer; font-size: 13px; overflow: hidden; }
.trb-tbf-file svg { flex: none; stroke: #111; fill: none; stroke-width: 1.3; }
.trb-tbf-file span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trb-tbf-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.trb-tbf-file:focus-within { outline: 2px solid #4A3F38; outline-offset: 2px; }
.trb-tbf-send { display: flex; justify-content: flex-end; }
.trb-tbf.is-m .trb-tbf-send .pilld { width: 100%; }
.trb-tba-q { font-size: 20px; line-height: 1.2; }
.trb-tba-t { font-size: 13px; line-height: 1.7; }
/* discreet text links of the Trade page (the site's a.lab.ul is a boxed CTA) */
.trb-board .trb-tlink { display: inline-flex; align-items: center; gap: 8px; color: #111; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.trb-board a.trb-tlink::after { content: "→"; text-decoration: none; display: inline-block; transition: transform .2s; }
.trb-board a.trb-tlink:hover::after { transform: translateX(3px); }
.trb-board a.trb-tlink:focus-visible { outline: 2px solid #4A3F38; outline-offset: 3px; }
/* Trade: secondary actions lighter than the primary one */
.trb-board .pill.trb-ghost { cursor: pointer;  background: transparent !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .85) !important; }
.trb-board .pill.trb-ghost:hover { background: #fff !important; color: #111 !important; border-color: #fff !important; }

/* ---------- 0.4.35 Trade (Nich 09/11): lighter services, Trusted by strip, box photo, Join the program side panel ---------- */
/* the six services: photo, the title is the link, one or two lines; no band, no number, no button */
.trb-ts-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.trb-ts.is-m .trb-ts-head { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 32px; }
.trb-ts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
@media (max-width: 1100px) { .trb-ts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trb-ts.is-m .trb-ts-grid { grid-template-columns: 1fr; gap: 36px; }
.trb-ts-card { display: flex; flex-direction: column; min-width: 0; }
.trb-ts-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 18px; background: #F2F0EC; }
.trb-ts-img img { transition: transform .6s cubic-bezier(.23, 1, .32, 1); }
.trb-ts-card:hover .trb-ts-img img { transform: scale(1.025); }
.trb-ts-title { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; text-transform: none; }
.trb-board .trb-ts-title a { color: #111; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.trb-board .trb-ts-title a::after { content: "\2192"; display: inline-block; margin-left: .45em; font-weight: 400; transition: transform .2s; }
.trb-board .trb-ts-card:hover .trb-ts-title a, .trb-board .trb-ts-title a:focus-visible { text-decoration-color: currentColor; }
.trb-board .trb-ts-card:hover .trb-ts-title a::after { transform: translateX(4px); }
.trb-board .trb-ts-title a:focus-visible { outline: 2px solid #4A3F38; outline-offset: 3px; }
.trb-ts-text { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: #6F6F6F; max-width: 38ch; }
.trb-ts.is-m .trb-ts-title { font-size: 19px; }
.trb-board .pill.trb-join-btn { flex: none; cursor: pointer; }
/* Trusted by: a left-aligned strip under the projects, on the same grid (label in the first column) */
.trb-tlogos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; align-items: center; margin-top: 72px; padding-top: 28px; border-top: 1px solid #E4E4E4; }
.trb-tlogos-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.trb-tlogo { display: flex; align-items: center; justify-content: center; min-width: 0; }
.trb-tlogo img { display: block; max-width: 100%; height: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: .8; }
.trb-tpj.is-m .trb-tlogos { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; padding-top: 22px; }
.trb-tpj.is-m .trb-tlogos-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; justify-items: start; }
.trb-tpj.is-m .trb-tlogo { justify-content: flex-start; }
/* start a project: the customisation box photo under the intro */
.trb-tbf-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin-top: auto; background: #E2DCD3; }
.trb-tbf.is-m .trb-tbf-photo { aspect-ratio: 3 / 2; margin-top: 8px; }
.trb-tbj { grid-column: 1 / -1; border-top: 1px solid rgba(17, 17, 17, .25); padding-top: 28px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; gap: 8px 32px; align-items: center; }
.trb-tbf.is-m .trb-tbj { grid-template-columns: 1fr; gap: 10px; }
.trb-tbf.is-m .trb-tbj .trb-join-btn { justify-self: start; margin-top: 6px; }
.trb-board .trb-tbj .pill.trb-join-btn { background: transparent !important; color: #111 !important; border: 1px solid #111 !important; }
.trb-board .trb-tbj .pill.trb-join-btn:hover, .trb-board .trb-tbj .pill.trb-join-btn:focus-visible { background: #4A3F38 !important; color: #EFEAE3 !important; border-color: #4A3F38 !important; }
/* Join the program: side panel from the right (rendered once, outside the boards) */
.trb-join { position: fixed; inset: 0; margin: 0 !important; z-index: 100000; visibility: hidden; pointer-events: none; transition: visibility 0s linear .45s; }
.trb-join.is-open, .trb-join:target { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.trb-join-bg { position: absolute; inset: 0; background: rgba(17, 17, 17, .4); opacity: 0; transition: opacity .35s; cursor: pointer; }
.trb-join.is-open .trb-join-bg, .trb-join:target .trb-join-bg { opacity: 1; }
.trb-board.trb-join-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100vw); box-sizing: border-box; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 24px 40px 48px; display: flex; flex-direction: column; gap: 18px; background: #fff; transform: translateX(100%); transition: transform .45s cubic-bezier(.23, 1, .32, 1); outline: none; box-shadow: -24px 0 60px rgba(17, 17, 17, .08); }
.trb-join.is-open .trb-join-panel, .trb-join:target .trb-join-panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .trb-join, .trb-board.trb-join-panel, .trb-join-bg { transition: none; } }
html.trb-join-lock, html.trb-join-lock body { overflow: hidden; }
.trb-join-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.trb-join-x { width: 40px; height: 40px; margin-right: -10px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; cursor: pointer; }
.trb-join-x:focus-visible { outline: 2px solid #4A3F38; outline-offset: 2px; }
.trb-board .trb-join-h { margin: 0; font-size: 40px; }
.trb-join-p { margin: 0; font-size: 14px; line-height: 1.65; }
.trb-join-perks { list-style: none; margin: 4px 0 10px; padding: 18px 0 0; border-top: 1px solid #E4E4E4; display: grid; gap: 10px; font-size: 13px; }
.trb-join-perks li { display: flex; align-items: center; gap: 12px; }
.trb-join-perks li::before { content: ""; flex: none; width: 5px; height: 5px; background: #4A3F38; }
.trb-join .trb-tba-form { margin: 0; gap: 16px; }
.trb-join .inp { height: 48px; font-size: 14px; }
.trb-join .inp.trb-tbf-area { height: 96px; padding: 14px 20px; resize: vertical; }
.trb-join-send { width: 100%; margin-top: 6px; }
@media (max-width: 480px) { .trb-board.trb-join-panel { padding: 16px 20px 40px; } .trb-board .trb-join-h { font-size: 32px; } .trb-join .trb-tbf-row { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- 0.4.36 Product: "Custom size" side panel (same panel as Join the program on /trade/) ---------- */
.trb-cs-cta { display: flex; }
.trb-board .trb-cs-cta .pilld { width: auto; padding: 0 34px; }
.trb-cs-item { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #E4E4E4; border-bottom: 1px solid #E4E4E4; }
.trb-cs-thumb { position: relative; flex: none; width: 64px; height: 80px; overflow: hidden; background: #F4F4F4; }
.trb-cs-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trb-cs-name { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.trb-board .trb-pform.trb-cs-body { display: block; margin: 0; scroll-margin: 0; }
.trb-cs-body form { gap: 14px; }
.trb-cs-body .trb-f3 { grid-template-columns: 1fr 1fr !important; }
.trb-cs-body .trb-f3 .trb-f:has(.trb-chips) { grid-column: 1 / -1; order: 0; }
.trb-cs-body .trb-f3-contact > .trb-f:first-child { grid-column: 1 / -1; }
.trb-cs-body .trb-chips .mbtn { background: #fff; }
.trb-cs-body .trb-chips .mbtn[aria-pressed="true"] { background: #4A3F38; color: #EFEAE3; border-color: #4A3F38; }
.trb-cs-body .trb-file { padding: 20px; border-color: #A29E93; }
.trb-cs-body .trb-custom-hint { margin: 0; font-size: 13px; line-height: 1.6; }
@media (max-width: 480px) { .trb-cs-body .trb-f3-contact { grid-template-columns: 1fr !important; } }

/* ---------- 0.4.36 Product page: "Custom size" side panel (reuses the Trade side panel, .trb-join) ---------- */
.trb-cs .trb-cs-body.trb-pform { display: block; scroll-margin-top: 0; }
.trb-cs .trb-cs-body form { gap: 14px; }
.trb-cs .trb-f3:not(.trb-f3-contact) { grid-template-columns: 1fr 1fr; }
.trb-cs .trb-f3 .trb-f:has(.trb-chips) { grid-column: 1 / -1; order: 0; }
.trb-cs .trb-f3-contact { grid-template-columns: 1fr 1fr; }
.trb-cs .trb-f3-contact > :first-child { grid-column: 1 / -1; }
.trb-cs .trb-chips .mbtn { border-color: #A29E93; background: #fff; }
.trb-cs .trb-chips .mbtn[aria-pressed="true"] { background: #4A3F38; color: #EFEAE3; border-color: #4A3F38; }
.trb-cs .trb-file { border-color: #A29E93; padding: 20px; }
.trb-cs-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid #E4E4E4; border-bottom: 1px solid #E4E4E4; }
.trb-cs-thumb { flex: none; width: 64px; height: 64px; background: #F2F0EC; overflow: hidden; }
.trb-cs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trb-cs-name { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.trb-cs-cta { display: flex; }
.trb-cs-cta .pilld { width: auto; padding: 0 36px; }
@media (max-width: 480px) { .trb-cs .trb-f3-contact { grid-template-columns: 1fr; } }

/* ---------- 0.4.36 Samples page (/swatches/): two families, 25 colours each, request in a side panel ---------- */
.trb-smp { padding: 0 var(--trb-gutter, 40px); }
.trb-smp-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px 64px; align-items: end; padding: 40px 0 56px; border-bottom: 1px solid #E4E4E4; }
.trb-smp-hero-t { display: flex; flex-direction: column; gap: 18px; }
.trb-smp-hero-t .trb-swp-crumb { margin-bottom: 12px; }
.trb-board .trb-smp-hero h1 { margin: 0; font-size: clamp(48px, 7vw, 112px); }
.trb-smp-lead { margin: 0; font-size: 15px; line-height: 1.65; max-width: 520px; }
.trb-smp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.trb-smp-steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid #111; font-size: 13px; line-height: 1.6; }
.trb-smp-step-h { font-size: 18px; line-height: 1.2; }
.trb-smp-terms { grid-column: 1 / -1; margin: 0; font-size: 12px; }
/* the two entries */
.trb-smp-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.trb-board a.trb-smp-cat { position: relative; display: flex; flex-direction: column; color: #111; text-decoration: none; }
.trb-smp-cat-p { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #F2F0EC; }
.trb-smp-cat-p img { transition: transform .6s cubic-bezier(.23, 1, .32, 1), filter .3s; }
.trb-smp-cat:hover .trb-smp-cat-p img { transform: scale(1.02); }
.trb-smp-js .trb-smp-cat[aria-selected="false"] .trb-smp-cat-p img { filter: saturate(.6) brightness(1.04); opacity: .78; }
.trb-smp-cat-t { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding: 18px 0 16px; border-bottom: 2px solid transparent; }
.trb-smp-cat-t .mut { grid-column: 1; font-size: 13px; }
.trb-smp-cat-h { font-size: 28px; line-height: 1.1; letter-spacing: -.01em; }
.trb-smp-cat-n { grid-column: 2; grid-row: 1; }
.trb-smp-js .trb-smp-cat[aria-selected="true"] .trb-smp-cat-t { border-bottom-color: #111; }
.trb-smp-cat:focus-visible { outline: 2px solid #4A3F38; outline-offset: 4px; }
/* the colours */
.trb-smp-set { margin-top: 56px; scroll-margin-top: 110px; }
.trb-smp-js .trb-smp-set[data-off] { display: none; }
.trb-smp-set-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.trb-board .trb-smp-set-head h2 { margin: 0; font-size: clamp(28px, 3vw, 44px); }
.trb-smp-set-head .mut { font-size: 13px; }
.trb-smp-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 16px; }
.trb-smp-card { position: relative; display: flex; flex-direction: column; gap: 10px; cursor: pointer; min-width: 0; }
.trb-smp-cb { position: absolute; opacity: 0; width: 1px; height: 1px; }
.trb-smp-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #EDEAE4; outline: 1px solid transparent; outline-offset: 4px; transition: outline-color .2s; }
.trb-smp-ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px; color: rgba(17, 17, 17, .45); background: #EDEAE4; }
.trb-smp-tick { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: #fff; opacity: 0; transform: scale(.7); transition: opacity .2s, transform .2s; }
.trb-smp-tick::after { content: ""; position: absolute; left: 9px; top: 6px; width: 6px; height: 11px; border: solid #111; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.trb-smp-cb:checked + .trb-smp-tile { outline-color: #111; }
.trb-smp-cb:checked + .trb-smp-tile .trb-smp-tick { opacity: 1; transform: none; }
.trb-smp-cb:focus-visible + .trb-smp-tile { outline: 2px solid #4A3F38; }
.trb-smp-meta { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.trb-smp-name { font-size: 15px; }
.trb-smp-add { align-self: flex-start; padding-bottom: 3px; border-bottom: 1px solid currentColor; }
.trb-smp-add-on, .trb-smp-cb:checked ~ .trb-smp-add .trb-smp-add-off { display: none; }
.trb-smp-cb:checked ~ .trb-smp-add .trb-smp-add-on { display: inline; }
.trb-smp-cb:checked ~ .trb-smp-add { color: #6F6F6F; }
.trb-smp-set .trb-smp-terms { margin-top: 24px; }
@media (max-width: 1100px) { .trb-smp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* your own colours */
.trb-smp-own { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--trb-section, 112px); background: var(--trb-cream, #EFEAE3); }
.trb-smp-own-p { position: relative; min-height: 440px; overflow: hidden; }
.trb-smp-own-t { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: 56px clamp(28px, 4.4vw, 64px); }
.trb-board .trb-smp-own-t h2 { margin: 0; font-size: clamp(28px, 3vw, 44px); }
.trb-smp-own-t p { margin: 0; font-size: 13px; line-height: 1.7; max-width: 460px; }
.trb-board .pill.trb-smp-own-btn { margin: 6px 0 10px; }
.trb-smp .trb-swp-lab { margin-left: 0; margin-right: 0; }
/* the bar */
.trb-smp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; background: #fff; border-top: 1px solid #E4E4E4; box-shadow: 0 -12px 40px rgba(17, 17, 17, .06); }
.trb-smp-bar[hidden] { display: none; }
.trb-smp-bar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px var(--trb-gutter, 40px); }
.trb-smp-bar-n { font-size: 14px; }
html.trb-smp-has body { padding-bottom: 72px; }
/* the request panel */
.trb-smp-list { list-style: none; margin: 0; padding: 0 0 6px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid #E4E4E4; }
.trb-smp-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.trb-smp-list li > span:nth-child(2) { flex: 1; min-width: 0; }
.trb-smp-li-sw { flex: none; width: 36px; height: 36px; background: #EDEAE4 center / cover; }
.trb-smp-list button { border: 0; background: none; cursor: pointer; padding: 4px 0; }
.trb-smp-list .trb-smp-empty { font-size: 13px; line-height: 1.6; padding-bottom: 8px; }
.trb-smp-req .trb-smp-body.trb-pform { display: block; }
.trb-smp-req .trb-file { border-color: #A29E93; padding: 18px; }
@media (max-width: 900px) {
	.trb-smp { padding: 0 16px; }
	.trb-smp-hero { grid-template-columns: 1fr; padding: 24px 0 40px; gap: 32px; }
	.trb-smp-steps { grid-template-columns: 1fr; gap: 16px; }
	.trb-smp-cats { gap: 10px; margin-top: 32px; }
	.trb-smp-cat-p { aspect-ratio: 4 / 5; }
	.trb-smp-cat-t { grid-template-columns: 1fr; padding: 12px 0; }
	.trb-smp-cat-t .mut { display: none; }
	.trb-smp-cat-n { grid-column: 1; grid-row: auto; }
	.trb-smp-cat-h { font-size: 22px; }
	.trb-smp-set { margin-top: 40px; }
	.trb-smp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	.trb-smp-own { grid-template-columns: 1fr; margin-left: -16px; margin-right: -16px; }
	.trb-smp-own-p { min-height: 0; aspect-ratio: 4 / 3; }
	.trb-smp-own-t { padding: 32px 20px; }
	.trb-smp-bar-in { padding: 10px 16px; }
	.trb-smp-bar .pilld { padding: 0 18px; }
}

/* ---------- 0.4.37 The bag in a side panel (reuses .trb-join) ---------- */
.trb-bagd-ok { display: flex; align-items: center; gap: 10px; margin: -6px 0 0; font-size: 13px; }
.trb-bagd-tick { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #4A3F38; }
.trb-bagd-tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #EFEAE3; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.trb-bagd-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #E4E4E4; }
.trb-bagd-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid #E4E4E4; }
.trb-bagd-img { display: block; width: 84px; height: 84px; background: #F2F0EC; overflow: hidden; }
.trb-bagd-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trb-bagd-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 15px; }
.trb-bagd-info a { color: #111; }
.trb-bagd-info .trb-bag-name { display: block; }
.trb-board .trb-bagd-rm { align-self: flex-start; margin-top: 4px; }
.trb-bagd-price { font-size: 15px; white-space: nowrap; }
.trb-bagd-sum { margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.trb-bagd-sum > div { display: flex; justify-content: space-between; gap: 16px; }
.trb-bagd-sum dt { color: #6F6F6F; }
.trb-bagd-sum dd { margin: 0; }
.trb-bagd-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.trb-board .trb-bagd-go, .trb-board .trb-bagd-cart { width: 100%; height: 52px; box-sizing: border-box; }
.trb-board .pill.trb-bagd-cart { background: transparent !important; color: #111 !important; border: 1px solid #111 !important; }
.trb-board .pill.trb-bagd-cart:hover { background: #4A3F38 !important; color: #EFEAE3 !important; border-color: #4A3F38 !important; }
.trb-bagd-more { align-self: center; margin-top: 6px; border: 0; background: none; cursor: pointer; padding: 4px 0; }
.trb-buy.is-busy { opacity: .6; cursor: progress; }

/* ---------- 0.4.38 Samples in the bag ---------- */
.trb-bagd-img { position: relative; }
.trb-sample-thumb { position: relative; display: block; width: 100%; min-width: 64px; aspect-ratio: 1; overflow: hidden; background: #EDEAE4; }
.trb-sample-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trb-smp-card.is-busy { opacity: .6; cursor: progress; }

/* ---------- 0.4.39 Trade: the three services without a page of their own, as a quieter band under the photo cards ---------- */
.trb-ts-more { margin-top: 72px; display: flex; flex-direction: column; gap: 18px; }
.trb-ts-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.trb-ts-mi { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 24px 0 0; border-top: 1px solid #E4E4E4; min-width: 0; }
.trb-board .trb-ts-mi-t { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.trb-ts-mi-p { margin: 0; font-size: 13px; line-height: 1.6; max-width: 36ch; }
.trb-board .trb-ts-mi-a { margin-top: 6px; font-size: 11px; }
.trb-ts.is-m .trb-ts-more { margin-top: 48px; gap: 10px; }
.trb-ts.is-m .trb-ts-more-grid { grid-template-columns: 1fr; }
.trb-ts.is-m .trb-ts-mi { padding: 18px 0 20px; }
.trb-ts.is-m .trb-ts-mi:last-child { border-bottom: 1px solid #E4E4E4; }
@media (max-width: 1100px) { .trb-ts:not(.is-m) .trb-ts-more-grid { grid-template-columns: 1fr; } .trb-ts:not(.is-m) .trb-ts-mi { padding: 18px 0 20px; } }

/* ---------- 0.4.40 From your space to your rug (/trade/from-your-space-to-your-rug/) ---------- */
.trb-sp { padding: 0 40px; }
.trb-sp-hero { display: flex; flex-direction: column; gap: 16px; padding: 48px 0 0; max-width: 980px; }
.trb-board .trb-sp-hero h1 { margin: 0; font-size: clamp(44px, 6.4vw, 104px); font-weight: 400; line-height: 1; }
.trb-sp-sub { margin: 8px 0 0; font-size: 20px; line-height: 1.35; }
.trb-sp-intro { margin: 0; font-size: 14px; line-height: 1.65; max-width: 480px; }
.trb-sp-steps { list-style: none; margin: 96px 0 0; padding: 0; display: flex; flex-direction: column; gap: 144px; }
.trb-sp-step { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-rows: auto 1fr; grid-template-areas: "media head" "media text"; column-gap: 48px; row-gap: 14px; align-items: start; }
.trb-sp-step.is-alt { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-areas: "head media" "text media"; }
.trb-sp-head { grid-area: head; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid #111; padding-top: 16px; }
.trb-board .trb-sp-head h2 { margin: 0; font-size: clamp(26px, 2.6vw, 38px); font-weight: 400; line-height: 1.12; text-transform: none; letter-spacing: -.01em; }
.trb-sp-text { grid-area: text; margin: 0; font-size: 14px; line-height: 1.7; max-width: 34ch; }
.trb-sp-media { grid-area: media; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #F4F2EE; }
.trb-sp-media video, .trb-sp-media img { object-fit: cover; }
.trb-sp-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: rgba(17, 17, 17, .38); border: 1px dashed rgba(17, 17, 17, .14); }
.trb-sp-pause { position: absolute; right: 16px; bottom: 16px; padding: 8px 14px; border: 0; background: rgba(255, 255, 255, .88); color: #111; cursor: pointer; }
.trb-sp-pause:focus-visible { outline: 2px solid #4A3F38; outline-offset: 2px; }
.trb-sp-js .trb-sp-step { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.23, 1, .32, 1); }
.trb-sp-js .trb-sp-step.is-in { opacity: 1; transform: none; }
.trb-sp-end { margin: 160px 0 0; padding: 56px 0 0; border-top: 1px solid #E4E4E4; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 640px; }
.trb-board .trb-sp-end h2 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); font-weight: 400; line-height: 1.08; }
.trb-sp-end p { margin: 0; font-size: 14px; line-height: 1.7; max-width: 46ch; }
.trb-board .trb-sp-cta { margin-top: 12px; padding: 0 32px; width: auto; }
@media (max-width: 900px) {
	.trb-sp { padding: 0 16px; }
	.trb-sp-hero { padding-top: 24px; }
	.trb-sp-sub { font-size: 17px; }
	.trb-sp-steps { margin-top: 56px; gap: 72px; }
	.trb-sp-step, .trb-sp-step.is-alt { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "head" "media" "text"; row-gap: 16px; }
	.trb-sp-head { gap: 10px; padding-top: 12px; }
	.trb-sp-media { aspect-ratio: 4 / 3; }
	.trb-sp-end { margin-top: 96px; padding-top: 40px; }
}

/* ---------- 0.4.41 Projects: Samples · Projects section (two actions) and the Start a project side panel ---------- */
.trb-board button.pilld.trb-pj-start { cursor: pointer; border: 0; }
.trb-board .pill.trb-pj-smp { background: transparent !important; color: #111 !important; border: 1px solid #111 !important; height: 46px; box-sizing: border-box; display: inline-flex; align-items: center; }
.trb-board .pill.trb-pj-smp:hover, .trb-board .pill.trb-pj-smp:focus-visible { background: #4A3F38 !important; color: #EFEAE3 !important; border-color: #4A3F38 !important; }
.trb-pjp .trb-tbf-form { margin-top: 4px; }
.trb-pjp .trb-tbf-send .pilld { width: 100%; }

/* ---------- 0.4.42 Contact form in a side panel (#contact-panel) ---------- */
.trb-ctp form .trb-hp { position: absolute; left: -9999px; }
.trb-ctp form > div[style*="grid-template-columns: 1fr"] { gap: 16px !important; }
.trb-board .trb-ctp-more { align-self: flex-start; margin-top: 4px; }

/* ---------- 0.4.44 Trade: Selected projects as a horizontal carousel ---------- */
.trb-tpj-nav { display: flex; align-items: center; gap: 28px; }
.trb-car-btns { display: flex; gap: 8px; }
.trb-car-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #111; background: transparent; color: #111; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.trb-car-btn:hover:not([disabled]) { background: #4A3F38; border-color: #4A3F38; color: #EFEAE3; }
.trb-car-btn[disabled] { opacity: .25; cursor: default; }
.trb-car-btn:focus-visible, .trb-tpj-track:focus-visible { outline: 2px solid #4A3F38; outline-offset: 3px; }
.trb-tpj-track { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -40px; padding-right: 40px; }
.trb-tpj-track::-webkit-scrollbar { display: none; }
.trb-tpj-track > .trb-tpj-card { flex: 0 0 clamp(300px, 36vw, 600px); scroll-snap-align: start; min-width: 0; }
.trb-tpj-all-in { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; aspect-ratio: 4 / 5; padding: 32px; box-sizing: border-box; background: var(--trb-cream, #EFEAE3); transition: background .25s; }
.trb-tpj-all:hover .trb-tpj-all-in { background: #E6DFD5; }
.trb-tpj-all-t { font-size: 24px; line-height: 1.15; }
.trb-car-bar { position: relative; height: 1px; margin-top: 28px; background: #E4E4E4; overflow: hidden; }
.trb-car-bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 40%; background: #111; transition: transform .15s linear; }
.trb-tpj.is-m .trb-tpj-nav { width: 100%; justify-content: space-between; }
.trb-tpj.is-m .trb-car-btns { display: none; }
.trb-tpj.is-m .trb-tpj-track { gap: 12px; margin-right: -16px; padding-right: 16px; }
.trb-tpj.is-m .trb-tpj-track > .trb-tpj-card { flex-basis: 80%; }
.trb-tpj.is-m .trb-tpj-track .trb-tpj-img { aspect-ratio: 4 / 5; }
.trb-tpj.is-m .trb-tpj-all-in { padding: 24px; }
.trb-tpj.is-m .trb-car-bar { margin-top: 20px; }

/* ---------- 0.4.45 Trade: "Start your project" band (the form opens in the side panel) ---------- */
.trb-tenq { scroll-margin-top: 24px; }
.trb-tenq-box { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: #D1CFC5; }
.trb-tenq-p { position: relative; overflow: hidden; min-height: 520px; }
.trb-tenq-t { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: 64px clamp(32px, 4.5vw, 72px); }
.trb-board .trb-tenq-t h2 { margin: 0; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.05; max-width: 16ch; }
.trb-tenq-t p { margin: 0; font-size: 14px; line-height: 1.7; max-width: 400px; }
.trb-board .trb-tenq-cta, .trb-board .trb-sp-cta { gap: 10px; }
.trb-board .trb-tenq-cta { margin-top: 10px; padding: 0 32px; width: auto; }
.trb-tenq.is-m .trb-tenq-box { grid-template-columns: 1fr; }
.trb-tenq.is-m .trb-tenq-p { min-height: 0; aspect-ratio: 4 / 3; }
.trb-tenq.is-m .trb-tenq-t { padding: 32px 20px 36px; }
@media (max-width: 1100px) { .trb-tenq:not(.is-m) .trb-tenq-p { min-height: 440px; } }

/* ---------- 0.4.46 Trade: Selected projects, every hospitality photo, more of them in view ---------- */
.trb-tpj-track > .trb-tpj-card { flex-basis: clamp(240px, 22vw, 360px); }
.trb-tpj-track .trb-tpj-name { font-size: 20px; }
.trb-tpj-track .trb-tpj-card { gap: 6px; }
.trb-tpj-all-t { font-size: 20px; }
.trb-tpj.is-m .trb-tpj-track > .trb-tpj-card { flex-basis: 62%; }
.trb-tpj.is-m .trb-tpj-track .trb-tpj-name { font-size: 18px; }

/* ---------- 0.4.47 Custom page (/custom/, /fr/sur-mesure/): Custom & Bespoke ---------- */
.trb-cb { padding: 0 40px; }
.trb-cb-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 48px 0 56px; }
.trb-board .trb-cb-hero h1 { margin: 0; font-size: clamp(48px, 7vw, 112px); line-height: .95; }
.trb-cb-lead { margin: 0; font-size: 16px; line-height: 1.65; max-width: 600px; }
/* the two services */
.trb-cb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trb-cb-card { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 110px; }
.trb-cb-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #F2F0EC; }
.trb-cb-photo img { transition: transform .6s cubic-bezier(.23, 1, .32, 1); }
.trb-cb-card:hover .trb-cb-photo img { transform: scale(1.02); }
.trb-cb-ctext { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 40px 0 0; }
.trb-board .trb-cb-ctext h2 { margin: 0; font-size: clamp(36px, 4vw, 56px); }
.trb-cb-line { margin: 0; font-size: 20px; line-height: 1.3; }
.trb-cb-body { margin: 0; font-size: 14px; line-height: 1.7; max-width: 520px; }
.trb-cb-tags { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trb-cb-tags li { font-family: var(--trb-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; padding: 8px 12px; border: 1px solid #D9D6CF; color: #4A3F38; }
/* one line on the studio */
.trb-cb-say { margin-top: 112px; padding-top: 28px; border-top: 1px solid #111; }
.trb-cb-say p { margin: 0; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.15; letter-spacing: -.015em; max-width: 22ch; }
/* steps */
.trb-cb-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.trb-board .trb-cb-head h2 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); }
.trb-cb-head-row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.trb-cb-head-row > div { display: flex; flex-direction: column; gap: 10px; }
.trb-cb-steps { margin-top: 112px; }
.trb-cb-olist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.trb-cb-olist li { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid #E4E4E4; font-size: 13px; line-height: 1.55; }
.trb-cb-st { font-size: 18px; line-height: 1.2; }
.trb-cb-todo { margin: 20px 0 0; font-size: 12px; }
/* projects */
.trb-cb-proj { margin-top: 112px; }
.trb-cb-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trb-board a.trb-cb-case { display: flex; flex-direction: column; gap: 6px; color: #111; text-decoration: none; }
.trb-cb-cimg { position: relative; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 8px; background: #F2F0EC; }
.trb-cb-cimg img { transition: transform .6s cubic-bezier(.23, 1, .32, 1); }
.trb-cb-case:hover .trb-cb-cimg img { transform: scale(1.02); }
.trb-cb-cname { font-size: 22px; line-height: 1.15; }
.trb-cb .trb-cb-lab { margin-left: 0; margin-right: 0; }
/* enquire now: the form on a photo */
.trb-cb-enq { position: relative; margin: 112px -40px 0; padding: 96px 40px; display: flex; justify-content: flex-end; scroll-margin-top: 80px; }
.trb-cb-enq-bg { position: absolute; inset: 0; overflow: hidden; }
.trb-cb-enq-bg::after { content: ""; position: absolute; inset: 0; background: rgba(17, 17, 17, .18); }
.trb-cb-enq-box { position: relative; width: min(560px, 100%); box-sizing: border-box; background: #fff; padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.trb-board .trb-cb-enq-box h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); }
.trb-cb-enq-p { margin: 0 0 6px; font-size: 13px; line-height: 1.65; }
.trb-cb-form { display: flex; flex-direction: column; gap: 14px; }
.trb-cb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.trb-cb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trb-cb-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.trb-cb .inp { height: 48px; font-size: 14px; }
.trb-cb .inp.trb-cb-area { height: 110px; padding: 14px 20px; resize: vertical; }
.trb-cb .inp:focus-visible { outline: 2px solid #4A3F38; outline-offset: 1px; }
.trb-cb-file { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px dashed #A29E93; font-size: 13px; cursor: pointer; }
.trb-cb-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.trb-cb-send { width: 100%; margin-top: 4px; }
.trb-cb-faq { margin: 6px 0 0; }
@media (max-width: 1100px) { .trb-cb-olist { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 900px) {
	.trb-cb { padding: 0 16px; }
	.trb-cb-hero { padding: 24px 0 40px; }
	.trb-cb-two { grid-template-columns: 1fr; gap: 48px; }
	.trb-cb-ctext { padding: 20px 0 0; }
	.trb-cb-line { font-size: 18px; }
	.trb-cb-say, .trb-cb-steps, .trb-cb-proj { margin-top: 64px; }
	.trb-cb-olist { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
	.trb-cb-head-row { flex-direction: column; align-items: flex-start; }
	.trb-cb-cases { grid-template-columns: 1fr; gap: 32px; }
	.trb-cb-cimg { aspect-ratio: 4 / 3; }
	.trb-cb-enq { margin: 64px -16px 0; padding: 0; flex-direction: column; }
	.trb-cb-enq-bg { position: relative; aspect-ratio: 4 / 3; }
	.trb-cb-enq-box { width: 100%; padding: 28px 16px 8px; }
	.trb-cb-row { grid-template-columns: 1fr; }
}

/* ---------- 0.4.48 Pencil drawings (inc/sketches.php), Size matters ---------- */
.trb-sketch { display: block; width: 100%; height: auto; color: #6B655D; overflow: visible; }
.trb-ts-mi-sk { display: block; width: 100%; max-width: 220px; margin: 4px 0 18px; }
.trb-ts.is-m .trb-ts-mi-sk { max-width: 180px; margin-bottom: 12px; }
.trb-cb-size { margin-top: 112px; padding: 64px 56px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; background: var(--trb-cream, #EFEAE3); }
.trb-cb-size-t { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.trb-board .trb-cb-size-h { margin: 0; font-size: clamp(56px, 8vw, 128px); line-height: .9; letter-spacing: -.03em; }
.trb-cb-size-w { margin: 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; font-style: italic; font-weight: 300; }
.trb-cb-size-p { margin: 6px 0 0; font-size: 14px; line-height: 1.7; max-width: 460px; }
.trb-cb-size-acts { display: flex; align-items: center; gap: 28px; margin-top: 10px; flex-wrap: wrap; }
.trb-cb-size-sk { max-width: 460px; justify-self: end; width: 100%; }
.trb-cb-size-sk .trb-sketch { color: #5E584F; }
/* 0.4.63: Nich's tape measure drawing; its paper melts into the cream band */
.trb-cb-size-sk:has(.trb-cb-size-img) { max-width: 600px; }
.trb-cb-size-img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 70%, transparent 100%); }
@media (max-width: 900px) {
	.trb-cb-size { margin: 64px -16px 0; padding: 40px 16px; grid-template-columns: 1fr; gap: 28px; }
	.trb-cb-size-sk { justify-self: start; max-width: 320px; }
}
/* 0.4.49: the tape measure visual, a little larger */
.trb-cb-size { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.trb-cb-size-sk { max-width: 600px; }
@media (max-width: 900px) { .trb-cb-size { grid-template-columns: 1fr; } .trb-cb-size-sk { max-width: 100%; } }

/* ---------- 0.4.50 Trade carousel: immersive, 3 in view (14-inch laptop), no names ---------- */
.trb-tpj-track > .trb-tpj-card { flex-basis: calc((100vw - 80px - 32px) / 3.12); max-width: 620px; }
.trb-tpj-track .trb-tpj-ph .trb-tpj-img { aspect-ratio: 3 / 4; margin-bottom: 0; }
.trb-tpj-track .trb-tpj-all .trb-tpj-all-in { aspect-ratio: 3 / 4; }
.trb-tpj.is-m .trb-tpj-track > .trb-tpj-card { flex-basis: 84%; max-width: none; }
.trb-tpj.is-m .trb-tpj-track .trb-tpj-ph .trb-tpj-img { aspect-ratio: 4 / 5; }

/* ---------- 0.4.50 Projects page: category toggle ---------- */
article[data-trb-pcat][hidden] { display: none !important; }
.trb-pt { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: -48px; }
.trb-pt-b { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border: 1px solid #D9D6CF; background: transparent; color: #111; font-family: var(--trb-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.trb-pt-b:hover { border-color: #111; }
.trb-pt-b[aria-selected="true"] { background: #4A3F38; border-color: #4A3F38; color: #EFEAE3; }
.trb-pt-b:focus-visible { outline: 2px solid #4A3F38; outline-offset: 2px; }
.trb-pt-n { opacity: .6; }
.trb-pt-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 56px 0; border-top: 1px solid #E4E4E4; border-bottom: 1px solid #E4E4E4; }
.trb-pt-empty[hidden] { display: none; }
.trb-pt-empty p { margin: 0; font-size: 22px; }
.trb-pt-empty p.mut { font-size: 13px; }
.trb-board-m .trb-pt { margin-bottom: -32px; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
.trb-board-m .trb-pt::-webkit-scrollbar { display: none; }
.trb-board-m .trb-pt-b { flex: none; height: 40px; padding: 0 14px; }

/* ---------- 0.4.50 Project page (case study, reference gan-rugs.com) ---------- */
.trb-cs2 section.trb-cs2-hero { padding: 0 !important; }
.trb-cs2-hero-img { position: relative; height: clamp(520px, 82vh, 980px); overflow: hidden; background: #F2F0EC; }
.trb-cs2-head { display: flex; flex-direction: column; gap: 18px; padding-top: 40px !important; }
.trb-board .trb-cs2-head h1 { margin: 0; font-size: clamp(56px, 9vw, 152px); line-height: .9; letter-spacing: -.03em; }
.trb-cs2-intro { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.trb-cs2-text { display: flex; flex-direction: column; gap: 18px; }
.trb-cs2-lead { margin: 0; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.25; letter-spacing: -.01em; max-width: 26ch; }
.trb-cs2-text .mut { margin: 0; font-size: 14px; line-height: 1.75; max-width: 560px; }
.trb-cs2-facts { margin: 0; border-top: 1px solid #111; }
.trb-cs2-facts > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid #E4E4E4; align-items: baseline; }
.trb-cs2-facts dd { margin: 0; font-size: 14px; line-height: 1.5; }
.trb-cs2-gallery { margin-top: 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trb-cs2-img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #F2F0EC; }
.trb-cs2-img.is-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.trb-cs2-nav { margin-top: 96px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: 28px !important; border-top: 1px solid #E4E4E4; }
.trb-board a.trb-cs2-next { display: flex; align-items: center; gap: 20px; color: #111; text-decoration: none; }
.trb-cs2-next-img { position: relative; flex: none; width: 160px; aspect-ratio: 4 / 3; overflow: hidden; background: #F2F0EC; }
.trb-cs2-next-img img { transition: transform .6s cubic-bezier(.23, 1, .32, 1); }
.trb-cs2-next:hover .trb-cs2-next-img img { transform: scale(1.04); }
.trb-cs2-next-t { display: flex; flex-direction: column; gap: 6px; }
.trb-cs2-next-n { font-size: 28px; line-height: 1.1; }
@media (max-width: 900px) {
	.trb-cs2-hero-img { height: 62vh; min-height: 380px; }
	.trb-cs2-head { padding-top: 24px !important; }
	.trb-cs2-intro { grid-template-columns: 1fr; gap: 32px; margin-top: 28px; }
	.trb-cs2-facts > div { grid-template-columns: 104px minmax(0, 1fr); }
	.trb-cs2-gallery { margin-top: 48px; grid-template-columns: 1fr; gap: 12px; }
	.trb-cs2-img.is-wide { aspect-ratio: 4 / 3; }
	.trb-cs2-nav { margin-top: 56px; flex-direction: column; align-items: flex-start; }
	.trb-cs2-next-img { width: 112px; }
	.trb-cs2-next-n { font-size: 22px; }
}

/* ---------- 0.4.51 Shared projects carousel on single (responsive) pages ---------- */
.trb-tpj-solo { margin-top: 112px; }
.trb-board .trb-tpj-solo h2 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); }
.trb-tpj-solo .trb-tp-head { display: flex; flex-direction: column; gap: 10px; }
.trb-tpj-solo .trb-tp-head p { margin: 0; font-size: 14px; }
@media (max-width: 900px) {
	.trb-tpj-solo { margin-top: 64px; }
	.trb-tpj-solo .trb-tpj-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
	.trb-tpj-solo .trb-tpj-nav { width: 100%; justify-content: space-between; }
	.trb-tpj-solo .trb-car-btns { display: none; }
	.trb-tpj-solo .trb-tpj-track { gap: 12px; margin-right: -16px; padding-right: 16px; }
	.trb-tpj-solo .trb-tpj-track > .trb-tpj-card { flex-basis: 84%; max-width: none; }
	.trb-tpj-solo .trb-tpj-track .trb-tpj-ph .trb-tpj-img { aspect-ratio: 4 / 5; }
	.trb-tpj-solo .trb-tpj-all-in { padding: 24px; }
	.trb-tpj-solo .trb-car-bar { margin-top: 20px; }
}

/* ---------- 0.4.51 Custom rugs and Bespoke rugs pages (inc/custom-pages.php) ---------- */
.trb-cx { padding: 0 40px; }
.trb-cx-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 48px 0 0; }
.trb-board .trb-cx-hero h1 { margin: 0; font-size: clamp(48px, 7vw, 112px); line-height: .95; }
.trb-cx-lead { margin: 0; font-size: 16px; line-height: 1.65; max-width: 640px; }
.trb-cx-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.trb-board .trb-cx-head h2 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); }
.trb-cx h3 { margin: 0; font-size: 22px; font-weight: 400; line-height: 1.2; text-transform: none; letter-spacing: -.01em; }
.trb-cx-four { margin-top: 96px; }
.trb-cx-four-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trb-cx-opt { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.trb-cx-opt-m { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #F2F0EC; margin-bottom: 8px; }
.trb-cx-opt p, .trb-cx-steps p, .trb-cx-row-t p { margin: 0; font-size: 14px; line-height: 1.65; }
.trb-cx-sk { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 18px; background: var(--trb-cream, #EFEAE3); }
.trb-cx-sk .trb-sketch { width: 100%; }
.trb-cx-proc { margin-top: 112px; }
.trb-cx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trb-cx-steps li { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.trb-cx-step-m { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #F2F0EC; margin-bottom: 10px; }
.trb-cx-todo { margin: 20px 0 0; font-size: 12px; }
.trb-cx-three { margin-top: 96px; }
.trb-cx-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.trb-cx-row + .trb-cx-row { margin-top: 72px; }
.trb-cx-row.is-alt .trb-cx-row-m { order: 2; }
.trb-cx-row-m { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #F2F0EC; }
.trb-cx-row.is-small { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.trb-cx-row.is-small .trb-cx-row-m { aspect-ratio: 4 / 3; }
.trb-cx-row-t { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.trb-cx-row-t h3 { font-size: clamp(26px, 2.6vw, 36px); }
.trb-cx-row .trb-cx-sk { padding: 28px; }
.trb-cx-enq { margin-top: 112px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--trb-taupe, #D1CFC5); }
.trb-cx-enq-p { position: relative; min-height: 420px; overflow: hidden; }
.trb-cx-enq-t { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: 56px clamp(28px, 4.4vw, 64px); }
.trb-board .trb-cx-enq-t h2 { margin: 0; font-size: clamp(28px, 3vw, 44px); }
.trb-cx-enq-t p { margin: 0; font-size: 14px; line-height: 1.7; max-width: 480px; }
.trb-cx-acts { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 6px; }
@media (max-width: 1100px) { .trb-cx-four-grid, .trb-cx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 900px) {
	.trb-cx { padding: 0 16px; }
	.trb-cx-hero { padding-top: 24px; }
	.trb-cx-four, .trb-cx-three { margin-top: 56px; }
	.trb-cx-proc { margin-top: 64px; }
	.trb-cx-four-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
	.trb-cx-steps { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
	.trb-cx h3 { font-size: 18px; }
	.trb-cx-opt p, .trb-cx-steps p { font-size: 13px; }
	.trb-cx-row, .trb-cx-row.is-small { grid-template-columns: 1fr; gap: 20px; }
	.trb-cx-row.is-alt .trb-cx-row-m { order: 0; }
	.trb-cx-row + .trb-cx-row { margin-top: 48px; }
	.trb-cx-row .trb-cx-sk { padding: 14px; }
	.trb-cx-enq { margin: 64px -16px 0; grid-template-columns: 1fr; }
	.trb-cx-enq-p { min-height: 0; aspect-ratio: 4 / 3; }
	.trb-cx-enq-t { padding: 32px 20px; }
}

/* ---------- 0.4.51 From your space: grouped process ---------- */
.trb-sp2-proc { margin-top: 72px; }
.trb-sp.trb-sp2 .trb-sp2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 16px; margin: 0; padding: 0; list-style: none; }
.trb-sp.trb-sp2 .trb-sp2-grid .trb-sp-step { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin: 0; padding: 0; opacity: 1; transform: none; grid-template-columns: none; grid-template-areas: none; }
.trb-sp.trb-sp2 .trb-sp2-grid .trb-sp-step + .trb-sp-step { margin-top: 0; }
.trb-sp.trb-sp2 .trb-sp2-grid .trb-sp-media { order: -1; width: 100%; aspect-ratio: 3 / 2; margin-bottom: 6px; }
.trb-sp.trb-sp2 .trb-sp2-grid .trb-sp-head { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; }
.trb-sp.trb-sp2 .trb-sp2-grid h3 { margin: 0; font-size: 22px; font-weight: 400; line-height: 1.2; text-transform: none; }
.trb-sp.trb-sp2 .trb-sp2-grid .trb-sp-text { margin: 0; font-size: 14px; line-height: 1.6; max-width: none; }
.trb-sp.trb-sp2 .trb-sp2-grid .trb-sp-ph { font-size: 10px; padding: 16px; }
@media (max-width: 1100px) { .trb-sp.trb-sp2 .trb-sp2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.trb-sp2-proc { margin-top: 48px; }
	.trb-sp.trb-sp2 .trb-sp2-grid { grid-template-columns: 1fr; gap: 36px; }
	.trb-sp.trb-sp2 .trb-sp2-grid .trb-sp-media { order: 0; aspect-ratio: 3 / 2; }
	.trb-sp.trb-sp2 .trb-sp2-grid .trb-sp-head { order: -1; }
}

/* ---------- 0.4.53 (Nich 10/11): the wordmark with less space between the letters ---------- */
.trb-wordmark a { letter-spacing: .1em; }
@media (max-width: 900px) { .trb-wordmark a { letter-spacing: .08em; } }

/* ---------- 0.4.54 (Nich 10/11) ---------- */
/* Commission a work: the two buttons in beige on the brown band */
.trb-board a.trb-beige.pillf, .trb-board a.trb-beige.pill { background: #EFEAE3 !important; color: #111 !important; border: 1px solid #EFEAE3 !important; }
.trb-board a.trb-beige.pillf:hover, .trb-board a.trb-beige.pill:hover { background: #fff !important; border-color: #fff !important; }
/* Custom & Bespoke: photo hero with the big title only */
.trb-cb-hero2 { position: relative; margin: 0 -40px; height: clamp(720px, calc(100vh - 32px), 1240px); overflow: hidden; color: #fff; background: #4A3F38; }
.trb-cb-hero2-sh { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,.05) 40%, rgba(0,0,0,.5)); }
.trb-board .trb-cb-hero2 h1 { position: absolute; left: 40px; right: 40px; bottom: 168px; margin: 0; color: #fff; font-size: clamp(48px, 6.7vw, 96px); line-height: .98; }
.trb-cb .trb-cb-hero { padding-top: 48px; }
@media (max-width: 900px) {
	.trb-cb-hero2 { margin: 0 -16px; height: 760px; }
	.trb-board .trb-cb-hero2 h1 { left: 16px; right: 16px; bottom: 132px; font-size: 48px; }
	.trb-cb .trb-cb-hero { padding-top: 32px; }
}

/* ---------- 0.4.55 Collections listing: collection tabs and rug style chips, told apart ---------- */
.trb-listing-bar { align-items: flex-end; padding: 18px 0 16px; }
.trb-fgroups { display: flex; align-items: flex-end; gap: 0 40px; flex-wrap: wrap; min-width: 0; }
.trb-fgroup { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.trb-fgroup-k { font-size: 9.5px; }
.trb-fgroup-style { padding-left: 40px; border-left: 1px solid #E4E4E4; }
/* collections: text tabs, the current one underlined */
.trb-listing .trb-coll-filter { gap: 4px 26px; }
.trb-listing .trb-coll-filter a { height: 36px; padding: 0; border: 0; background: none; color: #6F6F6F; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.trb-listing .trb-coll-filter a:hover { color: #111; }
.trb-listing .trb-coll-filter a[aria-current] { background: none; color: #111; border-color: #111; }
/* rug style: outlined chips with a texture mark */
.trb-style-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.trb-style-filter a { flex: none; height: 36px; padding: 0 14px; border: 1px solid #CFCBC3; border-radius: 18px; display: inline-flex; align-items: center; gap: 8px; background: #F7F4EF; color: #111; transition: background .2s, border-color .2s, color .2s; }
.trb-style-filter a span { opacity: .55; }
.trb-style-filter a:hover { border-color: #111; }
.trb-style-filter a[aria-current] { background: #4A3F38; color: #EFEAE3; border-color: #4A3F38; }
.trb-style-g { width: 16px; height: 16px; flex: none; }
@media (max-width: 900px) {
	.trb-fgroups { flex-direction: column; align-items: stretch; gap: 16px; width: 100%; }
	.trb-fgroup-style { padding-left: 0; border-left: 0; }
	.trb-listing .trb-coll-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 22px; }
	.trb-style-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
}

/* ---------- 0.4.56 (Nich 10/11) Side panels in a light greige; Trade benefits framed; logos strip under the Trade hero ---------- */
.trb-board.trb-join-panel { background: #ECEAE4; }
.trb-board.trb-join-panel .inp, .trb-board.trb-join-panel select.inp, .trb-board.trb-join-panel textarea.inp { background: #fff; border-color: #DCD9D1; }
.trb-ts-more { margin-top: 88px; gap: 22px; }
.trb-ts-more-grid { gap: 24px; }
.trb-board .trb-ts-more-h { margin: 0; }
.trb-ts-mi { gap: 0; padding: 32px 32px 28px; border: 1px solid #DCD9D1; }
.trb-ts-mi-sk { max-width: 200px; margin: 0 0 26px; }
.trb-board .trb-ts-mi-t { font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.trb-ts-mi .trb-ts-text { max-width: 34ch; }
.trb-board .trb-ts-mi-a { margin-top: auto; padding-top: 22px; font-size: 11px; }
.trb-ts.is-m .trb-ts-more { margin-top: 56px; gap: 14px; }
.trb-ts.is-m .trb-ts-more-grid { gap: 12px; }
.trb-ts.is-m .trb-ts-mi { padding: 24px 20px 22px; }
.trb-ts.is-m .trb-ts-mi:last-child { border-bottom: 1px solid #DCD9D1; }
.trb-ts.is-m .trb-ts-mi-t { font-size: 19px; }
@media (max-width: 1100px) { .trb-ts:not(.is-m) .trb-ts-more-grid { grid-template-columns: 1fr; } .trb-ts:not(.is-m) .trb-ts-mi { padding: 28px 28px 24px; } }

/* ---------- 0.4.57 (Nich 10/11) Custom & Bespoke: drawings for the steps; photo heroes on Custom rugs and Bespoke rugs ---------- */
.trb-cb-st-sk { display: block; width: 100%; max-width: 220px; margin: 6px 0 14px; }
.trb-cb-st-sk .trb-sketch { width: 100%; }
.trb-cb-olist li { padding-top: 22px; }
.trb-cx-step-m.is-sk { aspect-ratio: 4 / 3; }
.trb-cx-step-m.is-sk .trb-cx-sk { padding: 22px 20px; }
.trb-cx-proc-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.trb-cx-hero.is-under { padding-top: 48px; gap: 18px; }
.trb-cx-hero.is-under .trb-cx-lead { font-size: 17px; }
@media (max-width: 700px) {
	.trb-cb-st-sk { max-width: 180px; margin-bottom: 10px; }
	.trb-cx-hero.is-under { padding-top: 32px; }
}
.trb-board .pilld > span[aria-hidden="true"] { margin-left: .6em; }

/* ---------- 0.4.58 (Nich 10/11) From your space: the Julia project in the frames; ending as a taupe band ---------- */
.trb-sp-media img.is-draw { object-fit: contain; background: #fff; padding: 10px; box-sizing: border-box; }
.trb-sp-media:has(img.is-draw) { background: #fff; outline: 1px solid #E4E4E4; outline-offset: -1px; }
.trb-sp-fade { position: absolute; inset: 0; display: block; }
.trb-sp-fade img { opacity: 0; animation: trb-sp-fade calc(var(--n) * 4s) infinite; animation-delay: calc(var(--i) * 4s); }
.trb-sp-fade img:first-child { opacity: 1; }
@keyframes trb-sp-fade { 0% { opacity: 0; } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .trb-sp-fade img { animation: none; } }
.trb-sp-end2 { margin-top: 112px; }
@media (max-width: 900px) { .trb-sp-end2 { margin-top: 72px; } }

/* ---------- 0.4.59 (Nich 10/11) Projects steps drawn; Custom six steps 3 × 2; Bespoke intro and two steps side by side ---------- */
.trb-pj-sk { display: block; width: 100%; max-width: 210px; margin: 0 0 14px; color: #6B655D; }
.trb-pj-sk .trb-sketch { width: 100%; }
.trb-cb-olist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.trb-cb-st-sk { max-width: 260px; }
.trb-cx-intro { display: flex; flex-direction: column; gap: 22px; padding: 48px 0 0; }
.trb-board .trb-cx-intro-h { margin: 0; font-size: clamp(36px, 4.6vw, 72px); line-height: .98; max-width: 14ch; }
.trb-cx-intro-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; margin-top: 18px; }
.trb-cx-intro-m { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #F2F0EC; }
.trb-cx-intro-t { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.trb-cx-intro-t .trb-cx-lead { font-size: 18px; line-height: 1.6; }
.trb-cx-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.trb-cx-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.trb-cx-col .trb-cx-row-m { aspect-ratio: 4 / 3; }
.trb-cx-col .trb-cx-row-t h3 { font-size: clamp(24px, 2.2vw, 32px); }
@media (max-width: 900px) {
	.trb-pj-sk { max-width: 170px; }
	.trb-cb-olist { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
	.trb-cx-intro { padding-top: 32px; gap: 16px; }
	.trb-cx-intro-row { grid-template-columns: 1fr; gap: 20px; margin-top: 8px; }
	.trb-cx-intro-t .trb-cx-lead { font-size: 16px; }
	.trb-cx-two { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- 0.4.60 (Nich 10/11) The Lab: what The Lab is (editions, artworks, bespoke projects) ---------- */
.trb-lab-about { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.trb-board .trb-lab-lead { margin: 0; font-size: 22px; line-height: 1.5; font-weight: 300; }
.trb-lab-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.trb-lab-item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 18px; border-top: 1px solid #E4E4E4; min-width: 0; }
.trb-lab-t { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.trb-lab-item p { margin: 0; font-size: 14px; line-height: 1.65; }
.trb-lab-item .trb-tlink { margin-top: 4px; }
.trb-lab-about.is-m { margin-top: 24px; grid-template-columns: 1fr; gap: 28px; }
.trb-lab-about.is-m .trb-lab-lead { font-size: 18px; }
.trb-lab-about.is-m .trb-lab-three { grid-template-columns: 1fr; gap: 20px; }
@media (max-width: 1100px) { .trb-lab-about { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 0.4.64 (Nich 11/11, ref. nichnichen.com/all): Artworks, series by series ---------- */
.trb-board.trb-artnav { margin-top: 140px; padding: 112px 0 140px; color: #2B2420;
	background-color: #F0E8D6;
	background-image: radial-gradient(135% 95% at 50% -12%, rgba(255, 251, 242, .55), rgba(255, 251, 242, 0) 58%), radial-gradient(120% 125% at 50% 118%, rgba(122, 92, 50, .09), rgba(122, 92, 50, 0) 56%); }
.trb-artnav .trb-an-in { padding: 0 40px; }
.trb-an-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.trb-board .trb-an-h { margin: 0; font-size: clamp(44px, 5vw, 72px); font-weight: 300; line-height: 1; letter-spacing: -.01em; }
.trb-an-count { margin: 0; }
.trb-an-empty { text-align: center; margin: 40px 0 0; }
/* navigation by series: one immersive photo per series */
.trb-an-index { margin-top: 64px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.trb-an-index::-webkit-scrollbar { display: none; }
.trb-an-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #4A3F38; color: #fff; scroll-snap-align: start; }
.trb-an-tile img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.trb-an-tile img.is-cut { position: absolute; inset: 9% 10% 24%; width: 80%; height: 67%; object-fit: contain; }
.trb-an-tile:hover img { transform: scale(1.04); }
.trb-an-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .68)); pointer-events: none; }
.trb-an-tile.is-cut, .trb-an-band.is-cut { background: #E4D9C2; color: #2B2420; }
.trb-an-tile.is-cut img, .trb-an-band.is-cut img { mix-blend-mode: multiply; }
.trb-an-tile.is-cut::after, .trb-an-band.is-cut::after { display: none; }
.trb-an-tile-t { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.trb-an-tile-n { font-size: 30px; font-weight: 300; line-height: 1.05; }
/* a series: the immersive band, then the works floating on the beige */
.trb-an-serie { margin-top: 120px; scroll-margin-top: 24px; }
.trb-an-band { position: relative; height: clamp(480px, 72vh, 820px); overflow: hidden; color: #fff; background: #3E3530; }
.trb-an-band img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trb-an-band img.is-cut { position: absolute; top: 7%; left: 30%; width: 62%; height: 86%; object-fit: contain; object-position: 50% 50%; } /* 0.4.66: the work large, right of the title */
.trb-an-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .5)); pointer-events: none; }
.trb-an-band-t { position: absolute; left: 40px; bottom: 44px; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.trb-board .trb-an-band-t h3 { margin: 0; font-size: clamp(56px, 7vw, 104px); font-weight: 300; line-height: .95; letter-spacing: -.01em; }
.trb-an-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 88px 48px; padding: 96px 2% 0; }
.trb-an-grid > .trb-af { width: calc((100% - 3 * 48px) / 4); }
.trb-af { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.trb-af-pic { display: flex; align-items: flex-end; justify-content: center; width: 100%; aspect-ratio: 1 / 1; }
.trb-af-pic img, .trb-af-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.trb-af:hover .trb-af-pic img { transform: translateY(-6px); }
.trb-af-none { display: block; width: 70%; height: 80%; background: rgba(74, 63, 56, .08); }
.trb-af-meta { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.trb-af-name { font-size: 20px; font-weight: 300; }
.trb-af-name .trb-ref-hash { opacity: .6; }
.trb-af-price, .trb-af-price .amount, .trb-af-price .trb-badge { font-size: 12px; color: #6B6259; font-family: var(--trb-mono); letter-spacing: .04em; background: none; padding: 0; }
.trb-af-state { color: #6B6259; }
.trb-board .trb-af-wall { height: auto; padding: 0; border: 0; background: none; color: #6B6259; font-size: 10.5px; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.trb-board .trb-af-wall[aria-pressed="true"] { color: #2B2420; }
.trb-an-wall { margin-top: 140px; }
.trb-an-wall .trb-grid { display: block; margin: 0; }
/* Commissions: sold and commissioned works, out of the series */
.trb-an-com { margin-top: 140px; }
.trb-an-com .trb-an-in > .trb-an-com-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-top: 40px; border-top: 1px solid rgba(43, 36, 32, .16); }
.trb-an-com-head > div { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.trb-board .trb-an-com-head h3 { margin: 0; font-size: 40px; font-weight: 300; line-height: 1.05; }
.trb-an-com-head p { margin: 0; font-size: 14px; line-height: 1.7; }
.trb-an-com-head .pilld { flex: none; }
.trb-an-grid.is-com { gap: 64px 40px; padding-top: 72px; }
.trb-an-grid.is-com > .trb-af { width: calc((100% - 4 * 40px) / 5); }
.trb-an-grid.is-com .trb-af-name { font-size: 17px; }
@media (max-width: 1100px) { .trb-an-grid > .trb-af { width: calc((100% - 2 * 48px) / 3); } .trb-an-grid.is-com > .trb-af { width: calc((100% - 3 * 40px) / 4); } }
@media (max-width: 700px) {
	.trb-board.trb-artnav { margin-top: 72px; padding: 72px 0 88px; }
	.trb-artnav .trb-an-in { padding: 0 16px; }
	.trb-an-index { margin: 40px -16px 0; padding: 0 16px 4px; grid-auto-columns: 68vw; gap: 10px; scroll-padding-left: 16px; }
	.trb-an-tile-n { font-size: 24px; }
	.trb-an-serie { margin-top: 80px; }
	.trb-an-band { height: 62vh; min-height: 420px; }
	.trb-an-band-t { left: 16px; bottom: 28px; }
	.trb-an-grid, .trb-an-grid.is-com { gap: 48px 16px; padding: 56px 0 0; }
	.trb-an-grid > .trb-af, .trb-an-grid.is-com > .trb-af { width: calc((100% - 16px) / 2); }
	.trb-af-name { font-size: 16px; }
	.trb-an-com .trb-an-in > .trb-an-com-head { flex-direction: column; align-items: flex-start; gap: 20px; }
	.trb-board .trb-an-com-head h3 { font-size: 30px; }
	.trb-an-wall, .trb-an-com { margin-top: 88px; }
}

/* 0.4.64: custom colour field in the Custom request */
.trb-cc-field { display: flex; flex-direction: column; gap: 8px; }
.trb-cc-field[hidden] { display: none; }
.trb-cc-link { align-self: flex-start; }
.trb-an-tile-t { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.trb-an-tile.is-cut .trb-an-tile-t { text-shadow: none; }

/* 0.4.65 (Nich 11/11): Custom & Bespoke, Tell us about your idea: the portrait photo beside the form, same height */
.trb-cb-enq.is-split { margin: 112px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; background: #ECEAE4; }
.trb-cb-enq.is-split .trb-cb-enq-bg { position: relative; inset: auto; min-height: 100%; aspect-ratio: 2 / 3; }
.trb-cb-enq.is-split .trb-cb-enq-bg::after { display: none; }
.trb-cb-enq.is-split .trb-cb-enq-box { width: 100%; background: transparent; padding: clamp(40px, 5vw, 80px); justify-content: center; gap: 16px; }
.trb-cb-enq.is-split .trb-cb-form .inp { background: #fff; }
@media (max-width: 700px) {
	.trb-cb-enq.is-split { margin: 64px -16px 0; grid-template-columns: 1fr; }
	.trb-cb-enq.is-split .trb-cb-enq-bg { aspect-ratio: 4 / 5; min-height: 0; }
	.trb-cb-enq.is-split .trb-cb-enq-box { padding: 32px 16px 36px; }
}

/* 0.4.65 (Nich 11/11): Custom rugs, the four ways in square photos; dimension lines over the top views */
.trb-cx-four.is-sq .trb-cx-opt-m { aspect-ratio: 1 / 1; }
.trb-cx-dims { position: absolute; inset: 0; pointer-events: none; }
.trb-cx-dims svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trb-cx-dims line { stroke: #fff; stroke-width: 1.2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, .45)); }
/* 0.4.66 (Nich 11/11): the dimensions written straight on the photo, in white, beside their line (no box) */
.trb-cx-dim { position: absolute; transform: translate(-50%, calc(-100% - 5px)); color: #fff; font-family: var(--trb-mono); font-size: 11px; letter-spacing: .06em; line-height: 1; white-space: nowrap; text-shadow: 0 0 6px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .45); }
.trb-cx-dim.is-v { transform: translate(calc(-50% - 9px), -50%) rotate(-90deg); }
@media (max-width: 700px) { .trb-cx-dim { font-size: 9.5px; } }

/* 0.4.65 (Nich 11/11): Bespoke rugs. The plan under "Designed from a blank page" shown whole; the two steps laid out as
   the pages of an architecture book, the drawing coming out of the grid to the edge of the page */
.trb-cx-intro-m.is-contain { background: #fff; }
.trb-cx-intro-m.is-contain img.fill { object-fit: contain; padding: 4%; box-sizing: border-box; }
.trb-cx-book .trb-cx-head { margin-bottom: 8px; }
.trb-bk-row { display: grid; gap: 56px; align-items: center; margin-top: 56px; }
.trb-bk-row.is-brief { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.trb-bk-row.is-design { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); margin-top: 120px; margin-right: -40px; align-items: end; }
.trb-bk-t { display: flex; flex-direction: column; gap: 14px; align-self: center; }
.trb-board .trb-bk-t h3 { margin: 0; font-size: clamp(24px, 2.4vw, 36px); font-weight: 300; line-height: 1.1; }
.trb-bk-t p { margin: 0; font-size: 14px; line-height: 1.7; }
.trb-bk-m { margin: 0; position: relative; }
.trb-bk-m img { display: block; width: 100%; height: auto; }
.trb-bk-m figcaption { margin-top: 12px; }
.trb-bk-m.is-moodboard { padding: 0; }
/* the drawing: out of the grid on the right, a thin frame line and crop marks, as on a plate of an architecture book */
.trb-bk-m.is-bleed { border-top: 1px solid #1E1A17; padding-top: 18px; }
.trb-bk-m.is-bleed::before, .trb-bk-m.is-bleed::after { content: ""; position: absolute; top: -10px; width: 1px; height: 20px; background: #1E1A17; }
.trb-bk-m.is-bleed::before { left: 0; }
.trb-bk-m.is-bleed::after { left: 50%; }
.trb-bk-cap { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid rgba(30, 26, 23, .2); }
@media (max-width: 900px) {
	.trb-bk-row.is-brief, .trb-bk-row.is-design { grid-template-columns: 1fr; gap: 24px; }
	.trb-bk-row.is-design { margin-top: 72px; margin-right: -16px; }
	.trb-bk-row.is-design .trb-bk-t { order: 2; padding-right: 16px; }
	.trb-bk-row.is-brief .trb-bk-t { order: 2; }
}

@media (max-width: 700px) { .trb-an-band img.is-cut { top: 6%; left: 8%; width: 84%; height: 58%; } }

/* 0.4.66 (Nich 11/11): the Trade page drawings in brown */
.trb-ts-mi-sk .trb-sketch { color: #7A5536; }
.trb-board .trb-cx-proc-cta a.pillf { border: 1px solid #4A3F38 !important; background: transparent !important; color: #4A3F38 !important; }
.trb-board .trb-cx-proc-cta a.pillf:hover { background: #4A3F38 !important; color: #EFEAE3 !important; }
.trb-board .trb-cx-proc-cta .pillf > span[aria-hidden="true"] { margin-left: .6em; }

/* 0.4.66 (Nich 11/11): Bespoke rugs, the case study of the villa in Bali after the drawing */
.trb-bk-case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; margin-top: 120px; padding-top: 40px; border-top: 1px solid #1E1A17; }
.trb-bk-case-m { margin: 0; position: relative; }
.trb-bk-case-m img.fill { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.trb-bk-case-m figcaption { margin-top: 12px; }
.trb-bk-case-t { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding-bottom: 32px; }
.trb-board .trb-bk-case-t h3 { margin: 0; font-size: clamp(32px, 3.6vw, 56px); font-weight: 300; line-height: 1; }
.trb-bk-case-t p { margin: 0; font-size: 15px; line-height: 1.7; max-width: 440px; }
.trb-bk-facts { margin: 8px 0 8px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(30, 26, 23, .2); }
.trb-bk-facts > div { padding: 12px 12px 12px 0; border-bottom: 1px solid rgba(30, 26, 23, .2); display: flex; flex-direction: column; gap: 4px; }
.trb-bk-facts dd { margin: 0; font-size: 14px; }
@media (max-width: 900px) { .trb-bk-case { grid-template-columns: 1fr; gap: 24px; margin-top: 72px; } .trb-bk-case-t { padding-bottom: 0; } }

/* 0.4.66 (Nich 11/11): Instagram in the open menu */
.trb-menu-social { padding: 0 var(--trb-gutter) 28px; }
.trb-menu-social a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--trb-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: inherit; }
.trb-menu-social a:hover { opacity: .6; }
@media (max-width: 900px) { .trb-menu-social { padding: 0 16px 14px; } }

/* 0.4.68 (Nich 11/11): From your space to your rug, a cover cut in two (drawn | real) */
.trb-sp .trb-sp-cover { position: relative; margin: 0 -40px; height: clamp(520px, 78vh, 920px); overflow: hidden; background: #F3EDE2; }
.trb-sp .trb-sp-cover img { object-fit: cover; object-position: 50% 50%; }
.trb-sp-cover-l, .trb-sp-cover-r { position: absolute; bottom: 28px; letter-spacing: .14em; }
.trb-sp-cover-l { left: 40px; color: #4A3F38; } /* 0.4.70: drawn third on the left, real third on the right */
.trb-sp-cover-r { right: 40px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
@media (max-width: 900px) {
	.trb-sp .trb-sp-cover { margin: 0 -16px; height: 64vh; min-height: 420px; }
	.trb-sp-cover-l, .trb-sp-cover-r { bottom: 18px; }
	.trb-sp-cover-l { left: 16px; }
	.trb-sp-cover-r { right: 16px; }
}


/* 0.4.68 (Nich 11/11): project pages as case studies: key figures, the project step by step, a testimonial */
.trb-cs2-figs { margin-top: 88px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid #111; padding-top: 28px !important; }
.trb-cs2-figs > div { display: flex; flex-direction: column; gap: 10px; }
.trb-cs2-fig { font-size: clamp(56px, 7vw, 112px); font-weight: 300; line-height: .9; letter-spacing: -.03em; color: #4A3F38; }
.trb-cs2-figs .mut { font-size: 14px; line-height: 1.5; max-width: 28ch; }
.trb-cs2-steps { margin-top: 112px; }
.trb-cs2-steps-h { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid #E4E4E4; }
.trb-board .trb-cs2-steps-h h2 { margin: 0; font-size: 44px; font-weight: 400; line-height: 1.05; }
.trb-cs2-steps ol { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.trb-cs2-steps li { display: flex; flex-direction: column; gap: 10px; }
.trb-board .trb-cs2-steps h3 { margin: 0; font-size: 18px; font-weight: 400; line-height: 1.25; text-transform: none; letter-spacing: 0; }
.trb-cs2-steps p { margin: 0; font-size: 13px; line-height: 1.7; }
.trb-cs2-quote { margin-top: 120px; display: flex; flex-direction: column; gap: 22px; padding-top: 64px !important; border-top: 1px solid #E4E4E4; }
.trb-cs2-quote blockquote { margin: 0; display: flex; flex-direction: column; gap: 22px; max-width: 980px; }
.trb-cs2-quote blockquote p { margin: 0; font-size: clamp(26px, 3vw, 44px); font-weight: 300; line-height: 1.2; letter-spacing: -.01em; }
.trb-cs2-quote footer { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) {
	.trb-cs2-figs { margin-top: 48px; grid-template-columns: 1fr; gap: 24px; }
	.trb-cs2-steps { margin-top: 64px; }
	.trb-board .trb-cs2-steps-h h2 { font-size: 30px; }
	.trb-cs2-steps ol { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
	.trb-cs2-quote { margin-top: 72px; padding-top: 40px !important; }
}

/* 0.4.69 (Nich 11/11): Bespoke, the photos of the Bali Villa (shown once the files are in the theme) */
.trb-bk-villa { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.trb-bk-villa figure { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #F2F0EC; }
.trb-bk-villa figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.trb-bk-villa img { object-fit: cover; }
@media (max-width: 900px) { .trb-bk-villa { grid-template-columns: 1fr; gap: 12px; } .trb-bk-villa figure, .trb-bk-villa figure:first-child:nth-last-child(odd) { aspect-ratio: 4 / 3; } }


/* 0.4.71 (Nich 12/11): the footer wordmark in the same type as the header wordmark (the reference across the site) */
.trb-footer-logo { font-weight: 900; letter-spacing: .1em; line-height: 1; font-size: 40px; text-transform: uppercase; }
@media (max-width: 900px) { .trb-footer-logo { font-size: 30px; letter-spacing: .08em; } }

/* 0.4.72 (Nich 12/11): listing cards show the second photo of the product page on hover */
.trb-card-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; pointer-events: none; background: #F4F4F4; overflow: hidden; }
.trb-card-alt img { object-fit: cover; }
.trb-card-alt.is-zoom { background: #fff; }
@media (hover: hover) {
	.trb-card:hover .trb-card-alt, .trb-card-img:focus-visible .trb-card-alt { opacity: 1; }
	.trb-card:has(.trb-dots:hover) .trb-card-alt, .trb-card:has(.trb-onwall:hover) .trb-card-alt { opacity: 0; } /* the colour dots and "On my wall" keep the main photo */
}

/* ---------- 0.4.73 (Nich 12/11): a page per collection, laid out like Editions, with mood photos in the scroll (Labyrinthe first) ---------- */
.trb-cst { padding: 0 40px; overflow-x: clip; }
.trb-cst-hero { display: grid; grid-template-columns: 5fr 7fr; margin: 0 -40px; min-height: calc(100vh - var(--trb-hh, 96px)); background: #F3EDE2; }
.trb-cst-hero-t { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 28px 48px 72px 40px; }
.trb-cst-hero-t nav a { color: inherit; text-decoration: none; }
.trb-cst-hero h1 { margin: 0 0 28px; font-size: clamp(64px, 8.4vw, 136px); line-height: .9; letter-spacing: -.02em; }
.trb-cst-lede { margin: 0 0 28px; font-size: 22px; font-weight: 300; line-height: 1.45; max-width: 30ch; }
.trb-cst-amb { position: relative; margin: 0; overflow: hidden; background: #2A2420; }
.trb-cst-amb img { object-fit: cover; }
.trb-cst-amb.is-hero { min-height: 100%; }
.trb-cst-pieces { padding-top: 120px; }
.trb-cst-row { display: grid; gap: 16px; margin-top: 16px; }
.trb-cst-row.is-a { grid-template-columns: 5fr 7fr; align-items: end; }
.trb-cst-row.is-b { grid-template-columns: 7fr 5fr; align-items: start; }
.trb-cst-row.is-one { grid-template-columns: 5fr 7fr; }
.trb-cst-card { display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none; }
.trb-cst-pic { position: relative; display: block; overflow: hidden; background: #F4F4F4; aspect-ratio: 5 / 4; }
.trb-cst-row.is-a > :first-child .trb-cst-pic, .trb-cst-row.is-b > :last-child .trb-cst-pic, .trb-cst-row.is-a > figure:first-child, .trb-cst-row.is-b > figure:last-child { aspect-ratio: 4 / 5; }
.trb-cst-row > figure { aspect-ratio: 5 / 4; }
.trb-cst-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 18px; font-weight: 300; }
.trb-cst-meta .trb-card-ref { font-size: 18px; }
@media (hover: hover) { .trb-cst-card:hover .trb-card-alt { opacity: 1; } }
.trb-cst-inter { display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 64px; margin: 140px -40px 124px 0; }
.trb-cst-inter .trb-cst-amb { aspect-ratio: 4 / 5; max-height: calc(100vh - 80px); margin-left: -40px; }
.trb-cst-quote { margin: 0; padding-right: 40px; font-size: clamp(36px, 4.2vw, 68px); font-weight: 300; line-height: 1.04; letter-spacing: -.01em; }
/* 0.4.74: the second interlude, mirrored: the line on the left, the photo bleeding to the right edge */
.trb-cst-inter.is-rev { grid-template-columns: 5fr 7fr; margin: 140px 0 124px -40px; }
.trb-cst-inter.is-rev .trb-cst-amb { order: 2; justify-self: end; width: 100%; margin-left: 0; margin-right: -40px; }
.trb-cst-inter.is-rev .trb-cst-quote { padding: 0 0 0 40px; }
.trb-cst-row.is-one > figure { grid-column: 2; }
.trb-cst-empty { margin: 0; padding: 40px 0; }
.trb-cst-all { margin: 72px 0 0; }
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.trb-cst-amb img { animation: trb-cst-zoom linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
		.trb-cst-card, .trb-cst-row > figure { animation: trb-cst-up linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
		.trb-cst-quote { animation: trb-cst-up linear both; animation-timeline: view(); animation-range: entry 10% entry 60%; }
	}
}
@keyframes trb-cst-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes trb-cst-up { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
	.trb-cst { padding: 0 16px; }
	.trb-cst-hero { grid-template-columns: 1fr; margin: 0 -16px; min-height: 0; }
	.trb-cst-hero .trb-cst-amb.is-hero { order: -1; aspect-ratio: 4 / 5; min-height: 0; }
	.trb-cst-hero-t { padding: 20px 16px 40px; gap: 28px; }
	.trb-cst-hero-t nav { order: -1; }
	.trb-cst-hero h1 { font-size: 52px; margin-bottom: 18px; }
	.trb-cst-lede { font-size: 18px; margin-bottom: 20px; }
	.trb-cst-pieces { padding-top: 56px; }
	.trb-cst-row, .trb-cst-row.is-a, .trb-cst-row.is-b, .trb-cst-row.is-one { grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; margin-top: 24px; }
	.trb-cst-meta, .trb-cst-meta .trb-card-ref { font-size: 15px; }
	.trb-cst-meta { flex-direction: column; gap: 4px; }
	.trb-cst-inter { grid-template-columns: 1fr; gap: 28px; margin: 72px -16px 56px; }
	.trb-cst-inter .trb-cst-amb { margin-left: 0; max-height: none; }
	.trb-cst-inter.is-rev { grid-template-columns: 1fr; margin: 72px -16px 56px; }
	.trb-cst-inter.is-rev .trb-cst-amb { order: 0; margin-right: 0; }
	.trb-cst-inter.is-rev .trb-cst-quote { padding: 0 16px; }
	.trb-cst-row.is-one > figure { grid-column: 1 / -1; }
	.trb-cst-quote { padding: 0 16px; font-size: 34px; }
	.trb-cst-all { margin-top: 48px; }
}

.trb-cst img.fill, .trb-cst img.cut { position: absolute; inset: 0; width: 100%; height: 100%; box-sizing: border-box; display: block; }
.trb-cst img.fill { object-fit: cover; }
.trb-cst img.cut { object-fit: contain; mix-blend-mode: multiply; }

/* ===== 0.4.79 (Nich 13/11, mobile review) ===== */
/* menu: language, measurements and currency as one quiet line of text toggles */
.trb-menu-utils .trb-menu-prefs { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.trb-menu-prefs .trb-prefs-row { gap: 0; }
.trb-menu-prefs .trb-prefs-k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.trb-menu-prefs .trb-switch { height: auto; border: 0; font-family: var(--trb-mono); font-size: 11px; letter-spacing: .06em; }
.trb-menu-prefs .trb-switch > * { height: auto; padding: 4px 0; background: none !important; color: #8A857D; }
.trb-menu-prefs .trb-switch > * + *::before { content: "/"; margin: 0 6px; color: #B5AFA6; }
.trb-menu-prefs .trb-switch > [aria-current="true"], .trb-menu-prefs .trb-switch > [aria-pressed="true"] { color: #111; text-decoration: underline; text-underline-offset: 4px; }
.trb-menu-prefs .trb-switch > [aria-current="true"]::before, .trb-menu-prefs .trb-switch > [aria-pressed="true"]::before { text-decoration: none; display: inline-block; }
/* size guide popin: the sizes only (no note under the table, no "Your exact dimensions", no FAQ) */
.trb-sg-dialog .trb-sg-after, .trb-sg-dialog .trb-sg-extra { display: none !important; }
/* product page on phones: the colours right under the gallery, so a colour is seen as it is picked */
@media (max-width: 900px) {
	.trb-pp:not(.trb-pp-art) .trb-pp-panel { display: flex; flex-direction: column; }
	.trb-pp:not(.trb-pp-art) .trb-pp-buy, .trb-pp:not(.trb-pp-art) .trb-pp-pick { display: contents; }
	.trb-pp:not(.trb-pp-art) .trb-pp-colours { order: -1; margin-top: 4px; }
}
/* hanging system: three cards, a carousel on phones */
.trb-hang2 { margin: 120px 0 0; padding: 0 40px; }
.trb-hang2-h { margin: 0 0 28px; font-size: 34px; font-weight: 400; line-height: 1.05; }
.trb-hang2-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trb-hang2-card { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.trb-hang2-pic { display: block; aspect-ratio: 4 / 3; background: #F6F4EF; overflow: hidden; }
.trb-hang2-pic img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 6% 8%; box-sizing: border-box; }
.trb-hang2-card figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; font-weight: 300; }
.trb-hang2-foot { margin-top: 22px; padding-top: 14px; border-top: 1px solid #E4E4E4; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.trb-hang2-foot p { margin: 0; font-size: 13px; }
@media (max-width: 900px) {
	.trb-hang2 { margin-top: 64px; padding: 0 16px; }
	.trb-hang2-h { font-size: 26px; margin-bottom: 18px; }
	.trb-hang2-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -16px; padding-right: 16px; gap: 10px; }
	.trb-hang2-rail::-webkit-scrollbar { display: none; }
	.trb-hang2-card { flex: 0 0 78%; scroll-snap-align: start; }
	.trb-hang2-foot { flex-direction: column; align-items: flex-start; }
}
/* road freight: under the delivery text */
.trb-freight-p { margin-top: 10px !important; }
.trb-freight-cta { display: inline-block; margin-top: 2px; color: #111; }
.trb-care-steel strong { font-weight: 500; color: #111; }
/* Labyrinthe page (and every collection story): one even grid, as therugcompany: two equal frames per row, the name in
   regular weight with the price under it; a context photo alone takes a wide 16:9 frame, never a rug */
.trb-cst .trb-cst-row, .trb-cst .trb-cst-row.is-a, .trb-cst .trb-cst-row.is-b, .trb-cst .trb-cst-row.is-one { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; margin-top: 48px; }
.trb-cst .trb-cst-row .trb-cst-pic, .trb-cst .trb-cst-row > figure { aspect-ratio: 4 / 5; }
.trb-cst .trb-cst-row.is-one > figure { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.trb-cst .trb-cst-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
.trb-cst .trb-cst-meta .trb-card-ref { font-size: 20px; font-weight: 400; letter-spacing: 0; line-height: 1.25; }
.trb-cst-price { font-size: 15px; font-weight: 300; }
.trb-dname { font-weight: inherit; }
.trb-card .trb-card-ref .trb-dname, .trb-ni-meta .trb-card-ref .trb-dname { font-weight: 400; }
@media (max-width: 900px) {
	.trb-cst .trb-cst-row, .trb-cst .trb-cst-row.is-a, .trb-cst .trb-cst-row.is-b, .trb-cst .trb-cst-row.is-one { gap: 12px; margin-top: 28px; }
	.trb-cst .trb-cst-row .trb-cst-pic, .trb-cst .trb-cst-row > figure { aspect-ratio: 3 / 4; }
	.trb-cst .trb-cst-row.is-one > figure { aspect-ratio: 16 / 9; margin: 0 -16px; }
	.trb-cst .trb-cst-meta .trb-card-ref { font-size: 16px; }
	.trb-cst-price { font-size: 14px; }
}
/* Labyrinthe-style cover for Editions, Artworks, Trade and Bespoke: the title on écru beside the photo; on phones the
   photo (4:5) first, then the title, never a full-height photo */
.trb-cov { display: grid; grid-template-columns: 5fr 7fr; min-height: calc(100vh - var(--trb-hh, 96px)); background: #F3EDE2; color: #111; margin: 0; }
.trb-cov-t { display: flex; flex-direction: column; justify-content: flex-end; padding: 40px 48px 72px 40px; }
.trb-cov h1, .trb-cov .trb-h1 { margin: 0 0 24px !important; font-size: clamp(56px, 7.2vw, 120px) !important; line-height: .92 !important; letter-spacing: -.02em; color: #111; }
.trb-cov-lede { margin: 0 0 24px; font-size: 20px; font-weight: 300; line-height: 1.5; max-width: 34ch; color: #111; text-shadow: none; opacity: 1; }
.trb-cov-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trb-cov-img { position: relative; margin: 0; overflow: hidden; background: #2A2420; }
.trb-cov-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
	.trb-cov { grid-template-columns: 1fr; min-height: 0; }
	.trb-cov-img { order: -1; aspect-ratio: 4 / 5; }
	.trb-cov-t { padding: 22px 16px 40px; }
	.trb-cov h1, .trb-cov .trb-h1 { font-size: 46px !important; margin-bottom: 16px !important; }
	.trb-cov-lede { font-size: 17px; }
}
/* Editions: one piece per row, then its photo in a room */
.trb-ed1 { padding: 0 40px; }
.trb-ed1-row { margin-top: 96px; display: flex; flex-direction: column; gap: 24px; }
.trb-ed1-card { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; width: min(100%, 760px); margin: 0 auto; }
.trb-ed1-pic { position: relative; display: block; aspect-ratio: 4 / 5; background: #F4F4F4; overflow: hidden; }
.trb-ed1-pic img.cut, .trb-ed1-pic img.fill { position: absolute; inset: 0; width: 100%; height: 100%; box-sizing: border-box; display: block; }
.trb-ed1-pic img.cut { object-fit: contain; mix-blend-mode: multiply; }
.trb-ed1-meta { display: flex; flex-direction: column; gap: 4px; }
.trb-ed1-name { font-size: 20px; font-weight: 400; }
.trb-ed1-price { font-size: 15px; font-weight: 300; }
.trb-ed1-room { position: relative; margin: 24px -40px 0; aspect-ratio: 16 / 9; overflow: hidden; background: #2A2420; }
.trb-ed1-room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .trb-ed1-card:hover .trb-card-alt { opacity: 1; } }
@media (max-width: 900px) {
	.trb-ed1 { padding: 0 16px; }
	.trb-ed1-row { margin-top: 48px; gap: 16px; }
	.trb-ed1-pic { aspect-ratio: 3 / 4; }
	.trb-ed1-name { font-size: 17px; }
	.trb-ed1-price { font-size: 14px; }
	.trb-ed1-room { margin: 16px -16px 0; }
}
/* covers of the Custom & Bespoke pages: the breadcrumb at the top of the text column */
.trb-cov-cx .trb-cov-t { justify-content: space-between; gap: 40px; }
.trb-cov-crumb a { color: inherit; text-decoration: none; }
.trb-cov-crumb span { margin: 0 6px; }
@media (max-width: 900px) { .trb-cov-cx .trb-cov-t { gap: 20px; } }
/* Bespoke: the step and its text first, the picture under it, on phones too */
@media (max-width: 900px) {
	.trb-bk-row.is-brief .trb-bk-t, .trb-bk-row.is-design .trb-bk-t { order: 0; }
	.trb-bk-row .trb-bk-m { order: 1; }
}
/* Bespoke: the Bali Villa, a carousel of large immersive photos, the text under it */
.trb-bk-case2 { margin-top: 120px; padding-top: 40px; border-top: 1px solid #1E1A17; }
.trb-bk-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -40px; padding: 0 40px; scroll-padding: 0 40px; }
.trb-bk-rail::-webkit-scrollbar { display: none; }
.trb-bk-slide { position: relative; margin: 0; flex: 0 0 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 140px); overflow: hidden; scroll-snap-align: start; background: #2A2420; }
.trb-bk-slide img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.trb-bk-case-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.trb-bk-case2 .trb-bk-case-t { margin-top: 28px; padding-bottom: 0; }
@media (max-width: 900px) {
	.trb-bk-case2 { margin-top: 72px; padding-top: 28px; }
	.trb-bk-rail { margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; gap: 8px; }
	.trb-bk-slide { aspect-ratio: 4 / 5; max-height: none; flex-basis: 92%; }
	.trb-bk-case-nav { display: none; }
}
/* The Lab on phones: Editions / Artworks / Bespoke and the photos of The Lab as carousels; the address box above them */
.trb-lab-about.is-m .trb-lab-three { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; margin-right: -16px; padding-right: 16px; }
.trb-lab-about.is-m .trb-lab-three::-webkit-scrollbar { display: none; }
.trb-lab-about.is-m .trb-lab-three > * { flex: 0 0 82%; scroll-snap-align: start; }
.trb-lab-box-m { margin-top: 20px; }
.trb-lab-rail { margin-top: 16px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
.trb-lab-rail::-webkit-scrollbar { display: none; }
.trb-lab-rail-i { margin: 0; flex: 0 0 80%; scroll-snap-align: start; }
.trb-lab-rail-p { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.trb-lab-rail-p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Trade on phones: the services and the benefits of the program as carousels, so the page stays short */
.trb-ts.is-m .trb-ts-grid, .trb-ts.is-m .trb-ts-more-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; margin-right: -16px; padding-right: 16px; }
.trb-ts.is-m .trb-ts-grid::-webkit-scrollbar, .trb-ts.is-m .trb-ts-more-grid::-webkit-scrollbar { display: none; }
.trb-ts.is-m .trb-ts-card, .trb-ts.is-m .trb-ts-mi { flex: 0 0 82%; scroll-snap-align: start; min-width: 0; }
/* Samples: the selection in the request panel, as in a bag */
.trb-smp-list { list-style: none; margin: 4px 0 16px; padding: 0; border-top: 1px solid #E4E4E4; }
.trb-smp-li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 32px; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #E4E4E4; font-size: 14px; }
.trb-smp-li-sw { width: 44px; height: 44px; background: #E9E4DA; overflow: hidden; display: block; }
.trb-smp-li-sw img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trb-smp-li-x { width: 32px; height: 32px; border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: #6F6F6F; }
.trb-smp-li-x:hover { color: #111; }

/* Artworks: one large block per series on the Artworks page */
.trb-awb { display: flex; flex-direction: column; gap: 120px; margin-top: 80px; }
.trb-awb-b { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.trb-awb-b.is-rev { grid-template-columns: 5fr 7fr; }
.trb-awb-b.is-rev .trb-awb-pic { order: 2; }
.trb-awb-pic { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #2A2420; }
.trb-awb-pic img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.trb-awb-pic.is-cut { background: #E4D9C2; }
.trb-awb-pic img.is-cut { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.trb-awb-b:hover .trb-awb-pic img { transform: scale(1.03); }
.trb-awb-t { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.trb-board .trb-awb-n { margin: 0; font-size: clamp(40px, 4.4vw, 64px); font-weight: 300; line-height: 1; letter-spacing: -.01em; }
.trb-awb-n a { color: inherit; text-decoration: none; }
.trb-awb-t > .lab2 { margin: -8px 0 0; }
.trb-awb-works { display: flex; align-items: flex-end; gap: 14px; margin: 8px 0 4px; }
.trb-awb-w { display: flex; align-items: flex-end; justify-content: center; width: 96px; height: 112px; }
.trb-awb-w img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; mix-blend-mode: multiply; }
@media (max-width: 900px) {
	.trb-awb { gap: 72px; margin-top: 48px; }
	.trb-awb-b, .trb-awb-b.is-rev { grid-template-columns: 1fr; gap: 20px; }
	.trb-awb-b.is-rev .trb-awb-pic { order: 0; }
	.trb-board .trb-awb-n { font-size: 40px; }
	.trb-awb-t { gap: 16px; }
	.trb-awb-w { width: 30%; max-width: 96px; height: 96px; }
}

/* Artworks: the page of one series — the gallery: dark cover, plaster wall, museum labels */
.trb-cov-art { background: #1F1B18; color: #EFEAE3; }
.trb-cov-art h1, .trb-cov-art .trb-cov-lede, .trb-cov-art .trb-cov-crumb, .trb-cov-art .trb-cov-crumb a { color: #EFEAE3 !important; }
.trb-cov-art .trb-cov-lede { opacity: .82; }
.trb-cov-art .trb-cov-crumb { opacity: .7; }
.trb-as-count { margin: 0; opacity: .6; }
.trb-cov-art .trb-cov-img.is-cut { background: #E9E5DF; }
.trb-cov-art .trb-cov-img img.is-cut { inset: 10%; width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.trb-as-story { padding: 140px 40px; display: flex; justify-content: center; }
.trb-as-say { max-width: 880px; }
.trb-as-say p { margin: 0 0 1em; font-size: clamp(24px, 2.3vw, 32px); font-weight: 300; line-height: 1.38; }
.trb-as-say p:last-child { margin-bottom: 0; }
.trb-as-hang { display: flex; flex-direction: column; gap: 140px; padding: 0 40px; }
.trb-as-w { display: grid; grid-template-columns: 7fr 4fr; gap: 64px; align-items: end; }
.trb-as-w.is-rev { grid-template-columns: 4fr 7fr; }
.trb-as-w.is-rev .trb-as-wall { order: 2; }
.trb-as-w.is-rev .trb-as-label { justify-self: end; }
.trb-as-wall { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 9% 12%; background: #E9E5DF; box-sizing: border-box; }
.trb-as-wall img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.trb-as-w:hover .trb-as-wall img { transform: translateY(-6px); }
.trb-as-label { max-width: 340px; padding-left: 20px; border-left: 1px solid #111; display: flex; flex-direction: column; gap: 10px; }
.trb-as-n { margin: 0; font-size: 28px; font-weight: 300; line-height: 1.1; }
.trb-as-n a { color: inherit; text-decoration: none; }
.trb-as-spec { margin: 0; font-size: 13px; line-height: 1.6; color: #6B6259; }
.trb-as-sub { margin: 0; }
.trb-as-price, .trb-as-price .amount { font-size: 14px; color: #111; }
.trb-as-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 6px; }
.trb-as-mood { position: relative; margin: 0 -40px; aspect-ratio: 16 / 9; overflow: hidden; background: #2A2420; }
.trb-as-mood img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trb-as-more { margin-top: 140px; padding: 0 40px; }
.trb-as-more-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.trb-as-more-head h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); font-weight: 300; line-height: 1; }
.trb-as-more .trb-an-index { margin-top: 32px; }
.trb-as-wallband { padding: 0 40px; }
.trb-as-com { margin: 120px 40px 0; padding: 48px 0 0; border-top: 1px solid #E4E4E4; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.trb-as-com p { margin: 0; font-size: 20px; font-weight: 300; line-height: 1.45; max-width: 46ch; }
@media (max-width: 900px) {
	.trb-as-story { padding: 64px 16px; }
	.trb-as-say p { font-size: 22px; }
	.trb-as-hang { gap: 72px; padding: 0 16px; }
	.trb-as-w, .trb-as-w.is-rev { grid-template-columns: 1fr; gap: 18px; }
	.trb-as-w.is-rev .trb-as-wall { order: 0; }
	.trb-as-w.is-rev .trb-as-label { justify-self: start; }
	.trb-as-wall { aspect-ratio: 1 / 1; padding: 10%; }
	.trb-as-n { font-size: 24px; }
	.trb-as-mood { margin: 0 -16px; aspect-ratio: 4 / 5; }
	.trb-as-more { margin-top: 88px; padding: 0 16px; }
	.trb-as-more-head h2 { font-size: 30px; }
	.trb-as-wallband { padding: 0 16px; }
	.trb-as-com { margin: 72px 16px 0; padding-top: 32px; flex-direction: column; align-items: flex-start; }
	.trb-as-com p { font-size: 18px; }
}

/* ===== 0.4.80 (Nich 13/11, second mobile review) ===== */
/* no white band between the menu bar and the first photo on phones: the mobile board is not pushed down by the
   hidden desktop board before it */
.is-layout-flow > .trb-board-d:first-child + .trb-board-m { margin-block-start: 0 !important; }
/* Custom rugs and Bespoke rugs: the cover takes the whole width */
.trb-cx > .trb-cov-cx { margin-left: -40px; margin-right: -40px; }
@media (max-width: 900px) { .trb-cx > .trb-cov-cx { margin-left: -16px; margin-right: -16px; } }
/* product page on phones: "See it in your room" and "Custom" right under Add to bag */
@media (max-width: 900px) { .trb-pp:not(.trb-pp-art) .trb-buy-more { margin-top: -22px; } }

/* cross-sell ("Also in…") and the home page New in: the cards of the Labyrinthe page — name in regular weight,
   price light beneath, aligned left, no collection label, no colour dots */
.trb-related2 .trb-card:not(.trb-card-art) .trb-card-meta, .trb-newin .trb-ni-meta { align-items: flex-start !important; text-align: left !important; gap: 4px; }
.trb-related2 .trb-card:not(.trb-card-art) .trb-card-meta { margin-top: 2px !important; }
.trb-related2 .trb-card:not(.trb-card-art) .trb-card-ref, .trb-newin .trb-ni-meta .trb-card-ref { font-size: 20px; font-weight: 400; letter-spacing: 0; line-height: 1.25; text-transform: none; }
.trb-related2 .trb-card:not(.trb-card-art) .trb-card-price, .trb-newin .trb-ni-meta .trb-card-price { margin-top: 0; font-size: 15px; font-weight: 300; color: #6B6259; }
.trb-related2 .trb-card:not(.trb-card-art) .trb-card-coll, .trb-newin .trb-ni-meta .trb-card-coll, .trb-related2 .trb-card:not(.trb-card-art) .trb-dots { display: none; }
@media (max-width: 900px) {
	.trb-related2 .trb-card:not(.trb-card-art) .trb-card-ref, .trb-newin .trb-ni-meta .trb-card-ref { font-size: 16px; }
	.trb-related2 .trb-card:not(.trb-card-art) .trb-card-price, .trb-newin .trb-ni-meta .trb-card-price { font-size: 14px; }
}

/* Artworks, one block per series: the title first, then the large photo, the three works under it, the button last */
.trb-awb-b, .trb-awb-b.is-rev { grid-template-columns: 7fr 5fr; grid-template-rows: auto 1fr auto auto auto; grid-template-areas: "n n" "pic ." "pic c" "pic w" "pic cta"; gap: 0 64px; align-items: start; }
.trb-awb-b.is-rev { grid-template-columns: 5fr 7fr; grid-template-areas: "n n" ". pic" "c pic" "w pic" "cta pic"; }
.trb-awb-t { display: contents; }
.trb-awb-n { grid-area: n; margin-bottom: 28px !important; }
.trb-awb-b.is-rev .trb-awb-n { text-align: right; }
.trb-awb-pic { grid-area: pic; }
.trb-awb-c { grid-area: c; margin: 0 0 12px !important; }
.trb-awb-works { grid-area: w; margin: 0 0 24px; }
.trb-awb-cta { grid-area: cta; justify-self: start; }
@media (max-width: 900px) {
	.trb-awb-b, .trb-awb-b.is-rev { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "n" "pic" "w" "cta"; gap: 0; }
	.trb-awb-b.is-rev .trb-awb-n { text-align: left; }
	.trb-awb-n { margin-bottom: 16px !important; }
	.trb-awb-c { display: none; }
	.trb-awb-works { margin: 16px 0 20px; }
}

/* Artworks: Editioned series / One of a kind / Seen before bought, a carousel on phones */
@media (max-width: 900px) {
	.trb-aw-pillars { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -16px; padding-right: 16px !important; }
	.trb-aw-pillars::-webkit-scrollbar { display: none; }
	.trb-aw-pillars > div { flex: 0 0 76%; scroll-snap-align: start; }
}

/* Samples: the three steps on one compact line, number and title only */
.trb-smp-steps { gap: 12px; }
.trb-smp-steps li { flex-direction: row; align-items: baseline; gap: 8px; padding-top: 10px; }
.trb-smp-steps li > .mut:last-child { display: none; }
.trb-smp-step-h { font-size: 15px; }
@media (max-width: 900px) {
	.trb-smp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.trb-smp-steps li { flex-direction: column; gap: 2px; padding-top: 8px; }
	.trb-smp-step-h { font-size: 13px; }
}

/* Bespoke: the Bali Villa introduced as a case study; one photo takes the whole width */
.trb-board .trb-bk-case-h { margin: 0 0 28px; font-size: clamp(30px, 3.4vw, 48px); }
.trb-bk-rail.is-one { margin: 0 -40px; padding: 0; }
.trb-bk-rail.is-one .trb-bk-slide { flex-basis: 100%; }
@media (max-width: 900px) {
	.trb-board .trb-bk-case-h { margin-bottom: 18px; font-size: 30px; }
	.trb-bk-rail.is-one { margin: 0 -16px; }
	.trb-bk-rail.is-one .trb-bk-slide { flex-basis: 100%; aspect-ratio: 4 / 5; }
}

/* The Lab: "Our story" under the photos of Nich */
.trb-nich-cta { margin-top: 32px; }
@media (max-width: 900px) { .trb-nich-cta { margin-top: 24px; } }

/* ===== 0.4.82 (Nich 13/11) ===== */
/* Artworks blocks: the three small works stay in their own row, under the large photo */
.trb-awb-w { position: relative; overflow: hidden; }
.trb-board .trb-awb-w img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: contain; object-position: 50% 100%; }
/* a plain underlined link (Custom page, "See samples") */
a.trb-ulink { align-self: flex-start; margin-top: 4px; font-family: var(--trb-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #111; text-decoration: underline; text-underline-offset: 4px; }
a.trb-ulink:hover { color: #4A3F38; }
/* Bespoke, case study: three photos of the villa, a large one and two beside it */
.trb-bk-three { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 16 / 8; }
.trb-bk-ph { position: relative; margin: 0; overflow: hidden; background: #2A2420; }
.trb-bk-ph.is-big { grid-row: 1 / 3; }
.trb-bk-ph img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
	.trb-bk-three { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; aspect-ratio: auto; gap: 8px; margin: 0 -16px; }
	.trb-bk-ph { aspect-ratio: 4 / 3; }
	.trb-bk-ph.is-big { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* ===== 0.4.84 (Nich 13/11): Labyrinthe, family by family ===== */
.trb-cst .trb-cst-fam { margin: 120px 0 0; font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.trb-cst .trb-cst-fam + .trb-cst-row { margin-top: 40px; }
@media (max-width: 900px) {
	.trb-cst .trb-cst-fam { margin-top: 64px; font-size: 40px; }
	.trb-cst .trb-cst-fam + .trb-cst-row { margin-top: 24px; }
}
.trb-cst-pieces > .trb-cst-fam:first-child { margin-top: 0; }

/* ===== 0.4.88 (Nich 13/11) ===== */
.trb-faq-pick .trb-faq summary { font-size: 15px; line-height: 1.45; padding: 16px 0; }
.trb-faq-pick .trb-faq p { font-size: 14px; line-height: 1.7; color: #6F6F6F; }
/* Editions, desktop: two by two as on the Labyrinthe page (phones keep one piece per row) */
.trb-cst.trb-cst-ed .trb-cst-pieces { padding-top: 56px; }
.trb-cst.trb-cst-ed .trb-cst-row:first-child { margin-top: 0; }
/* project carousels of the Custom and Bespoke pages: wider frames, so the rugs are less cropped */
.trb-tpj.is-wide .trb-tpj-track > .trb-tpj-card { flex-basis: clamp(320px, 40vw, 680px); }
.trb-tpj.is-wide .trb-tpj-img { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .trb-tpj.is-wide .trb-tpj-track > .trb-tpj-card { flex-basis: 86%; } .trb-tpj.is-wide .trb-tpj-img { aspect-ratio: 4 / 3; } }

/* Collections page: the four collections as large blocks (cc-tapis.com/collections) */
.trb-cix { padding: 72px 40px 0; }
.trb-board .trb-cix-h { margin: 0 0 64px; text-align: center; font-size: clamp(44px, 5vw, 72px); }
.trb-cix-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 88px 32px; max-width: 1240px; margin: 0 auto; }
.trb-cix-item { display: flex; flex-direction: column; gap: 18px; color: inherit; text-decoration: none; }
.trb-cix-pic { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #F4F4F4; }
.trb-cix-pic img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.trb-cix-item:hover .trb-cix-pic img { transform: scale(1.03); }
.trb-cix-t { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.trb-cix-n { font-size: 24px; font-weight: 600; letter-spacing: -.02em; text-transform: uppercase; line-height: 1; }
.trb-cix-all { margin: 88px 0 0; text-align: center; }
@media (max-width: 900px) {
	.trb-cix { padding: 40px 16px 0; }
	.trb-board .trb-cix-h { margin-bottom: 32px; font-size: 44px; }
	.trb-cix-grid { grid-template-columns: 1fr; gap: 48px; }
	.trb-cix-n { font-size: 20px; }
	.trb-cix-all { margin-top: 56px; }
}

/* Shop all: the head, the style and price chips, the cards of the collection pages (colours kept) */
.trb-shopall-head { padding: 48px 40px 0; display: flex; flex-direction: column; gap: 14px; }
.trb-shopall-head a { color: inherit; text-decoration: none; }
.trb-board.trb-shopall-head h1 { margin: 0; font-size: clamp(48px, 6vw, 96px); }
.trb-sa-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding: 28px 0 24px; border-bottom: 1px solid #E4E4E4; margin-bottom: 40px; }
.trb-sa-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.trb-sa-count { margin-left: auto; }
.trb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
a.trb-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid rgba(17, 17, 17, .18); color: #111; text-decoration: none; font-family: var(--trb-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
a.trb-chip:hover { border-color: #4A3F38; }
a.trb-chip[aria-current="true"] { background: #4A3F38; border-color: #4A3F38; color: #EFEAE3; }
.trb-chip-n { opacity: .55; }
.trb-listing.is-shopall .trb-card:not(.trb-card-art) .trb-card-meta { align-items: flex-start !important; text-align: left !important; gap: 4px; margin-top: 2px !important; }
.trb-listing.is-shopall .trb-card:not(.trb-card-art) .trb-card-ref { font-size: 20px; font-weight: 400; letter-spacing: 0; line-height: 1.25; text-transform: none; }
.trb-listing.is-shopall .trb-card:not(.trb-card-art) .trb-card-price { margin-top: 0; font-size: 15px; font-weight: 300; color: #6B6259; }
.trb-listing.is-shopall .trb-card:not(.trb-card-art) .trb-card-coll { display: none; }
.trb-listing.is-shopall .trb-dots { justify-content: flex-start; }
@media (max-width: 900px) {
	.trb-shopall-head { padding: 28px 16px 0; }
	.trb-sa-bar { gap: 14px; padding: 18px 0 16px; margin-bottom: 24px; }
	.trb-sa-group { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
	.trb-sa-group::-webkit-scrollbar { display: none; }
	.trb-chips { flex-wrap: nowrap; }
	a.trb-chip { flex: none; height: 32px; padding: 0 12px; }
	.trb-sa-count { margin-left: 0; }
	.trb-listing.is-shopall .trb-card:not(.trb-card-art) .trb-card-ref { font-size: 16px; }
	.trb-listing.is-shopall .trb-card:not(.trb-card-art) .trb-card-price { font-size: 14px; }
}

/* menu: Collections opens its own list beside (Shop all, then the four collections) */
.trb-menu-links { position: relative; }
.trb-menu-subbtn { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: clamp(40px, 5vw, 64px); font-weight: 600; letter-spacing: -.035em; line-height: .95; text-transform: uppercase; font-family: inherit; text-align: left; }
.trb-menu-subbtn:hover { opacity: .6; }
.trb-menu-has.is-open > .trb-menu-subbtn { opacity: 1; }
.trb-menu-sub { list-style: none; margin: 0; padding: 0; display: none; }
.trb-menu-has.is-open > .trb-menu-sub { display: flex; }
@media (min-width: 901px) {
	.trb-menu-sub { position: absolute; top: 32px; left: max(46%, 520px); flex-direction: column; gap: 10px; padding-left: 32px; border-left: 1px solid rgba(17, 17, 17, .18); }
	.trb-menu-links .trb-menu-sub a { font-size: clamp(24px, 2.6vw, 36px); font-weight: 400; letter-spacing: -.02em; text-transform: none; }
	.trb-menu-links .trb-menu-sub .is-all a { font-weight: 600; text-transform: uppercase; }
}
@media (max-width: 900px) {
	.trb-menu-subbtn { font-size: 34px; line-height: 1; }
	.trb-menu-sub { flex-direction: column; gap: 6px; padding: 10px 0 12px 14px; border-left: 1px solid rgba(17, 17, 17, .18); margin: 6px 0 4px 2px; }
	.trb-menu-links .trb-menu-sub a { font-size: 20px; font-weight: 400; letter-spacing: -.01em; text-transform: none; line-height: 1.15; }
	.trb-menu-links .trb-menu-sub .is-all a { font-weight: 600; text-transform: uppercase; }
}

/* 0.4.89 (Nich 14/11): new home cover (saffron blocks, AMIRA 5497): light type on a soft dark fade at the bottom, so the line reads on the wool */
.trb-hero-gallery .wp-block-cover__inner-container { position: relative; z-index: 2; }
.trb-hero-gallery::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(20, 17, 14, .55) 0%, rgba(20, 17, 14, .28) 38%, rgba(20, 17, 14, 0) 70%); }
.trb-hero-gallery .trb-lab { color: rgba(255, 255, 255, .86); }
.trb-hero-gallery .trb-hero-title { color: #fff; }

/* 0.4.90 (Nich 14/11): the collection pages open on an immersive photo (full width, full height), the name over it, as the home and the projects */
.trb-cst-hero.is-full { position: relative; display: block; min-height: calc(100vh - var(--trb-hh, 96px)); background: #2A2420; color: #fff; }
.trb-cst-hero.is-full .trb-cst-amb.is-hero { position: absolute; inset: 0; min-height: 0; aspect-ratio: auto; }
.trb-cst-hero.is-full::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(20, 17, 14, .62) 0%, rgba(20, 17, 14, .3) 34%, rgba(20, 17, 14, 0) 62%), linear-gradient(to bottom, rgba(20, 17, 14, .28) 0%, rgba(20, 17, 14, 0) 18%); }
.trb-cst-hero.is-full .trb-cst-hero-t { position: relative; z-index: 2; min-height: inherit; padding: 28px 40px 64px; }
.trb-cst-hero.is-full nav, .trb-cst-hero.is-full .mut { color: rgba(255, 255, 255, .86); }
.trb-cst-hero.is-full h1, .trb-cst-hero.is-full .trb-cst-lede, .trb-cst-hero.is-full .trb-tlink { color: #fff; }
.trb-cst-hero.is-full .trb-cst-lede { max-width: 38ch; }
@media (max-width: 900px) {
	.trb-cst-hero.is-full { min-height: 82svh; }
	.trb-cst-hero.is-full .trb-cst-amb.is-hero { order: 0; aspect-ratio: auto; }
	.trb-cst-hero.is-full .trb-cst-hero-t { padding: 18px 16px 36px; gap: 20px; }
	.trb-cst-hero.is-full .trb-cst-hero-t nav { order: 0; }
}
.trb-cst-hero.is-full { min-height: calc(100svh - var(--trb-hh, 64px) - var(--trb-ab, 32px)); }
.trb-cst-hero.is-full .trb-cst-hero-t { padding-bottom: 48px; }
.trb-cst-hero.is-full h1 { margin-bottom: 20px; }
.trb-cst-hero.is-full .trb-cst-lede { margin-bottom: 20px; }
@media (max-width: 900px) { .trb-cst-hero.is-full { min-height: 82svh; } .trb-cst-hero.is-full .trb-cst-hero-t { padding-bottom: 32px; } }
.trb-cst-hero.is-full .trb-cst-hero-t { box-sizing: border-box; }

/* 0.4.92 (Nich 16/11): Custom / Bespoke projects carousels — the last card ("View all projects") takes the 4:3 frame of the photos (it was 3:4, hence the empty band under them), and a line on the service sits between the photos and the bar */
.trb-tpj.is-wide .trb-tpj-track .trb-tpj-all .trb-tpj-all-in { aspect-ratio: 4 / 3; }
.trb-tpj-txt { max-width: 62ch; margin: 32px 0 0; font-size: 15px; line-height: 1.7; color: #4A4440; }
@media (max-width: 900px) { .trb-tpj-txt { margin-top: 24px; font-size: 14px; } }

/* 0.4.92 (Nich 16/11): Artworks blocks on a laptop — the photo and, beside it, the works as large tiles (2 × 2), the last tile leads to the series; phones keep the photo and the three small works under it */
.trb-awb-mos { display: none; }
@media (min-width: 901px) {
	.trb-awb-b, .trb-awb-b.is-rev { grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; grid-template-areas: "n n" "pic mos"; gap: 0 16px; align-items: stretch; }
	.trb-awb-b.is-rev { grid-template-columns: 5fr 7fr; grid-template-areas: "n n" "mos pic"; }
	.trb-awb-c, .trb-awb-works, .trb-awb-cta { display: none !important; }
	.trb-awb-mos { grid-area: mos; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; color: inherit; text-decoration: none; }
	.trb-awb-tile { position: relative; overflow: hidden; background: #EAE1CF; }
	.trb-awb-tile img.trb-awb-ti { position: absolute; inset: 12%; width: 76% !important; height: 76% !important; max-width: none; object-fit: contain; mix-blend-mode: multiply; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
	.trb-awb-mos:hover .trb-awb-tile img.trb-awb-ti { transform: scale(1.04); }
	.trb-awb-tile.is-go { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 16px; padding: 28px; background: #F1EADD; }
	.trb-awb-tile.is-go .pilld { pointer-events: none; }
	.trb-awb-mos.is-n2 .trb-awb-tile.is-go { grid-column: 1 / 3; }
	.trb-awb-mos.is-n1 .trb-awb-tile:first-child { grid-row: 1 / 2; grid-column: 1 / 3; }
	.trb-awb-mos.is-n1 .trb-awb-tile.is-go { grid-column: 1 / 3; }
}

/* 0.4.93 (Nich 16/11): Bespoke, how it works, third step: the two finished La Marée rugs, cut out, side by side on the paper tone */
.trb-bk-row.is-made { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); margin-top: 120px; }
.trb-bk-m.is-made { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trb-bk-made-r { display: block; background: #F4F2EE; padding: 6% 4%; }
.trb-bk-made-r img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
@media (max-width: 900px) {
	.trb-bk-row.is-made { grid-template-columns: 1fr; gap: 24px; margin-top: 72px; }
	.trb-bk-m.is-made { grid-template-columns: 1fr; gap: 10px; }
}
/* the finished rugs cut out, floating on white with a soft shadow (Nich 16/11) */
.trb-bk-m.is-made { gap: 24px; align-items: center; }
.trb-bk-made-r { background: transparent; padding: 0; }
.trb-bk-made-r img { mix-blend-mode: normal; } /* the soft shadow is in the image */
@media (max-width: 900px) { .trb-bk-m.is-made { gap: 36px; padding: 8px 12px 16px; } }

/* 0.4.96 (Nich 18/11): no Collections sub-menu (Collections opens the collections page); on that page, Shop all is a wide block under the four collections; the Shop all page opens on an immersive photo */
.trb-cix-all { position: relative; display: block; max-width: 1240px; margin: 104px auto 0; aspect-ratio: 16 / 7; overflow: hidden; color: #fff; text-decoration: none; background: #2A2420; text-align: left; }
.trb-cix-all-pic, .trb-cix-all-pic img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trb-cix-all-pic img.fill { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.trb-cix-all:hover .trb-cix-all-pic img { transform: scale(1.03); }
.trb-cix-all::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 17, 14, .58) 0%, rgba(20, 17, 14, .2) 45%, rgba(20, 17, 14, 0) 70%); }
.trb-cix-all-t { position: absolute; left: 40px; right: 40px; bottom: 36px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.trb-cix-all .trb-cix-n { font-size: clamp(32px, 4vw, 56px); }
.trb-cix-all .lab2 { color: rgba(255, 255, 255, .86); }
.trb-cix-all .pilld { margin-top: 8px; pointer-events: none; }
@media (max-width: 900px) {
	.trb-cix-all { margin-top: 56px; aspect-ratio: 4 / 5; }
	.trb-cix-all-t { left: 16px; right: 16px; bottom: 24px; }
}
.trb-sa-hero { margin-bottom: 0; }
/* 0.4.96: a series' own text under its title, in the cover */
.trb-cov-lede.is-long { max-width: 52ch; font-size: 16px; line-height: 1.65; }
@media (max-width: 900px) { .trb-cov-lede.is-long { font-size: 15px; } }
.trb-cst-hero.is-full.trb-sa-hero { margin: 0; }
.trb-sa-hero .trb-cst-amb.is-hero { position: absolute; inset: 0; }
.trb-sa-hero .trb-cst-amb.is-hero img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trb-sa-hero .trb-cst-hero-t > div { position: relative; }

/* 0.4.99 (Nich 18/11): the Journal (/journal/, /fr/journal/), its stories, the three latest on the home page */
.trb-jn { padding: 72px 40px 0; }
.trb-jn-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin: 0 auto 56px; max-width: 760px; }
.trb-board .trb-jn-head h1 { margin: 0; font-size: clamp(56px, 7vw, 104px); }
.trb-jn-lede { margin: 0; font-size: 18px; font-weight: 300; line-height: 1.55; color: #444; }
.trb-jn-empty { text-align: center; margin: 0 0 96px; }
.trb-jn-pic { position: relative; display: block; overflow: hidden; background: #F4F4F4; }
.trb-jn-pic img.fill { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.trb-jn-noimg { position: absolute; inset: 0; background: #EFEAE3; }
.trb-jn-meta { font-family: var(--trb-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #6F6F6F; }
.trb-jn-x { font-size: 15px; font-weight: 300; line-height: 1.5; color: #444; }
/* the featured story */
.trb-jn-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; max-width: 1360px; margin: 0 auto 88px; }
.trb-jn-lead .trb-jn-pic { aspect-ratio: 4 / 3; }
.trb-jn-lead:hover .trb-jn-pic img, .trb-jn-card:hover .trb-jn-pic img { transform: scale(1.03); }
.trb-jn-lead-t { display: flex; flex-direction: column; gap: 18px; }
.trb-jn-h { font-size: clamp(30px, 3vw, 44px); font-weight: 600; letter-spacing: -.03em; line-height: 1; text-transform: uppercase; text-wrap: balance; }
.trb-jn-lead .trb-jn-x { font-size: 17px; }
.trb-jn-lead .trb-ulink, .trb-jn-home-h .trb-ulink { font-family: var(--trb-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
/* filters and grid */
.trb-jn-list { max-width: 1360px; margin: 0 auto; }
.trb-jn-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #111; padding: 18px 0; margin-bottom: 32px; }
.trb-jn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.trb-jn-chip { min-height: 36px; padding: 0 16px; border: 1px solid #E4E4E4; background: #fff; color: #111; font-family: var(--trb-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.trb-jn-chip:hover { border-color: #4A3F38; }
.trb-jn-chip.is-on { background: #4A3F38; border-color: #4A3F38; color: #EFEAE3; }
.trb-jn-count { font-family: var(--trb-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.trb-jn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.trb-jn-card { display: flex; flex-direction: column; gap: 12px; }
.trb-jn-card[hidden] { display: none; }
.trb-jn-card .trb-jn-pic { aspect-ratio: 4 / 5; margin-bottom: 4px; }
.trb-jn-t { font-size: 21px; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.trb-jn-card .trb-jn-x { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.trb-jn-morep { text-align: center; margin: 56px 0 0; }
.trb-jn-morep .pilld { gap: 12px; }
/* the archive of the former magazine */
.trb-jn-arch { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; max-width: 1360px; margin: 104px auto 0; border-top: 1px solid #111; padding-top: 28px; }
.trb-board .trb-jn-arch h2 { margin: 0 0 12px; font-size: 32px; }
.trb-jn-arch p { margin: 0; font-size: 15px; line-height: 1.5; }
.trb-jn-arch-l a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid #E4E4E4; font-size: 17px; }
.trb-jn-arch-l a:hover { color: #4A3F38; }
/* a story */
.trb-jn-page { padding-top: 56px; }
.trb-jn-art-h { display: flex; flex-direction: column; gap: 22px; max-width: 920px; margin: 0 auto 48px; }
.trb-jn-art-h nav a:hover { color: #4A3F38; }
.trb-board .trb-jn-art-h h1 { margin: 0; font-size: clamp(40px, 5vw, 72px); }
.trb-jn-art-x { margin: 0; max-width: 46ch; font-size: 20px; font-weight: 300; line-height: 1.5; }
.trb-jn-art-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; border-top: 1px solid #E4E4E4; padding-top: 14px; }
.trb-jn-art-pic { position: relative; margin: 0 -40px; aspect-ratio: 16 / 8; overflow: hidden; background: #2A2420; }
.trb-jn-art-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trb-jn-art-body { max-width: 720px; margin: 56px auto 0; }
.trb-jn-short { background: #EFEAE3; padding: 24px 28px; margin: 0 0 40px; }
.trb-board .trb-jn-short h2 { margin: 0 0 10px; font-family: var(--trb-mono); font-size: 10.5px; font-weight: 400 !important; letter-spacing: .06em !important; color: #4A3F38; line-height: 1.4 !important; }
.trb-jn-short ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; }
.trb-jn-art-content { font-size: 17px; font-weight: 300; line-height: 1.75; color: #222; }
.trb-jn-art-content > * { margin: 0 0 22px; }
.trb-board .trb-jn-art-content h2, .trb-board .trb-jn-art-content h3 { margin: 44px 0 14px; text-transform: none; font-size: 26px; font-weight: 600 !important; letter-spacing: -.02em !important; line-height: 1.15 !important; color: #111; }
.trb-board .trb-jn-art-content h3 { font-size: 20px; }
.trb-jn-art-content a { text-decoration: underline; text-underline-offset: 4px; }
.trb-jn-art-content a:hover { color: #4A3F38; }
.trb-jn-art-content img { max-width: 100%; height: auto; display: block; }
.trb-jn-art-content figure { margin: 36px 0; }
.trb-jn-art-content figcaption { margin-top: 10px; font-family: var(--trb-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #6F6F6F; line-height: 1.5; }
.trb-jn-art-content .alignwide, .trb-jn-art-content .wp-block-gallery { margin-left: -120px; margin-right: -120px; }
.trb-jn-art-content ul, .trb-jn-art-content ol { padding-left: 20px; }
.trb-jn-art-content blockquote { margin: 36px 0; padding-left: 24px; border-left: 2px solid #4A3F38; font-size: 21px; line-height: 1.5; color: #111; }
.trb-jn-art-cta { margin: 48px 0 0; }
.trb-jn-art-cta .pilld { gap: 12px; }
.trb-jn-more { max-width: 1360px; margin: 112px auto 0; }
.trb-board .trb-jn-more > h2 { margin: 0 0 32px; padding-bottom: 16px; border-bottom: 1px solid #111; font-size: 36px; }
/* the three latest stories, at the end of the home page */
.trb-jn-home { margin-top: 0; padding-bottom: 24px; }
.trb-jn-home-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 32px; padding-bottom: 16px; border-bottom: 1px solid #111; }
.trb-board .trb-jn-home-h h2 { margin: 0; font-size: 36px; }
@media (max-width: 1100px) {
	.trb-jn-art-content .alignwide, .trb-jn-art-content .wp-block-gallery { margin-left: 0; margin-right: 0; }
}
@media (max-width: 900px) {
	.trb-jn { padding: 40px 16px 0; }
	.trb-jn-head { margin-bottom: 36px; gap: 14px; }
	.trb-board .trb-jn-head h1 { font-size: 56px; }
	.trb-jn-lede { font-size: 16px; }
	.trb-jn-lead { grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
	.trb-jn-lead .trb-jn-pic { aspect-ratio: 4 / 5; margin: 0 -16px; }
	.trb-jn-h { font-size: 30px; }
	.trb-jn-bar { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 24px; }
	.trb-jn-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
	.trb-jn-chips::-webkit-scrollbar { display: none; }
	.trb-jn-chip { flex: none; min-height: 44px; }
	.trb-jn-grid { grid-template-columns: 1fr; gap: 28px; }
	.trb-jn-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; row-gap: 8px; align-items: start; }
	.trb-jn-card .trb-jn-pic { grid-row: 1 / span 3; margin: 0; }
	.trb-jn-t { font-size: 19px; }
	.trb-jn-card .trb-jn-x { display: none; }
	.trb-jn-arch { grid-template-columns: 1fr; gap: 20px; margin-top: 72px; }
	.trb-jn-arch-l a { grid-template-columns: 48px minmax(0, 1fr) auto; font-size: 16px; min-height: 44px; }
	.trb-jn-page { padding-top: 28px; }
	.trb-jn-art-h { gap: 16px; margin-bottom: 28px; }
	.trb-board .trb-jn-art-h h1 { font-size: 38px; }
	.trb-jn-art-x { font-size: 17px; }
	.trb-jn-art-pic { margin: 0 -16px; aspect-ratio: 4 / 5; }
	.trb-jn-art-body { margin-top: 32px; }
	.trb-jn-short { padding: 20px; }
	.trb-jn-art-content { font-size: 16px; line-height: 1.7; }
	.trb-board .trb-jn-art-content h2 { font-size: 24px; margin-top: 36px; }
	.trb-jn-art-cta .pilld { display: flex; width: 100%; }
	.trb-jn-more { margin-top: 72px; }
	.trb-board .trb-jn-more > h2, .trb-board .trb-jn-home-h h2 { font-size: 28px; }
}

/* 0.5.0 (Nich 18/11): the description of the collection (three paragraphs), under the cover of the collection page */
.trb-cst-desc { max-width: 760px; margin: 0 auto; padding: 112px 40px 104px; display: flex; flex-direction: column; gap: 22px; }
.trb-cst-desc p { margin: 0; font-size: 19px; font-weight: 300; line-height: 1.7; color: #222; text-wrap: pretty; }
.trb-cst-desc p:first-child { font-size: 24px; line-height: 1.5; color: #111; }
@media (max-width: 900px) {
	.trb-cst-desc { padding: 56px 16px 56px; gap: 18px; }
	.trb-cst-desc p { font-size: 16px; }
	.trb-cst-desc p:first-child { font-size: 19px; }
}
.trb-pp .trb-tab p + p { margin-top: 12px; }

/* 0.5.2 (Nich 18/11): the Collections page, a text under the title */
.trb-board .trb-cix-h { margin-bottom: 32px; }
.trb-cix-intro { max-width: 720px; margin: 0 auto 72px; display: flex; flex-direction: column; gap: 16px; text-align: center; }
.trb-cix-intro p { margin: 0; font-size: 19px; font-weight: 300; line-height: 1.65; color: #222; text-wrap: pretty; }
@media (max-width: 900px) {
	.trb-board .trb-cix-h { margin-bottom: 20px; }
	.trb-cix-intro { margin-bottom: 40px; gap: 12px; }
	.trb-cix-intro p { font-size: 16px; }
}

/* 0.5.4 (Nich 18/11): a rug page without the generic line: the tabs take the width, less empty space before the sizes */
.trb-pp-top.is-nodesc { grid-template-columns: minmax(0, 1fr); }
.trb-pp-top.is-nodesc .trb-pp-desc { display: none; }
.trb-pp:not(.trb-pp-art) .trb-pp-panel:has(.trb-pp-top.is-nodesc) .trb-pp-buy { margin-top: 32px; }
/* 0.5.4: the description of a collection, wider and lower: the first paragraph on the left, the rest on the right */
.trb-cst-desc { max-width: 1280px; padding: 80px 40px 16px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 64px; align-items: start; }
.trb-cst-desc p:first-child { grid-column: 1; grid-row: 1 / span 3; font-size: 26px; line-height: 1.4; }
.trb-cst-desc p:not(:first-child) { grid-column: 2; }
.trb-cst-desc p { font-size: 17px; line-height: 1.65; }
.trb-cst-desc + .trb-cst-pieces { padding-top: 56px; }
@media (max-width: 900px) {
	.trb-cst-desc { display: flex; padding: 48px 16px 8px; gap: 16px; }
	.trb-cst-desc p:first-child { font-size: 19px; }
	.trb-cst-desc p { font-size: 16px; }
	.trb-cst-desc + .trb-cst-pieces { padding-top: 32px; }
}

/* 0.5.5 (Nich 18/11): inspiration photos on a rug page, under Designed by Tribaliste (as benirugs.com) */
.trb-insp { position: relative; margin: clamp(72px, 8vw, 120px) 0 104px; } /* 0.5.6: the same space as inside Designed by Tribaliste */
.trb-insp-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 40px; scroll-padding: 0 40px; }
.trb-insp-track::-webkit-scrollbar { display: none; }
.trb-insp-fig { flex: 0 0 calc((100% - 24px) / 2); margin: 0; height: min(82vh, 860px); scroll-snap-align: start; background: #F4F4F4; overflow: hidden; }
.trb-insp-fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.trb-insp-b { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 1px solid #111; background: #fff; color: #111; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.trb-insp-b:hover { background: #4A3F38; border-color: #4A3F38; color: #fff; }
.trb-insp-b[hidden] { display: none; }
.trb-insp-b.is-prev { left: 52px; }
.trb-insp-b.is-next { right: 52px; }
@media (max-width: 900px) {
	.trb-insp { margin: 56px 0 64px; }
	.trb-insp-track { gap: 12px; padding: 0 16px; scroll-padding: 0 16px; }
	.trb-insp-fig { flex-basis: 86%; height: auto; aspect-ratio: 4 / 5; }
	.trb-insp-b { display: none; }
}

/* 0.6.0 (Nich 19/11): the inspiration band, uneven: a large photo, then a smaller one set lower, in turn; a title above */
.trb-insp-head { padding: 0 40px; margin: 0 0 32px; }
.trb-board .trb-insp-head h2, .trb-insp-head h2 { margin: 0; font-size: clamp(28px, 3vw, 44px); font-weight: 600; letter-spacing: -.03em; line-height: .95; text-transform: uppercase; }
.trb-insp-track { align-items: flex-start; }
.trb-insp-fig { flex-basis: 58%; height: min(78vh, 820px); }
.trb-insp-fig:nth-child(2n) { flex-basis: calc(42% - 24px); height: min(56vh, 580px); margin-top: min(22vh, 240px); }
.trb-insp-fig:nth-child(4n+3) { flex-basis: 40%; height: min(64vh, 680px); }
.trb-insp-b { top: auto; bottom: 24px; transform: none; }
@media (max-width: 900px) {
	.trb-insp-head { padding: 0 16px; margin-bottom: 20px; }
	.trb-insp-head h2 { font-size: 26px; }
	.trb-insp-fig, .trb-insp-fig:nth-child(4n+3) { flex-basis: 78%; height: auto; aspect-ratio: 4 / 5; }
	.trb-insp-fig:nth-child(2n) { flex-basis: 58%; height: auto; aspect-ratio: 3 / 4; margin-top: 64px; }
}

/* 0.6.3 (Nich 19/11): the articles of the former magazine (Notes): a gallery, not a magazine; calm type, more white space;
   Read also (image + title), a discreet link to the subject page; From the Journal on Materials, Production, Craftsmanship, Care */
.trb-jn-art.is-note .trb-jn-art-h { margin-bottom: 64px; }
.trb-jn-art.is-note .trb-jn-art-pic { background: #F8F8F8; }
.trb-jn-art.is-note .trb-jn-art-body { margin-top: 88px; }
.trb-jn-art.is-note .trb-jn-short { background: #F8F8F8; margin-bottom: 56px; }
.trb-jn-art.is-note .trb-jn-art-content { line-height: 1.8; color: #1B1A15; }
.trb-jn-art.is-note .trb-jn-art-content > * { margin-bottom: 24px; }
.trb-board .trb-jn-art.is-note .trb-jn-art-content h2 { margin: 64px 0 18px; font-size: 28px; font-weight: 400 !important; letter-spacing: -.01em !important; line-height: 1.2 !important; color: #1B1A15; }
.trb-board .trb-jn-art.is-note .trb-jn-art-content h3 { margin: 40px 0 12px; font-size: 20px; font-weight: 400 !important; letter-spacing: 0 !important; color: #1B1A15; }
.trb-jn-art.is-note .trb-jn-art-content strong { font-weight: 500; }
.trb-jn-art.is-note .trb-jn-art-content li { margin-bottom: 6px; }
.trb-jn-read { margin: 80px 0 0; border-top: 1px solid #E4E4E4; padding-top: 28px; }
.trb-board .trb-jn-read > h2 { margin: 0 0 24px; font-size: 22px; font-weight: 400 !important; letter-spacing: -.01em !important; text-transform: none; color: #1B1A15; }
.trb-jn-read-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.trb-jn-mini { display: flex; flex-direction: column; gap: 12px; }
.trb-jn-mini .trb-jn-pic { aspect-ratio: 4 / 3; }
.trb-jn-mini:hover .trb-jn-pic img { transform: scale(1.03); }
.trb-jn-mini-t { font-size: 16px; font-weight: 400; line-height: 1.3; color: #1B1A15; text-wrap: pretty; }
.trb-jn-mini:hover .trb-jn-mini-t { color: #4A3F38; }
.trb-jn-hub { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin: 40px 0 0; font-size: 14px; }
.trb-jn-hub a { text-decoration: underline; text-underline-offset: 4px; }
.trb-jn-hub a:hover { color: #4A3F38; }
.trb-jn-from-w { padding-top: 0; padding-bottom: 96px; }
.trb-jn-from { max-width: 1360px; margin: 112px auto 0; }
.trb-jn-from .trb-jn-read-g { gap: 32px; }
.trb-jn-from .trb-jn-mini-t { font-size: 19px; }
@media (max-width: 900px) {
	.trb-jn-art.is-note .trb-jn-art-h { margin-bottom: 32px; }
	.trb-jn-art.is-note .trb-jn-art-body { margin-top: 48px; }
	.trb-board .trb-jn-art.is-note .trb-jn-art-content h2 { font-size: 24px; margin-top: 48px; }
	.trb-jn-read { margin-top: 56px; }
	.trb-jn-read-g { grid-template-columns: 1fr; gap: 16px; }
	.trb-jn-mini { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; }
	.trb-jn-from-w { padding-bottom: 56px; }
	.trb-jn-from { margin-top: 72px; }
	.trb-jn-from .trb-jn-mini-t { font-size: 17px; }
}

/* 0.6.5 (Nich 20/11): construction specs of knotted rugs, tab "Construction & material" */
.trb-construction { margin: 12px 0 0; padding: 0; border-top: 1px solid #E4E4E4; }
.trb-construction > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding: 8px 0; border-bottom: 1px solid #E4E4E4; font-size: 12px; line-height: 1.5; }
.trb-construction dt { margin: 0; color: #6F6F6F; }
.trb-construction dd { margin: 0; color: #111; }

/* 0.6.8 (Nich 20/11): the statement beside a piece left alone on a collection page */
.trb-cst-stmt { display: flex; align-items: center; min-height: 100%; padding: 0 40px; }
.trb-cst-stmt .trb-cst-quote { padding: 0; font-size: clamp(30px, 3.4vw, 54px); }
@media (max-width: 900px) { .trb-cst-stmt { padding: 0 4px; } .trb-cst-stmt .trb-cst-quote { font-size: 22px; } }

/* 0.6.9 (Nich 20/11): WooCommerce notices ("… removed. Undo?", "added to your cart", errors) in the site's look:
   cream band, hairline border, square corners, no green, no blue focus frame; links in brown mono capitals */
.wc-block-components-notice-banner,
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	display: flex !important; flex-direction: row !important; align-items: center !important; gap: 14px; flex-wrap: nowrap !important;
	margin: 0 0 24px !important; padding: 16px 20px !important;
	background: var(--trb-cream) !important; color: var(--trb-ink) !important;
	border: 1px solid rgba(17, 17, 17, .12) !important; border-left: 2px solid var(--trb-brown) !important; border-radius: 0 !important;
	font-family: inherit; font-size: 14px !important; line-height: 1.5; box-shadow: none !important; list-style: none;
}
.wc-block-components-notice-banner:focus, .wc-block-components-notice-banner:focus-visible,
.woocommerce-message:focus, .woocommerce-info:focus, .woocommerce-error:focus { outline: none !important; box-shadow: none !important; }
.wc-block-components-notice-banner > svg {
	flex: 0 0 22px; width: 22px !important; height: 22px !important; padding: 3px; margin: 0 !important;
	background: transparent !important; border: 1px solid var(--trb-brown); border-radius: 50%; fill: var(--trb-brown) !important;
}
.wc-block-components-notice-banner.is-error { border-left-color: #8A3B2A !important; }
.wc-block-components-notice-banner.is-error > svg { border-color: #8A3B2A; fill: #8A3B2A !important; }
.wc-block-components-notice-banner__content { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; color: var(--trb-ink) !important; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-error li { margin: 0; }
.wc-block-components-notice-banner a, .woocommerce-message a, .woocommerce-info a, .woocommerce-error a,
.wc-block-components-notice-banner .button, .woocommerce-message .button, .woocommerce-info .button {
	order: 2; margin: 0 0 0 auto !important; padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important;
	color: var(--trb-brown) !important; font-family: var(--trb-mono); font-size: 11.5px !important; font-weight: 400 !important;
	letter-spacing: .04em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; box-shadow: none !important; opacity: 1 !important;
}
.wc-block-components-notice-banner .button, .woocommerce-message .button, .woocommerce-info .button { height: auto !important; min-height: 0 !important; line-height: 1.5 !important; white-space: nowrap; }
@media (min-width: 701px) { .wc-block-components-notice-banner__content { flex-wrap: nowrap; } }
.wc-block-components-notice-banner .button::after, .woocommerce-message .button::after, .wc-block-components-notice-banner .button::before { display: none !important; }
.wc-block-components-notice-banner a:hover, .woocommerce-message a:hover, .woocommerce-info a:hover { color: var(--trb-ink) !important; }
.wc-block-components-notice-banner .wc-block-components-notice-banner__dismiss { order: 3; }
@media (max-width: 700px) {
	.wc-block-components-notice-banner, .woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 14px 16px !important; font-size: 13px !important; }
	.wc-block-components-notice-banner a, .woocommerce-message a { margin-left: 0 !important; }
}

/* ---------- 0.7.2 / 0.7.4 (Nich 24–25/11): home Trade Program block, under Collections: one image, two lines ---------- */
.trb-home-trade { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(32px, 5vw, 96px); align-items: center; }
.trb-ht-img { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #E2DCD3; }
.trb-ht-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform .8s ease; } /* 0.7.7: the photo fills its frame */
.trb-ht-img:hover img { transform: scale(1.03); }
.trb-ht-body .trb-big { margin: 0 0 24px; }
.trb-ht-list { list-style: none; margin: 0 0 36px; padding: 0; }
.trb-ht-list li { padding: 16px 0; border-top: 1px solid var(--trb-line); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; color: var(--trb-ink); }
.trb-ht-list li:last-child { border-bottom: 1px solid var(--trb-line); }
.trb-ht-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 40px; }
.trb-ht-logos img { display: block; width: auto; height: 26px; max-width: 110px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: .7; }
@media (max-width: 900px) {
	.trb-home-trade { grid-template-columns: 1fr; gap: 28px; }
	.trb-ht-list { margin-bottom: 28px; }
}
@media (max-width: 600px) {
	.trb-home-trade .trb-btn { width: 100%; box-sizing: border-box; }
	.trb-ht-logos { gap: 16px 22px; margin-top: 32px; }
	.trb-ht-logos img { height: 22px; max-width: 90px; }
}

/* ---------- 0.7.3 (Nich 25/11, reference BENI): checkout in two halves ---------- */
body.trb-co { --trb-co-pad: clamp(16px, 5vw, 80px); --trb-co-bg: #F3F0EB; }
body.trb-co .trb-shop-page { padding: 0 !important; margin: 0 !important; }
body.trb-co .trb-text-title, body.trb-co .trb-bag-crumb, body.trb-co .trb-steps, body.trb-co #order_review_heading { display: none !important; }
body.trb-co .woocommerce-notices-wrapper:not(:empty), body.trb-co .woocommerce-form-coupon-toggle, body.trb-co form.checkout_coupon { margin: 0 var(--trb-co-pad) 16px !important; }
body.trb-co .woocommerce-notices-wrapper:not(:empty) { margin-top: 24px !important; }
.trb-co-back { display: block; padding: 22px var(--trb-co-pad) 0; color: var(--trb-mute); text-decoration: none; font-family: var(--trb-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.trb-co-back:hover { color: var(--trb-ink); }
body.trb-co form.checkout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: auto; gap: 0; align-items: start; margin: 0; }
body.trb-co form.checkout::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 50%; background: var(--trb-co-bg); border-left: 1px solid rgba(17, 17, 17, .08); z-index: 0; }
body.trb-co form.checkout > * { grid-column: 1; position: relative; z-index: 1; box-sizing: border-box; width: 100%; max-width: calc(600px + 2 * var(--trb-co-pad)); justify-self: end; padding-inline: var(--trb-co-pad); }
body.trb-co form.checkout > #customer_details { grid-row: auto; padding-top: 28px; }
body.trb-co form.checkout > #order_review { grid-column: 2; grid-row: 1 / span 8; justify-self: start; max-width: calc(460px + 2 * var(--trb-co-pad)); position: sticky; top: calc(var(--trb-ab, 0px) + 24px); background: none; padding: 48px var(--trb-co-pad) 48px; }
body.trb-co form.checkout > .trb-co-pay { padding-bottom: 72px; }
body.trb-co #customer_details .col-2 { margin: 0; }
body.trb-co .woocommerce-billing-fields > h3, body.trb-co .woocommerce-additional-fields > h3 { display: none !important; }

/* section titles */
.trb-co-h { display: block; margin: 0 0 14px; font-family: inherit; font-size: 22px !important; font-weight: 500 !important; line-height: 1.2; letter-spacing: 0 !important; text-transform: none !important; color: var(--trb-ink); }
body.trb-co #billing_country_field .trb-co-h { margin-top: 30px; }
body.trb-co .trb-co-payh { margin: 40px 0 4px; }
.trb-co-sub { margin: 0 0 14px; font-size: 13px; color: var(--trb-mute); }
body.trb-co .trb-pay-note { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: var(--trb-mute); }

/* fields: the name inside, 52px, hairline */
body.trb-co .woocommerce-billing-fields__field-wrapper, body.trb-co .woocommerce-additional-fields__field-wrapper { display: flex; flex-wrap: wrap; gap: 12px; }
body.trb-co form .form-row { flex: 1 1 100%; margin: 0 !important; padding: 0 !important; width: auto !important; float: none !important; }
body.trb-co form .form-row-first, body.trb-co form .form-row-last { flex: 1 1 calc(50% - 6px); min-width: 0; }
body.trb-co form .form-row > label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.trb-co form .input-text, body.trb-co form select, body.trb-co .select2-container .select2-selection--single { height: 52px !important; border: 1px solid #D9D6D0 !important; border-radius: 0 !important; padding: 0 16px !important; font-size: 15px !important; background: #fff; color: var(--trb-ink); box-shadow: none !important; }
body.trb-co form textarea.input-text { height: 96px !important; padding: 14px 16px !important; }
body.trb-co .select2-container .select2-selection--single .select2-selection__rendered { line-height: 50px !important; padding: 0 !important; color: var(--trb-ink); }
body.trb-co .select2-container .select2-selection--single .select2-selection__arrow { height: 50px !important; right: 10px !important; }
body.trb-co form .input-text::placeholder { color: #8A8A8A; opacity: 1; }
body.trb-co form .input-text:focus, body.trb-co .select2-container--focus .select2-selection--single, body.trb-co .select2-container--open .select2-selection--single { border-color: var(--trb-ink) !important; outline: none; }
body.trb-co form .woocommerce-invalid .input-text, body.trb-co form .woocommerce-invalid .select2-selection { border-color: #8A3B2A !important; }
body.trb-co .woocommerce-input-wrapper { display: block; }

/* payment: methods as cards */
body.trb-co #payment { background: none !important; border-radius: 0 !important; }
body.trb-co #payment ul.payment_methods { display: flex; flex-direction: column; gap: 0; padding: 0 !important; margin: 0 0 20px !important; border: 0 !important; }
body.trb-co #payment ul.payment_methods li { list-style: none; margin: 0 !important; padding: 18px 18px !important; border: 1px solid #D9D6D0; background: #fff; line-height: 1.4; }
body.trb-co #payment ul.payment_methods li + li { border-top: 0; }
body.trb-co #payment ul.payment_methods li:has(input:checked), body.trb-co #payment ul.payment_methods li:only-child { border-color: var(--trb-ink); background: #FAF9F7; }
body.trb-co #payment ul.payment_methods li > label { font-size: 15px; font-weight: 500; color: var(--trb-ink); cursor: pointer; }
body.trb-co #payment ul.payment_methods li img { max-height: 22px; vertical-align: middle; margin-left: 8px; }
body.trb-co #payment div.payment_box { margin: 12px 0 0 !important; padding: 0 !important; background: none !important; font-size: 13px; color: var(--trb-mute); }
body.trb-co #payment .place-order { padding: 0 !important; margin: 0 !important; }
body.trb-co .woocommerce-privacy-policy-text p { font-size: 12px; line-height: 1.6; color: var(--trb-mute); margin: 0 0 14px; }
body.trb-co .woocommerce-terms-and-conditions-wrapper .form-row { margin: 0 0 18px !important; }
body.trb-co .woocommerce-terms-and-conditions-checkbox-text { font-family: inherit; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--trb-ink); }
body.trb-co #place_order { height: 60px !important; font-size: 12px !important; letter-spacing: .08em; }

/* the order, on the right */
body.trb-co #order_review table.shop_table { border: 0 !important; margin: 0 !important; font-family: inherit !important; font-size: 14px !important; text-transform: none !important; letter-spacing: 0 !important; }
body.trb-co #order_review table thead { display: none; }
body.trb-co #order_review table th, body.trb-co #order_review table td { border: 0 !important; padding: 7px 0 !important; background: none !important; color: var(--trb-ink) !important; font-weight: 400 !important; vertical-align: top; }
body.trb-co #order_review tr.cart_item td { padding: 0 0 22px !important; }
body.trb-co #order_review td.product-name { display: flex; gap: 16px; align-items: flex-start; }
body.trb-co #order_review td.product-name > .product-quantity, body.trb-co #order_review td.product-name > dl.variation { display: none; }
body.trb-co #order_review td.product-total { text-align: right; white-space: nowrap; font-size: 14px; }
.trb-co-thumb { position: relative; flex: 0 0 72px; width: 72px; height: 72px; border: 1px solid rgba(17, 17, 17, .1); background: #fff; }
.trb-co-thumb img { width: 100% !important; height: 100% !important; object-fit: contain; padding: 6px; box-sizing: border-box; }
.trb-co-qty { position: absolute; top: -9px; right: -9px; min-width: 21px; height: 21px; padding: 0 6px; box-sizing: border-box; border-radius: 11px; background: var(--trb-brown); color: #fff; font-size: 11px; font-weight: 600; line-height: 21px; text-align: center; }
.trb-co-txt { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; min-width: 0; }
body.trb-co #order_review .trb-bag-name, body.trb-co #order_review .trb-bag-name a { font-size: 15px !important; font-weight: 500; color: var(--trb-ink); }
body.trb-co #order_review .trb-bag-var { margin: 0; font-family: inherit; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--trb-mute); }
body.trb-co #order_review tr.cart-subtotal th, body.trb-co #order_review tr.cart-subtotal td { padding-top: 22px !important; border-top: 1px solid rgba(17, 17, 17, .1) !important; }
body.trb-co #order_review tfoot th { text-align: left; }
body.trb-co #order_review tfoot td { text-align: right; }
body.trb-co #order_review .trb-duties th, body.trb-co #order_review .trb-duties td { color: var(--trb-mute) !important; }
body.trb-co #order_review .order-total th, body.trb-co #order_review .order-total td { padding-top: 16px !important; font-size: 19px !important; font-weight: 600 !important; letter-spacing: 0; }
body.trb-co #order_review .order-total td { font-size: 22px !important; }
body.trb-co #order_review .order-total td .woocommerce-Price-currencySymbol { font-size: inherit; }
body.trb-co #order_review ul#shipping_method { margin: 0; padding: 0; list-style: none; }

@media (max-width: 900px) {
	body.trb-co form.checkout { grid-template-columns: 1fr; }
	body.trb-co form.checkout::before { display: none; }
	body.trb-co form.checkout > * { justify-self: stretch; max-width: none !important; }
	body.trb-co form.checkout > #order_review { grid-column: 1 !important; grid-row: 1 !important; position: static; padding: 24px var(--trb-co-pad); background: var(--trb-co-bg); border-bottom: 1px solid rgba(17, 17, 17, .08); }
	body.trb-co form.checkout > #customer_details { grid-row: 2 !important; }
	body.trb-co form.checkout > .trb-co-pay { grid-row: 3 !important; padding-bottom: 48px; }
	.trb-co-back { padding-top: 16px; padding-bottom: 16px; }
}
body.trb-co .woocommerce-terms-and-conditions-wrapper label, body.trb-co .woocommerce-terms-and-conditions-wrapper label span { font-family: inherit !important; font-size: 13px !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--trb-ink) !important; }
body.trb-co .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--trb-brown); vertical-align: -3px; margin-right: 8px; }
body.trb-co .woocommerce-additional-fields { margin-top: 12px; }
body.trb-co form.checkout > .woocommerce-NoticeGroup { margin: 28px 0 0 !important; }
body.trb-co form.checkout > .woocommerce-NoticeGroup .woocommerce-error { margin: 0 !important; }

/* 0.7.5 (Nich 25/11): home Collections, the links under the cards as underlined text instead of brown buttons */
.trb-coll .wp-block-buttons { margin-top: 4px; }
.trb-coll .wp-block-button .wp-block-button__link, .trb-coll .wp-block-button.is-style-small .wp-block-button__link {
	height: auto; padding: 0 0 4px !important; background: none !important; color: var(--trb-ink) !important; border: 0 !important; border-bottom: 1px solid currentColor !important; border-radius: 0 !important;
	font-family: var(--trb-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: color .2s, border-color .2s;
}
.trb-coll .wp-block-button .wp-block-button__link:hover, .trb-coll .wp-block-button .wp-block-button__link:focus-visible { background: none !important; color: var(--trb-brown) !important; border-bottom-color: transparent !important; }

/* 0.7.8 (Nich 25/11): road freight includes duties and VAT: its own line instead of the express note (cart and checkout) */
table:has(tr.trb-duties.is-road) tr.trb-duties-note { display: none !important; }
tr.trb-road-note td { padding: 6px 0 10px !important; border: 0 !important; background: none !important; text-align: right !important; font-family: inherit !important; font-size: 13px !important; line-height: 1.5; letter-spacing: 0 !important; text-transform: none !important; color: var(--trb-ink) !important; }
tr.trb-duties.is-road td { color: var(--trb-ink) !important; }
body.trb-co #order_review .trb-duties.is-road td { color: var(--trb-ink) !important; }

/* 0.7.9 (Nich 25/11, reference BENI): payment methods as one bordered list */
body.trb-co .trb-co-sub { margin-bottom: 16px; }
body.trb-co #payment ul.payment_methods { gap: 0; border: 1px solid #D9D6D0 !important; margin: 0 0 22px !important; }
body.trb-co #payment ul.payment_methods li { position: relative; padding: 0 !important; border: 0 !important; border-top: 1px solid #D9D6D0 !important; background: #fff !important; }
body.trb-co #payment ul.payment_methods li:first-child { border-top: 0 !important; }
body.trb-co #payment ul.payment_methods li > input.input-radio { position: absolute; left: 20px; top: 22px; width: 20px; height: 20px; margin: 0; opacity: 0; z-index: 2; cursor: pointer; }
body.trb-co #payment ul.payment_methods li > label { display: flex !important; align-items: center; gap: 14px; min-height: 64px; margin: 0 !important; padding: 0 18px 0 54px !important; font-size: 16px !important; font-weight: 500 !important; color: var(--trb-ink) !important; cursor: pointer; position: relative; }
body.trb-co #payment ul.payment_methods li > label::before { content: ""; position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; box-sizing: border-box; border: 1px solid #BDB8B0; border-radius: 50%; background: #fff; }
body.trb-co #payment ul.payment_methods li:has(input:checked) > label::before, body.trb-co #payment ul.payment_methods li:only-child > label::before { border: 6px solid var(--trb-ink); }
body.trb-co #payment ul.payment_methods li:has(input:checked), body.trb-co #payment ul.payment_methods li:only-child { background: #F4F3F1 !important; }
body.trb-co #payment ul.payment_methods li:has(input:checked) > label, body.trb-co #payment ul.payment_methods li:only-child > label { box-shadow: inset 0 0 0 1px var(--trb-ink); background: #F4F3F1; }
body.trb-co #payment ul.payment_methods li > label img { margin: 0 0 0 auto !important; max-height: 28px !important; width: auto; float: none !important; }
body.trb-co #payment ul.payment_methods li > input.input-radio:focus-visible + label { outline: 2px solid var(--trb-brown); outline-offset: -2px; }
body.trb-co #payment div.payment_box { margin: 0 !important; padding: 16px 20px 18px 54px !important; background: #F4F3F1 !important; font-size: 14px !important; line-height: 1.55; color: var(--trb-mute) !important; }
body.trb-co #payment div.payment_box p { margin: 0; }
body.trb-co #payment div.payment_box::before { display: none !important; }
@media (max-width: 600px) {
	body.trb-co #payment ul.payment_methods li > label { padding-right: 14px !important; font-size: 15px !important; }
	body.trb-co #payment ul.payment_methods li > label img { max-height: 24px !important; }
}
body.trb-co #payment ul.payment_methods li > label img.trb-co-marks { mix-blend-mode: multiply; }

/* 0.8.0 (Nich 25/11): the language / measurements / currency panel, minimal: no boxes, words only */
.trb-prefs-panel { min-width: 248px; padding: 6px 20px !important; gap: 0 !important; border: 1px solid rgba(17, 17, 17, .12) !important; box-shadow: none !important; }
.trb-prefs-panel .trb-prefs-row { padding: 14px 0; gap: 24px; }
.trb-prefs-panel .trb-prefs-row + .trb-prefs-row { border-top: 1px solid rgba(17, 17, 17, .08); }
.trb-prefs-panel .trb-prefs-k { font-size: 10.5px; letter-spacing: .06em; color: #8A857D; }
.trb-prefs-panel .trb-switch { height: auto !important; border: 0 !important; font-family: var(--trb-mono); font-size: 11px; letter-spacing: .06em; }
.trb-prefs-panel .trb-switch > * { height: auto !important; padding: 2px 0 !important; background: none !important; color: #8A857D !important; text-decoration: none; }
.trb-prefs-panel .trb-switch > * + *::before { content: "/"; display: inline-block; margin: 0 8px; color: #C9C3BA; text-decoration: none; }
.trb-prefs-panel .trb-switch > [aria-current="true"], .trb-prefs-panel .trb-switch > [aria-pressed="true"] { color: var(--trb-ink) !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.trb-prefs-panel .trb-switch > a:hover, .trb-prefs-panel .trb-switch > button[aria-pressed="false"]:not(:disabled):hover { color: var(--trb-ink) !important; background: none !important; }
.trb-prefs-panel .trb-switch > button:disabled { opacity: 1; color: #C9C3BA !important; }

/* 0.8.2 (Nich 25/11): home Trade block, "They trusted us" in small, four larger logos, then "…" */
.trb-ht-trust { margin-top: 44px; }
.trb-ht-trust > .trb-lab2 { margin: 0 0 16px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.trb-home-trade .trb-ht-logos { flex-wrap: nowrap; gap: 0 clamp(16px, 2vw, 28px); margin-top: 0; }
.trb-home-trade .trb-ht-logos img { height: 50px; max-width: 150px; opacity: .8; }
.trb-ht-more { font-size: 22px; line-height: 1; letter-spacing: .1em; color: var(--trb-mute); }
@media (max-width: 781px) {
	.trb-ht-trust { margin-top: 32px; }
	.trb-home-trade .trb-ht-logos { gap: 0 16px; }
	.trb-home-trade .trb-ht-logos img { height: 34px; max-width: 96px; }
}

/* 0.8.6 (Nich 26/11): checkout, one short line for empty required fields; each field marked on the form */
body.trb-co .woocommerce-invalid-required-field input.input-text,
body.trb-co .woocommerce-invalid-required-field select,
body.trb-co .woocommerce-invalid-required-field .select2-selection { border-color: #8A3B2A !important; }
body.trb-co .trb-req { display: block; margin-top: 6px; font-size: 11px; line-height: 1.3; letter-spacing: .04em; color: #8A3B2A; }
body.trb-co .woocommerce-terms-and-conditions-wrapper .woocommerce-invalid-required-field .woocommerce-terms-and-conditions-checkbox-text,
body.trb-co .woocommerce-terms-and-conditions-wrapper .woocommerce-invalid-required-field a { color: #8A3B2A; }

/* 0.9.0 (Nich 26/11): footer logo with its descriptor, "Rug & Textile Studio", set close under the name and as wide as it */
.trb-footer-logo.trb-lockup { display: inline-flex; flex-direction: column; align-items: stretch; width: max-content; }
.trb-lockup-name { display: block; }
.trb-lockup-sub { display: block; margin-top: 8px; font-size: 13.25px; font-weight: 400; letter-spacing: .5em; line-height: 1; text-align: left; white-space: nowrap; margin-right: -.5em; }
@media (max-width: 900px) { .trb-lockup-sub { margin-top: 6px; font-size: 10.3px; letter-spacing: .44em; margin-right: -.44em; } }

/* 0.9.2: My account › order, tracking */
.trb-tracking { margin: 32px 0 0; }
.trb-tracking p { margin: 0 0 12px; }

/* 0.9.2: popins (inc/popins.php) — sign-up and announcement, in the gallery style */
.trb-pop { position: fixed; inset: 0; z-index: 9990; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(17, 17, 17, .32); opacity: 0; transition: opacity .25s ease; }
.trb-pop[hidden] { display: none !important; }
.trb-pop.is-in { opacity: 1; }
.trb-pop-card { position: relative; background: #FFFFFF; color: var(--trb-ink); width: 100%; max-width: 480px; padding: 56px 48px 44px; box-shadow: 0 24px 60px rgba(17, 17, 17, .12); transform: translateY(8px); transition: transform .25s ease; }
.trb-pop.is-in .trb-pop-card { transform: none; }
.trb-pop-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--trb-ink); cursor: pointer; z-index: 2; }
.trb-pop-x:focus-visible { outline: 1px solid var(--trb-ink); }
.trb-pop .trb-pop-t { margin: 0 0 12px; font-size: 26px; font-weight: 300; line-height: 1.2; letter-spacing: -.01em; text-transform: none; font-family: inherit; text-align: left; }
.trb-pop .trb-pop-x { border: 0 !important; box-shadow: none !important; padding: 0; min-width: 0; border-radius: 0; }
.trb-pop-form .trb-nl-legal, .trb-pop-form .trb-nl-msg, .trb-pop-p { text-align: left; }
.trb-pop-p { margin: 0 0 28px; font-size: 15px; line-height: 1.6; color: var(--trb-mute); }
.trb-pop-form input[type="email"] { background: #F4F4F4; }
.trb-pop-form .trb-nl-legal { font-size: 11px; line-height: 1.5; color: var(--trb-mute); margin: 0; }
.trb-pop-form .trb-nl-legal a { color: inherit; text-decoration: underline; }
.trb-pop-form .trb-nl-msg { margin: 0; font-size: 14px; }
.trb-pop-form.is-done .trb-nl-row, .trb-pop-form.is-done .trb-nl-legal { display: none; }
.trb-pop-split .trb-pop-card { max-width: 820px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.trb-pop-img { position: relative; aspect-ratio: 4 / 5; background: #F4F4F4; overflow: hidden; }
.trb-pop-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trb-pop-body { padding: 56px 44px 44px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 28px; }
.trb-pop-ann .trb-pop-t { margin: 0; font-size: 24px; }
.trb-pop-split .trb-pop-x { background: rgba(255, 255, 255, .85) !important; }
@media (max-width: 700px) {
	.trb-pop { padding: 16px; align-items: flex-end; }
	.trb-pop-card { padding: 48px 24px 28px; }
	.trb-pop-t { font-size: 22px; }
	.trb-pop-split .trb-pop-card { grid-template-columns: 1fr; max-width: 420px; max-height: calc(100vh - 32px); overflow-y: auto; }
	.trb-pop-signup .trb-pop-img { aspect-ratio: 16 / 9; }
	.trb-pop-img { aspect-ratio: 16 / 11; }
	.trb-pop-body { padding: 28px 24px 28px; gap: 20px; }
	.trb-pop-split .trb-pop-x { background: rgba(255, 255, 255, .85); }
}
@media (prefers-reduced-motion: reduce) { .trb-pop, .trb-pop-card { transition: none; } }

/* 0.9.3 (Nich 26/11): the sign-up popin, immersive: the studio's photo beside, the offer under the title */
.trb-pop-signup .trb-pop-body { justify-content: center; gap: 0; padding: 64px 48px 44px; }
.trb-pop-signup .trb-pop-t { font-size: 30px; margin: 0 0 16px; }
.trb-pop .trb-pop-offer { margin: 0 0 14px; font-size: 17px; font-weight: 500; letter-spacing: -.005em; color: var(--trb-brown); }
.trb-pop-signup .trb-pop-p { margin: 0 0 26px; }
.trb-pop-signup .trb-pop-form { width: 100%; }
@media (max-width: 700px) {
	.trb-pop-signup .trb-pop-body { padding: 24px 22px 22px; }
	.trb-pop-signup .trb-pop-t { font-size: 23px; margin-bottom: 10px; }
	.trb-pop .trb-pop-offer { font-size: 15px; margin-bottom: 8px; }
	.trb-pop-signup .trb-pop-p { margin-bottom: 18px; font-size: 14px; }
}
