/* TSG Catalogues B2B — every rule is scoped to .tsgc-body .tsgc so the rest of the site is never affected. */

.tsgc-body {
	--ink: #2a2521;
	--ink-2: #4a423b;
	--taupe: #877964;
	--muted: #9a8f83;
	--line: #e8e1d8;
	--line-2: #d9cfc3;
	--ivory: #f8f4ee;
	--ivory-2: #f2ece3;
	--paper: #ffffff;
	--ok: #5e7a60;
	--err: #a4483e;
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(16px, 4vw, 56px);
	--wrap: 1440px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	margin: 0;
	background: var(--paper);
	color: var(--ink);
}

html.tsgc-lock, html.tsgc-lock body { overflow: hidden; }

/* Site-wide widgets that don't belong in the catalogue space (floating cart, quick view). */
.tsgc-body #xt_woofc, .tsgc-body .woolentor-quickview-modal { display: none !important; }
/* References and prices read better with lining figures than Cormorant's old-style ones. */
.tsgc-body .tsgc, .tsgc-body .tsgc * { font-variant-numeric: lining-nums !important; }

.tsgc-body .tsgc { font: 300 15px/1.65 var(--sans); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
.tsgc-body .tsgc *, .tsgc-body .tsgc *::before, .tsgc-body .tsgc *::after { box-sizing: border-box; }
.tsgc-body .tsgc :where(h1, h2, h3, p, ul, ol, li, figure) { margin: 0; padding: 0; }
.tsgc-body .tsgc :where(ul, ol) { list-style: none; }
.tsgc-body .tsgc img { max-width: 100%; height: auto; display: block; border: 0; }
.tsgc-body .tsgc a { color: inherit; text-decoration: none; }
.tsgc-body .tsgc button { -webkit-appearance: none; appearance: none; background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; line-height: inherit; min-height: 0; cursor: pointer; }
.tsgc-body .tsgc :focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.tsgc-body .tsgc [hidden] { display: none !important; }
.tsgc-body .tsgc .tsgc-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Type */
.tsgc-body .tsgc .tsgc-kicker { font: 400 11px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); }
.tsgc-body .tsgc .tsgc-display { font: 300 clamp(44px, 6.4vw, 92px)/.98 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.tsgc-body .tsgc .tsgc-display em, .tsgc-body .tsgc .tsgc-h2 em { font-style: italic; color: var(--taupe); }
.tsgc-body .tsgc .tsgc-h2 { font: 300 clamp(30px, 3.6vw, 48px)/1.08 var(--serif); color: var(--ink); }
.tsgc-body .tsgc .tsgc-lead { font: 300 clamp(15px, 1.25vw, 17px)/1.75 var(--sans); color: var(--ink-2); max-width: 46em; }

/* Buttons */
.tsgc-body .tsgc .tsgc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--ink); background: transparent; color: var(--ink); transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.tsgc-body .tsgc .tsgc-btn--dark { background: var(--ink); color: var(--paper); }
.tsgc-body .tsgc .tsgc-btn--dark:hover, .tsgc-body .tsgc .tsgc-btn--dark:focus-visible { background: var(--paper); color: var(--ink); }
.tsgc-body .tsgc .tsgc-btn--line:hover, .tsgc-body .tsgc .tsgc-btn--line:focus-visible { background: var(--ink); color: var(--paper); }
.tsgc-body .tsgc .tsgc-btn--block { width: 100%; }
.tsgc-body .tsgc .tsgc-btn[disabled] { opacity: .55; cursor: progress; }
.tsgc-body .tsgc .tsgc-link { display: inline-flex; align-items: center; gap: 8px; background: transparent; font: 400 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid transparent; transition: border-color .3s; padding: 6px 0; }
.tsgc-body .tsgc .tsgc-link:hover { background: transparent; color: var(--ink); border-bottom-color: var(--ink); }
.tsgc-body .tsgc .tsgc-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ink); color: var(--paper); font: 500 11px/1 var(--sans); letter-spacing: 0; transition: transform .3s var(--ease); }
.tsgc-body .tsgc .tsgc-count.is-bump { animation: tsgc-bump .5s var(--ease); }
@keyframes tsgc-bump { 40% { transform: scale(1.35); } }

/* Brand */
.tsgc-body .tsgc .tsgc-brand { display: inline-flex; align-items: center; justify-content: center; }
.tsgc-body .tsgc .tsgc-brand img { height: 46px; width: auto; }
.tsgc-body .tsgc .tsgc-brand span { font: 400 18px/1 var(--serif); letter-spacing: .3em; text-transform: uppercase; }

/* ---------- HUB ---------- */
.tsgc-body .tsgc-hub .tsgc-top { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px var(--gutter) 26px; border-bottom: 1px solid var(--line); }
.tsgc-body .tsgc-hub .tsgc-top__note { font: 400 10.5px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); text-align: center; }
.tsgc-body .tsgc-hub .tsgc-brand img { height: 58px; }
.tsgc-body .tsgc-hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px, 9vw, 120px) var(--gutter) clamp(44px, 6vw, 80px); text-align: center; display: grid; justify-items: center; gap: 26px; }
.tsgc-body .tsgc-hero .tsgc-display em { display: block; }
.tsgc-body .tsgc-hero .tsgc-lead { max-width: 40em; }

.tsgc-body .tsgc-cards { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 9vw, 128px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); }
.tsgc-body .tsgc-card { opacity: 0; transform: translateY(18px); animation: tsgc-rise .9s var(--ease) forwards; }
.tsgc-body .tsgc-card:nth-child(2) { animation-delay: .12s; }
.tsgc-body .tsgc-card:nth-child(3) { animation-delay: .24s; }
@keyframes tsgc-rise { to { opacity: 1; transform: none; } }
.tsgc-body .tsgc-card__link { display: flex; flex-direction: column; height: 100%; }
.tsgc-body .tsgc-card__media { position: relative; aspect-ratio: 842 / 595; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 40px -26px rgba(42, 37, 33, .35); }
.tsgc-body .tsgc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.tsgc-body .tsgc-card__link:hover .tsgc-card__media img { transform: scale(1.03); }
.tsgc-body .tsgc-card__num { position: absolute; bottom: 12px; left: 12px; z-index: 1; padding: 6px 10px 5px; background: rgba(255, 255, 255, .92); font: italic 400 18px/1 var(--serif); color: var(--ink); }
.tsgc-body .tsgc-card__saved { position: absolute; top: 20px; right: 18px; z-index: 1; padding: 7px 12px; background: rgba(255, 255, 255, .92); font: 400 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.tsgc-body .tsgc-card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 4px 0; }
.tsgc-body .tsgc-card__tag { font: 400 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.tsgc-body .tsgc-card__title { margin-top: 10px; font: 400 clamp(28px, 2.5vw, 38px)/1.05 var(--serif); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.tsgc-body .tsgc-card__offer { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tsgc-body .tsgc-card__offer strong { font: 300 44px/1 var(--serif); color: var(--ink); white-space: nowrap; }
.tsgc-body .tsgc-card__offer span { font: 400 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.tsgc-body .tsgc-card__desc { margin-top: 18px; color: var(--ink-2); }
.tsgc-body .tsgc-card__pos { margin-top: 12px; font: italic 300 19px/1.45 var(--serif); color: var(--taupe); }
.tsgc-body .tsgc-card__meta { margin: 18px 0 24px; font: 400 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tsgc-body .tsgc-card .tsgc-btn { margin-top: auto; align-self: flex-start; }
.tsgc-body .tsgc-card__link:hover .tsgc-btn--dark { background: var(--paper); color: var(--ink); }
.tsgc-body .tsgc .tsgc-btn .tsgc-ico { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.tsgc-body .tsgc-card__link:hover .tsgc-btn .tsgc-ico { transform: translateX(4px); }

.tsgc-body .tsgc-steps { background: var(--ivory); padding: clamp(56px, 7vw, 96px) var(--gutter); text-align: center; }
.tsgc-body .tsgc-steps ol { max-width: 1100px; margin: 34px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.tsgc-body .tsgc-steps li { display: grid; justify-items: center; gap: 8px; }
.tsgc-body .tsgc-steps li span { font: italic 300 30px/1 var(--serif); color: var(--taupe); }
.tsgc-body .tsgc-steps li strong { font: 400 26px/1.2 var(--serif); font-weight: 400; }
.tsgc-body .tsgc-steps li p { max-width: 22em; color: var(--ink-2); font-size: 14px; }

.tsgc-body .tsgc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--line); font: 400 11px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tsgc-body .tsgc-hub .tsgc-foot { justify-content: center; border-top: 0; }

/* ---------- BOOK ---------- */
.tsgc-body .tsgc-bar { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 68px; padding: 0 var(--gutter); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.admin-bar.tsgc-body .tsgc-bar { top: 32px; }
.tsgc-body .tsgc-bar .tsgc-brand img { height: 38px; }
.tsgc-body .tsgc .tsgc-bar__back { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font: 400 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.tsgc-body .tsgc .tsgc-bar__back:hover { color: var(--taupe); }
.tsgc-body .tsgc .tsgc-bar__sel { justify-self: end; display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 16px; border: 1px solid var(--line-2); background: var(--paper); font: 400 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); transition: border-color .3s; }
.tsgc-body .tsgc .tsgc-bar__sel:hover, .tsgc-body .tsgc .tsgc-bar__sel:focus-visible { background: var(--paper); color: var(--ink); border-color: var(--ink); }

.tsgc-body .tsgc-intro { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 84px) var(--gutter) 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.tsgc-body .tsgc-intro__text { display: grid; gap: 20px; }
.tsgc-body .tsgc-intro__aside { text-align: right; display: grid; gap: 10px; justify-items: end; }
.tsgc-body .tsgc .tsgc-offer { display: grid; justify-items: end; gap: 6px; }
.tsgc-body .tsgc .tsgc-offer strong { font: 300 clamp(56px, 6vw, 88px)/.9 var(--serif); }
.tsgc-body .tsgc .tsgc-offer span, .tsgc-body .tsgc-intro__meta { font: 400 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.tsgc-body .tsgc .tsgc-howto { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 14px; margin-top: 16px; padding: 18px 22px; background: var(--ivory); color: var(--ink-2); font-size: 14px; }
.tsgc-body .tsgc .tsgc-howto .tsgc-ico { margin-top: 3px; color: var(--taupe); }
.tsgc-body .tsgc .tsgc-howto strong { font-weight: 500; color: var(--ink); }

.tsgc-body .tsgc-reader { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter) clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) 368px; gap: clamp(24px, 3vw, 48px); align-items: start; }
.tsgc-body .tsgc-viewer { min-width: 0; }
.tsgc-body .tsgc-stage { position: relative; }
.tsgc-body .tsgc-sheet { position: relative; aspect-ratio: 842 / 595; background: var(--ivory); box-shadow: 0 1px 2px rgba(42, 37, 33, .06), 0 24px 60px -24px rgba(42, 37, 33, .28); overflow: hidden; cursor: zoom-in; touch-action: pan-y pinch-zoom; }
.tsgc-body .tsgc-sheet img { width: 100%; height: 100%; object-fit: contain; transition: opacity .45s var(--ease); user-select: none; -webkit-user-drag: none; }
.tsgc-body .tsgc-sheet img.is-loading { opacity: .25; }
.tsgc-body .tsgc-sheet::before { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px; border: 1px solid var(--line-2); border-top-color: var(--taupe); border-radius: 50%; animation: tsgc-spin 1s linear infinite; opacity: 0; transition: opacity .3s; }
.tsgc-body .tsgc-sheet.is-loading::before { opacity: 1; }
@keyframes tsgc-spin { to { transform: rotate(360deg); } }
.tsgc-body .tsgc .tsgc-sheet__zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 400 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.tsgc-body .tsgc .tsgc-sheet__zoom:hover { background: var(--paper); color: var(--ink); }
.tsgc-body .tsgc-sheet:hover .tsgc-sheet__zoom, .tsgc-body .tsgc .tsgc-sheet__zoom:focus-visible { opacity: 1; transform: none; }

.tsgc-body .tsgc .tsgc-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: 0 6px 24px -8px rgba(42, 37, 33, .35); transition: transform .3s var(--ease), opacity .3s; }
.tsgc-body .tsgc .tsgc-nav:hover { background: var(--ink); color: var(--paper); }
.tsgc-body .tsgc .tsgc-nav[disabled] { opacity: 0; pointer-events: none; }
.tsgc-body .tsgc-stage .tsgc-nav--prev { left: -26px; }
.tsgc-body .tsgc-stage .tsgc-nav--next { right: -26px; }

.tsgc-body .tsgc-pagebar { display: flex; align-items: center; gap: 20px; margin-top: 22px; }
.tsgc-body .tsgc-pagebar__count { font: 300 22px/1 var(--serif); white-space: nowrap; min-width: 84px; }
.tsgc-body .tsgc-pagebar__count .tsgc-sep { margin: 0 6px; color: var(--muted); }
body.tsgc-body .tsgc .tsgc-range { -webkit-appearance: none; appearance: none; flex: 1; height: 24px; margin: 0; background: transparent; border: 0; padding: 0; cursor: pointer; }
body.tsgc-body .tsgc .tsgc-range::-webkit-slider-runnable-track { height: 1px; background: var(--line-2); }
body.tsgc-body .tsgc .tsgc-range::-moz-range-track { height: 1px; background: var(--line-2); }
body.tsgc-body .tsgc .tsgc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -6.5px; border-radius: 50%; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--ink); }
body.tsgc-body .tsgc .tsgc-range::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--ink); }

/* Dress under the page */
.tsgc-body .tsgc-dress { margin-top: 26px; border-top: 1px solid var(--line); }
.tsgc-body .tsgc-dress__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tsgc-body .tsgc-dress__ref { font: 400 30px/1.05 var(--serif); letter-spacing: .03em; }
.tsgc-body .tsgc-dress__meta { margin-top: 6px; font: 400 12px/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.tsgc-body .tsgc-dress__meta s { color: var(--muted); margin-right: 6px; }
.tsgc-body .tsgc-dress__meta b { font-weight: 500; color: var(--ink); }
.tsgc-body .tsgc-dress__note { padding: 18px 0; color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 19px; }
.tsgc-body .tsgc .tsgc-add-btn { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 400 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transition: background .3s, color .3s; }
.tsgc-body .tsgc .tsgc-add-btn:hover { background: var(--paper); color: var(--ink); }
.tsgc-body .tsgc .tsgc-add-btn.is-added { background: var(--paper); color: var(--ok); border-color: var(--ok); }
.tsgc-body .tsgc .tsgc-add-btn.is-added:hover { color: var(--err); border-color: var(--err); background: var(--paper); }

/* Selection panel */
.tsgc-body .tsgc-panel { position: sticky; top: 92px; }
.admin-bar.tsgc-body .tsgc-panel { top: 124px; }
.tsgc-body .tsgc-panel__inner { display: flex; flex-direction: column; max-height: calc(100vh - 116px); padding: 28px 26px; border: 1px solid var(--line); background: var(--paper); overflow: auto; overscroll-behavior: contain; }
.tsgc-body .tsgc-panel__head { display: flex; align-items: center; gap: 12px; }
.tsgc-body .tsgc-panel__head h2 { font: 400 13px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.tsgc-body .tsgc .tsgc-panel__close { display: none; margin-left: auto; width: 40px; height: 40px; place-items: center; background: transparent; }
.tsgc-body .tsgc .tsgc-panel__close:hover { background: transparent; color: var(--taupe); }
.tsgc-body .tsgc-panel__book { margin-top: 6px; font: italic 300 18px/1.3 var(--serif); color: var(--taupe); }
.tsgc-body .tsgc-add { display: grid; gap: 10px; margin-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.tsgc-body .tsgc-add label { font: 400 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
body.tsgc-body .tsgc .tsgc-add input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 0; background: var(--paper); color: var(--ink); font: 400 16px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; box-shadow: none; }
body.tsgc-body .tsgc .tsgc-add input::placeholder { color: #b9afa4; text-transform: none; letter-spacing: .02em; }
body.tsgc-body .tsgc .tsgc-add input:focus { outline: none; border-color: var(--ink); }
.tsgc-body .tsgc .tsgc-add .tsgc-btn { min-height: 48px; padding: 0 16px; }
.tsgc-body .tsgc-add__msg { min-height: 1em; font-size: 12.5px; line-height: 1.45; color: var(--taupe); }
.tsgc-body .tsgc-add__msg.is-ok { color: var(--ok); }
.tsgc-body .tsgc-add__msg.is-warn { color: var(--err); }

.tsgc-body .tsgc-list { margin-top: 6px; }
.tsgc-body .tsgc-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) 36px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: tsgc-in .45s var(--ease); }
@keyframes tsgc-in { from { opacity: 0; transform: translateX(12px); } }
.tsgc-body .tsgc .tsgc-item__thumb { width: 64px; aspect-ratio: 842 / 595; background: var(--ivory); overflow: hidden; }
.tsgc-body .tsgc .tsgc-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tsgc-body .tsgc .tsgc-item__thumb--empty { display: grid; place-items: center; font: italic 300 13px/1 var(--serif); color: var(--muted); }
.tsgc-body .tsgc .tsgc-item__ref, .tsgc-body .tsgc .tsgc-item__meta { display: block; }
.tsgc-body .tsgc-item__ref { font: 400 21px/1.1 var(--serif); letter-spacing: .03em; overflow-wrap: anywhere; }
.tsgc-body .tsgc-item__meta { margin-top: 3px; font: 400 11px/1.45 var(--sans); letter-spacing: .06em; color: var(--taupe); }
.tsgc-body .tsgc .tsgc-item__go { text-align: left; background: transparent; }
.tsgc-body .tsgc .tsgc-item__go:hover { background: transparent; color: var(--ink); }
.tsgc-body .tsgc .tsgc-item__go:hover .tsgc-item__ref { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tsgc-body .tsgc .tsgc-item__remove { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: transparent; color: var(--muted); transition: background .25s, color .25s; }
.tsgc-body .tsgc .tsgc-item__remove:hover { background: var(--ivory-2); color: var(--err); }
.tsgc-body .tsgc .tsgc-item__remove .tsgc-ico { width: 15px; height: 15px; }
.tsgc-body .tsgc-empty { padding: 20px 0 8px; font: italic 300 18px/1.45 var(--serif); color: var(--muted); }
.tsgc-body .tsgc .tsgc-panel__cta { margin-top: 22px; flex: none; }

/* Request */
.tsgc-body .tsgc-request { background: var(--ivory); padding: clamp(56px, 8vw, 112px) var(--gutter); scroll-margin-top: 68px; }
.tsgc-body .tsgc-request__head { max-width: var(--wrap); margin: 0 auto 40px; display: grid; gap: 14px; }
.tsgc-body .tsgc-request__grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.tsgc-body .tsgc-recap { position: sticky; top: 96px; padding: 30px 28px; background: var(--paper); border: 1px solid var(--line); }
.tsgc-body .tsgc-recap__label { font: 400 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.tsgc-body .tsgc-recap__label + * { margin-top: 6px; }
.tsgc-body .tsgc-recap__book { font: 400 26px/1.15 var(--serif); margin-bottom: 26px; }
.tsgc-body .tsgc-recap__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.tsgc-body .tsgc-recap__list li b { font: 500 15px/1.3 var(--sans); letter-spacing: .04em; }
.tsgc-body .tsgc-recap__list li span { color: var(--taupe); text-align: right; }
.tsgc-body .tsgc-recap__empty { margin-top: 12px; font: italic 300 18px/1.45 var(--serif); color: var(--err); }

.tsgc-body .tsgc-form { padding: clamp(26px, 3vw, 44px); background: var(--paper); border: 1px solid var(--line); }
.tsgc-body .tsgc-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
.tsgc-body .tsgc-field { display: grid; gap: 8px; }
.tsgc-body .tsgc-field--wide { grid-column: 1 / -1; }
.tsgc-body .tsgc-field label { font: 400 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.tsgc-body .tsgc-field abbr { text-decoration: none; border: 0; color: var(--taupe); }
.tsgc-body .tsgc-optional { margin-left: 6px; text-transform: none; letter-spacing: .02em; color: var(--muted); font-style: italic; }
body.tsgc-body .tsgc .tsgc-field:is(input, textarea) { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; color: var(--ink); font: 400 16px/1.5 var(--sans); box-shadow: none; transition: border-color .3s; }
body.tsgc-body .tsgc .tsgc-fieldtextarea { min-height: 110px; resize: vertical; padding: 12px; border: 1px solid var(--line-2); }
body.tsgc-body .tsgc .tsgc-field:is(input, textarea):focus { outline: none; border-color: var(--ink); }
.tsgc-body .tsgc .tsgc-field.is-invalid :is(input, textarea) { border-color: var(--err); }
.tsgc-body .tsgc-field__err { min-height: 0; font-size: 12px; color: var(--err); }
.tsgc-body .tsgc-field__err:empty { display: none; }
.tsgc-body .tsgc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tsgc-body .tsgc-form__error { margin: 22px 0 0; color: var(--err); font-size: 13.5px; }
.tsgc-body .tsgc-form__error:empty { display: none; }
.tsgc-body .tsgc-form .tsgc-btn--block { margin-top: 28px; min-height: 58px; }
.tsgc-body .tsgc-form__legal { margin-top: 16px; font-size: 12px; color: var(--muted); }
.tsgc-body .tsgc-form__legal a { text-decoration: underline; text-underline-offset: 2px; }

.tsgc-body .tsgc-success { max-width: 760px; margin: 0 auto; padding: clamp(36px, 5vw, 64px); background: var(--paper); border: 1px solid var(--line); text-align: center; display: grid; justify-items: center; gap: 16px; animation: tsgc-rise .7s var(--ease) both; outline: none; }
.tsgc-body .tsgc-success__mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--ok); color: var(--ok); }
.tsgc-body .tsgc-success__mark .tsgc-ico { width: 28px; height: 28px; }
.tsgc-body .tsgc-success h3 { font: 300 clamp(28px, 3vw, 40px)/1.15 var(--serif); }
.tsgc-body .tsgc-success p { color: var(--ink-2); max-width: 36em; }
.tsgc-body .tsgc-success .tsgc-recap__list { width: 100%; max-width: 460px; text-align: left; }
.tsgc-body .tsgc-success__mail { font-size: 13px; color: var(--taupe) !important; }
.tsgc-body .tsgc-success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* Floating selection (mobile) */
.tsgc-body .tsgc .tsgc-fab { display: none; }
.tsgc-body .tsgc-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(28, 24, 21, .45); opacity: 0; transition: opacity .35s; }
.tsgc-body .tsgc-scrim.is-on { opacity: 1; }

/* All pages overlay */
.tsgc-body .tsgc-grid { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: var(--paper); animation: tsgc-fade .3s var(--ease); }
@keyframes tsgc-fade { from { opacity: 0; } }
.tsgc-body .tsgc-grid__head { display: flex; align-items: center; gap: 20px; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
.tsgc-body .tsgc-grid__title { font: 400 24px/1.1 var(--serif); white-space: nowrap; }
.tsgc-body .tsgc-grid__title span { font-size: 18px; color: var(--muted); }
.tsgc-body .tsgc-grid__search { flex: 1; max-width: 360px; margin-left: auto; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); }
body.tsgc-body .tsgc .tsgc-grid__search input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; font: 400 16px/1 var(--sans); color: var(--ink); box-shadow: none; padding: 0; }
body.tsgc-body .tsgc .tsgc-grid__search input:focus { outline: none; }
.tsgc-body .tsgc .tsgc-grid__close { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; }
.tsgc-body .tsgc .tsgc-grid__close:hover { background: transparent; color: var(--taupe); }
.tsgc-body .tsgc-grid__list { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 24px var(--gutter) 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 24px 18px; align-content: start; }
.tsgc-body .tsgc .tsgc-thumb { display: block; width: 100%; text-align: left; background: transparent; }
.tsgc-body .tsgc .tsgc-thumb:hover { background: transparent; color: var(--ink); }
.tsgc-body .tsgc-thumb__img { position: relative; aspect-ratio: 842 / 595; background: var(--ivory); overflow: hidden; outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .25s; }
.tsgc-body .tsgc-thumb__img img { width: 100%; height: 100%; object-fit: cover; }
.tsgc-body .tsgc .tsgc-thumb:hover .tsgc-thumb__img, .tsgc-body .tsgc .tsgc-thumb.is-current .tsgc-thumb__img { outline-color: var(--ink); }
.tsgc-body .tsgc-thumb__check { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); }
.tsgc-body .tsgc-thumb__check .tsgc-ico { width: 14px; height: 14px; stroke-width: 2; }
.tsgc-body .tsgc-thumb__cap { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font: 400 12px/1.3 var(--sans); letter-spacing: .06em; }
.tsgc-body .tsgc-thumb__cap span { color: var(--muted); }
.tsgc-body .tsgc-grid__none { grid-column: 1 / -1; padding: 40px 0; text-align: center; font: italic 300 20px/1.4 var(--serif); color: var(--muted); }

/* Lightbox */
.tsgc-body .tsgc-lightbox { position: fixed; inset: 0; z-index: 90; background: #14110f; color: #fff; animation: tsgc-fade .3s var(--ease); }
.tsgc-body .tsgc-lightbox::before { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 96px; background: linear-gradient(rgba(20, 17, 15, .6), transparent); pointer-events: none; }
.tsgc-body .tsgc-lightbox__canvas { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; touch-action: none; cursor: zoom-in; }
.tsgc-body .tsgc-lightbox__canvas.is-zoomed { cursor: grab; }
.tsgc-body .tsgc-lightbox__canvas.is-dragging { cursor: grabbing; }
.tsgc-body .tsgc-lightbox__canvas img { max-width: 100vw; max-height: 100vh; max-height: 100dvh; width: auto; height: auto; transform-origin: center center; will-change: transform; user-select: none; -webkit-user-drag: none; }
.tsgc-body .tsgc-lightbox__ui > * { position: absolute; z-index: 2; }
.tsgc-body .tsgc-lightbox__count { top: 22px; left: 24px; font: 300 20px/1 var(--serif); }
.tsgc-body .tsgc-lightbox__hint { top: 26px; left: 50%; transform: translateX(-50%); font: 400 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.tsgc-body .tsgc .tsgc-lightbox__close { top: 12px; right: 14px; display: grid; place-items: center; width: 48px; height: 48px; background: transparent; color: #fff; }
.tsgc-body .tsgc .tsgc-lightbox__close:hover { background: transparent; color: #d9cfc3; }
.tsgc-body .tsgc .tsgc-lightbox__ui .tsgc-nav { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; }
.tsgc-body .tsgc .tsgc-lightbox__ui .tsgc-nav:hover { background: #fff; color: var(--ink); }
.tsgc-body .tsgc-lightbox__ui .tsgc-nav--prev { left: 18px; }
.tsgc-body .tsgc-lightbox__ui .tsgc-nav--next { right: 18px; }
.tsgc-body .tsgc-lightbox__dress { left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: max-content; max-width: calc(100vw - 32px); }
.tsgc-body .tsgc .tsgc-lightbox__dress .tsgc-add-btn { background: #fff; color: var(--ink); border-color: #fff; }
.tsgc-body .tsgc .tsgc-lightbox__dress .tsgc-add-btn:hover { background: transparent; color: #fff; }
.tsgc-body .tsgc .tsgc-lightbox__dress .tsgc-add-btn.is-added { background: transparent; color: #cfe3d0; border-color: #cfe3d0; }

/* Toast */
.tsgc-body .tsgc-toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 20px); padding: 14px 22px; background: var(--ink); color: var(--paper); font: 400 13px/1.4 var(--sans); letter-spacing: .04em; opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.tsgc-body .tsgc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.tsgc-body .tsgc-noscript { padding: 24px var(--gutter); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.tsgc-body .tsgc-cards { grid-template-columns: 1fr; max-width: 760px; }
	.tsgc-body .tsgc-card__link { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 32px; align-items: start; }
	.tsgc-body .tsgc-card__body { padding-top: 6px; }
}

@media (max-width: 1023px) {
	.tsgc-body .tsgc-reader { grid-template-columns: 1fr; }
	.tsgc-body .tsgc-stage .tsgc-nav { width: 42px; height: 42px; margin-top: -21px; background: rgba(255, 255, 255, .9); }
	.tsgc-body .tsgc-stage .tsgc-nav--prev { left: 8px; }
	.tsgc-body .tsgc-stage .tsgc-nav--next { right: 8px; }
	.tsgc-body .tsgc .tsgc-sheet__zoom { opacity: 1; transform: none; height: 34px; padding: 0 12px; right: 10px; bottom: 10px; }

	.admin-bar.tsgc-body .tsgc-panel, .tsgc-body .tsgc-panel { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 70; transform: translateY(105%); transition: transform .45s var(--ease); visibility: hidden; }
	.tsgc-body .tsgc-panel.is-open { transform: none; visibility: visible; }
	.tsgc-body .tsgc-panel__inner { max-height: 86vh; max-height: 86dvh; border: 0; border-radius: 16px 16px 0 0; padding: 18px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px -20px rgba(28, 24, 21, .4); }
	.tsgc-body .tsgc-panel__inner::before { content: ""; align-self: center; width: 40px; height: 4px; margin-bottom: 14px; border-radius: 2px; background: var(--line-2); flex: none; }
	.tsgc-body .tsgc .tsgc-panel__close { display: grid; }

	.tsgc-body .tsgc .tsgc-fab { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 50; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 10px 0 22px; border-radius: 26px; background: var(--ink); color: var(--paper); font: 400 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 12px 30px -10px rgba(28, 24, 21, .55); transition: transform .4s var(--ease), opacity .3s; }
	.tsgc-body .tsgc .tsgc-fab:hover { background: var(--ink); color: var(--paper); }
	.tsgc-body .tsgc .tsgc-fab .tsgc-count { background: var(--paper); color: var(--ink); }
	.tsgc-body .tsgc .tsgc-fab.is-hidden { transform: translate(-50%, 90px); opacity: 0; }
	.tsgc-body .tsgc-toast { bottom: calc(84px + env(safe-area-inset-bottom)); }

	.tsgc-body .tsgc-request__grid { grid-template-columns: 1fr; }
	.tsgc-body .tsgc-recap { position: static; }
}

@media (max-width: 767px) {
	.tsgc-body .tsgc-hub .tsgc-brand img { height: 46px; }
	.tsgc-body .tsgc-hero { gap: 20px; }
	.tsgc-body .tsgc-card__link { display: flex; }
	.tsgc-body .tsgc-cards { gap: 56px; }
	.tsgc-body .tsgc-steps ol { grid-template-columns: 1fr; gap: 32px; }
	.tsgc-body .tsgc-foot { justify-content: center; text-align: center; }

	.tsgc-body .tsgc-bar { height: 60px; grid-template-columns: auto 1fr auto; }
	.tsgc-body .tsgc-bar .tsgc-brand img { height: 30px; }
	.tsgc-body .tsgc .tsgc-bar__back span, .tsgc-body .tsgc .tsgc-bar__sel-label { display: none; }
	.tsgc-body .tsgc .tsgc-bar__back { width: 40px; height: 40px; justify-content: center; }
	.tsgc-body .tsgc .tsgc-bar__sel { padding: 0 8px 0 12px; }
	.admin-bar.tsgc-body .tsgc-bar { top: 46px; }
	.tsgc-body .tsgc-intro { grid-template-columns: 1fr; gap: 14px; padding-top: 26px; padding-bottom: 20px; }
	.tsgc-body .tsgc-intro__text { gap: 12px; }
	.tsgc-body .tsgc-intro .tsgc-display { font-size: 42px; }
	.tsgc-body .tsgc-intro .tsgc-lead { font-size: 14px; line-height: 1.65; }
	.tsgc-body .tsgc-intro__aside { justify-items: start; text-align: left; grid-auto-flow: column; align-items: baseline; justify-content: start; gap: 14px; }
	.tsgc-body .tsgc .tsgc-offer { grid-auto-flow: column; align-items: baseline; justify-items: start; gap: 10px; }
	.tsgc-body .tsgc .tsgc-offer strong { font-size: 34px; }
	.tsgc-body .tsgc .tsgc-howto { margin-top: 0; padding: 12px 14px; font-size: 12.5px; line-height: 1.55; }

	.tsgc-body .tsgc-reader { padding-left: 0; padding-right: 0; }
	.tsgc-body .tsgc-sheet { box-shadow: none; }
	.tsgc-body .tsgc-pagebar, .tsgc-body .tsgc-dress { padding-left: var(--gutter); padding-right: var(--gutter); }
	.tsgc-body .tsgc-pagebar { gap: 14px; margin-top: 16px; }
	.tsgc-body .tsgc .tsgc-pagebar .tsgc-link span { display: none; }
	.tsgc-body .tsgc-dress { border-top: 0; margin-top: 10px; }
	.tsgc-body .tsgc-dress__row { flex-direction: column; align-items: stretch; gap: 14px; }
	.tsgc-body .tsgc .tsgc-add-btn { justify-content: center; min-height: 52px; }

	.tsgc-body .tsgc-form__grid { grid-template-columns: 1fr; gap: 22px; }
	.tsgc-body .tsgc-request { padding-bottom: 110px; }

	.tsgc-body .tsgc-grid__head { flex-wrap: wrap; gap: 10px; }
	.tsgc-body .tsgc-grid__search { order: 3; max-width: none; flex-basis: 100%; }
	.tsgc-body .tsgc .tsgc-grid__close { margin-left: auto; }
	.tsgc-body .tsgc-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
	.tsgc-body .tsgc-lightbox__hint { display: none; }
	.tsgc-body .tsgc-lightbox__ui .tsgc-nav { top: auto; bottom: 18px; margin-top: 0; }
	.tsgc-body .tsgc-lightbox__dress { bottom: 84px; }
}

@media (max-width: 600px) {
	.admin-bar.tsgc-body .tsgc-bar { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.tsgc-body .tsgc *, .tsgc-body .tsgc *::before, .tsgc-body .tsgc *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.tsgc-body .tsgc-card { opacity: 1; transform: none; }
}
