/* ==========================================================================
   Gold Grelia B2B page — rendered inside the Lagar/Elementor theme.
   Every selector is scoped to #gg-b2b so theme and Elementor-kit rules
   (e.g. `.elementor-kit-15 h1`, `input[type=text]`) cannot override it.
   Brand tokens from goldgrelia.com: Cormorant Infant, Alata,
   ink #231F20, cream #F9F8F4, gold #B98D58.
   ========================================================================== */

#gg-b2b {
	--ink: #231f20;
	--ink-deep: #191617;
	--cream: #f9f8f4;
	--paper: #f1ede3;
	--white: #fffefb;
	--gold: #b98d58;
	--gold-deep: #8a6a40;   /* AA on cream for small text */
	--gold-soft: #e9dcc9;
	--line: rgba(35, 31, 32, .12);
	--line-strong: rgba(35, 31, 32, .22);
	--muted: rgba(35, 31, 32, .68);
	--error: #a3352b;

	--serif: "Cormorant Infant", "GFS Didot", Georgia, serif;
	--sans: "Alata", "Manrope", system-ui, sans-serif;

	--ease: cubic-bezier(.32, .72, 0, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--r-outer: 30px;
	--r-inner: 24px;
	--gutter: clamp(16px, 4vw, 56px);
	--section: clamp(72px, 9vw, 128px);

	position: relative;
	overflow-x: clip;
	color: var(--ink);
	background: var(--cream);
	font-family: var(--serif);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: normal;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

/* Neutralise theme element styles inside the page (low specificity: components still win). */
#gg-b2b *, #gg-b2b *::before, #gg-b2b *::after { box-sizing: border-box; }
#gg-b2b :where(h1, h2, h3, h4, p, ol, ul, li, dl, dt, dd, figure, figcaption, blockquote, fieldset, legend, address, label, small, abbr) {
	margin: 0; padding: 0; border: 0; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit;
	letter-spacing: inherit; text-transform: none; color: inherit; background: none;
}
#gg-b2b :where(ol, ul) { list-style: none; }
#gg-b2b :where(a) { color: inherit; text-decoration: none; box-shadow: none; }
#gg-b2b :where(a):hover { color: inherit; }
#gg-b2b :where(button, input, select, textarea) {
	margin: 0; font: inherit; color: inherit; letter-spacing: normal; text-transform: none; text-shadow: none;
	min-height: 0; height: auto; width: auto; max-width: 100%; border-radius: 0; box-shadow: none; background-image: none; transition: none;
}
#gg-b2b :where(button):hover, #gg-b2b :where(button):focus { color: inherit; background-color: transparent; }
#gg-b2b [hidden] { display: none !important; }
#gg-b2b img { display: block; max-width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; }
#gg-b2b :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
#gg-b2b [id] { scroll-margin-top: 110px; }
@media (prefers-reduced-motion: no-preference) { html:has(#gg-b2b) { scroll-behavior: smooth; } }

#gg-b2b .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

#gg-b2b .gg-wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
#gg-b2b .gg-display {
	font-weight: 300; font-size: clamp(2.9rem, 6vw, 6.2rem); line-height: .95; letter-spacing: -.025em; text-wrap: balance;
}
#gg-b2b .gg-h2 { font-weight: 300; font-size: clamp(2.3rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
#gg-b2b .gg-display em, #gg-b2b .gg-h2 em { font-style: italic; font-weight: 300; color: var(--gold-deep); }
#gg-b2b .gg-lede { font-size: clamp(1.2rem, 1.45vw, 1.4rem); line-height: 1.45; color: var(--muted); max-width: 38ch; }
#gg-b2b .gg-micro { font-family: var(--sans); font-size: 11px; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase; }
#gg-b2b .gg-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
	padding: 7px 16px 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(185, 141, 88, .45);
	font-family: var(--sans); font-size: 10.5px; line-height: 1.4; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep);
}
#gg-b2b .gg-eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
#gg-b2b .gg-eyebrow--light { color: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(233, 220, 201, .3); }

#gg-b2b .gg-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(32px, 4vw, 56px); }

/* --------------------------------------------------------------------------
   Buttons — island pills with nested icon
   -------------------------------------------------------------------------- */
#gg-b2b .gg-btn {
	--btn-bg: var(--ink); --btn-fg: var(--cream); --icon-bg: rgba(255, 255, 255, .12);
	display: inline-flex; align-items: center; gap: 16px; padding: 7px 7px 7px 26px; min-height: 52px;
	border: 0; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
	font-family: var(--sans); font-size: 12px; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
	transition: transform .5s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease);
}
#gg-b2b .gg-btn:hover, #gg-b2b .gg-btn:focus { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 18px 40px -18px rgba(35, 31, 32, .45); }
#gg-b2b .gg-btn:active { transform: scale(.98); }
#gg-b2b .gg-btn__icon {
	display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--icon-bg);
	transition: transform .6s var(--ease);
}
#gg-b2b .gg-btn__icon svg { width: 14px; height: 14px; }
#gg-b2b .gg-btn:hover .gg-btn__icon { transform: translate(3px, -1px) scale(1.06); }
#gg-b2b .gg-btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); --icon-bg: rgba(35, 31, 32, .12); }
#gg-b2b .gg-btn--gold:hover { --btn-bg: #c69c69; }
#gg-b2b .gg-btn--ghost { --btn-bg: transparent; --btn-fg: var(--cream); --icon-bg: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
#gg-b2b .gg-btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
#gg-b2b .gg-btn--sm { min-height: 44px; padding: 5px 5px 5px 20px; gap: 12px; font-size: 11px; }
#gg-b2b .gg-btn--sm .gg-btn__icon { width: 34px; height: 34px; }
#gg-b2b .gg-btn[disabled] { opacity: .55; pointer-events: none; }

#gg-b2b .gg-link {
	position: relative; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-block: 6px;
}
#gg-b2b .gg-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .7s var(--ease); }
#gg-b2b .gg-link:hover::after { transform: scaleX(0); }

#gg-b2b .gg-iconbtn {
	display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
	background: transparent; color: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
	transition: background-color .5s var(--ease), transform .5s var(--ease);
}
#gg-b2b .gg-iconbtn svg { width: 18px; height: 18px; }
#gg-b2b .gg-iconbtn:hover, #gg-b2b .gg-iconbtn:focus { background: rgba(255, 255, 255, .08); color: inherit; }
#gg-b2b .gg-iconbtn:active { transform: scale(.94); }
#gg-b2b .gg-iconbtn[disabled] { opacity: .35; cursor: default; }
#gg-b2b .gg-iconbtn[aria-expanded="true"] { background: var(--gold); color: var(--ink); box-shadow: none; }

/* --------------------------------------------------------------------------
   Double bezel
   -------------------------------------------------------------------------- */
#gg-b2b .gg-bezel {
	padding: 7px; border-radius: var(--r-outer);
	background: rgba(35, 31, 32, .035); box-shadow: inset 0 0 0 1px rgba(35, 31, 32, .07);
}
#gg-b2b .gg-bezel > * { border-radius: var(--r-inner); overflow: hidden; }
#gg-b2b .gg-bezel img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   Hero (compact — the theme header sits above it)
   -------------------------------------------------------------------------- */
#gg-b2b .gg-hero { padding-block: clamp(56px, 7vw, 104px) var(--section); }
#gg-b2b .gg-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
#gg-b2b .gg-hero__copy .gg-lede { margin-top: 28px; }
#gg-b2b .gg-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 40px; }
#gg-b2b .gg-hero__media { position: relative; }
#gg-b2b .gg-hero__media .gg-bezel > * { aspect-ratio: 5 / 4; }
#gg-b2b .gg-tag-card {
	position: absolute; left: -36px; bottom: 40px; display: grid; gap: 2px; padding: 20px 24px; border-radius: 22px;
	background: var(--white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 30px 60px -30px rgba(35, 31, 32, .35), 0 0 0 1px rgba(35, 31, 32, .05);
	transform: rotate(-3deg);
}
#gg-b2b .gg-tag-card strong { font-weight: 300; font-size: 2.4rem; line-height: 1; letter-spacing: -.02em; }
#gg-b2b .gg-tag-card span:last-child { font-size: 1rem; color: var(--muted); font-style: italic; }
#gg-b2b .gg-tag-card .gg-micro { color: var(--gold-deep); }

#gg-b2b .gg-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); }
#gg-b2b .gg-proof li { padding: 22px 20px 0 0; border-top: 1px solid var(--line); }
#gg-b2b .gg-proof li + li { padding-left: 20px; border-left: 1px solid var(--line); }
#gg-b2b .gg-proof strong { display: block; font-size: clamp(1.5rem, 2vw, 1.9rem); font-weight: 400; line-height: 1.1; }
#gg-b2b .gg-proof span { display: block; margin-top: 6px; font-family: var(--sans); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 900px) {
	#gg-b2b .gg-hero__grid { grid-template-columns: 1fr; }
	#gg-b2b .gg-tag-card { left: 16px; bottom: 16px; transform: none; padding: 14px 18px; }
	#gg-b2b .gg-tag-card strong { font-size: 1.9rem; }
	#gg-b2b .gg-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
	#gg-b2b .gg-proof li:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* --------------------------------------------------------------------------
   Catalogue + flipbook
   -------------------------------------------------------------------------- */
#gg-b2b .gg-catalogue { padding-block: var(--section); background: var(--ink-deep); color: var(--cream); }
#gg-b2b .gg-catalogue .gg-h2 em { color: var(--gold); }
#gg-b2b .gg-catalogue .gg-head p { color: rgba(249, 248, 244, .62); font-size: 1.15rem; max-width: 40ch; }

#gg-b2b .gg-flip { position: relative; max-width: min(100%, calc((100svh - 190px) * var(--flip-ratio-num, 1.7778))); margin-inline: auto; }
#gg-b2b .gg-flip__frame {
	padding: 8px; border-radius: var(--r-outer); background: rgba(255, 255, 255, .04);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 60px 120px -60px rgba(0, 0, 0, .8);
}
#gg-b2b .gg-flip__stage {
	position: relative; aspect-ratio: var(--flip-ratio, 16 / 9); border-radius: 22px; overflow: hidden;
	background: #0f0d0e; perspective: 2600px; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
#gg-b2b .gg-flip__page, #gg-b2b .gg-flip__leaf { position: absolute; inset: 0; }
#gg-b2b .gg-flip__page img, #gg-b2b .gg-flip__face img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
#gg-b2b .gg-flip__page--current::after { /* shadow cast by the turning leaf */
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--cast, 0);
	background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 55%);
}
#gg-b2b .gg-flip__leaf { z-index: 3; transform-origin: 0 50%; transform-style: preserve-3d; will-change: transform; }
#gg-b2b .gg-flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #0f0d0e; }
#gg-b2b .gg-flip__shade { position: absolute; inset: 0; pointer-events: none; opacity: var(--shade, 0); background: linear-gradient(90deg, rgba(255, 255, 255, .18), rgba(0, 0, 0, .35) 70%, rgba(0, 0, 0, .55)); }
#gg-b2b .gg-flip__zone { position: absolute; top: 0; bottom: 0; z-index: 4; height: auto; padding: 0; border: 0; background: transparent; cursor: pointer; }
#gg-b2b .gg-flip__zone:hover, #gg-b2b .gg-flip__zone:focus { background: transparent; }
#gg-b2b .gg-flip__zone--prev { left: 0; width: 28%; cursor: w-resize; }
#gg-b2b .gg-flip__zone--next { right: 0; width: 72%; cursor: e-resize; }
#gg-b2b .gg-flip__spinner { position: absolute; left: 50%; top: 50%; z-index: 5; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); border-top-color: var(--gold); opacity: 0; transition: opacity .3s; animation: gg-spin 1s linear infinite; pointer-events: none; }
#gg-b2b .gg-flip.is-loading .gg-flip__spinner { opacity: 1; }

#gg-b2b .gg-flip__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: 24px; }
#gg-b2b .gg-flip__nav, #gg-b2b .gg-flip__tools { display: flex; align-items: center; gap: 12px; }
#gg-b2b .gg-flip__count { min-width: 92px; text-align: center; font-family: var(--sans); font-size: 12px; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
#gg-b2b .gg-flip__sep { opacity: .35; margin-inline: 8px; }
#gg-b2b .gg-flip__progress { height: 1px; background: rgba(255, 255, 255, .14); overflow: hidden; }
#gg-b2b .gg-flip__progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .8s var(--ease); }
#gg-b2b .gg-flip__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; margin-top: 24px; max-height: 340px; overflow-y: auto; padding: 4px; }
#gg-b2b .gg-flip__thumbs button { position: relative; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: #0f0d0e; aspect-ratio: var(--flip-ratio, 16 / 9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#gg-b2b .gg-flip__thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .4s var(--ease); }
#gg-b2b .gg-flip__thumbs button:hover img, #gg-b2b .gg-flip__thumbs button[aria-current="true"] img { opacity: 1; }
#gg-b2b .gg-flip__thumbs button[aria-current="true"] { box-shadow: 0 0 0 2px var(--gold); }
#gg-b2b .gg-flip__thumbs span { position: absolute; left: 8px; bottom: 6px; font-family: var(--sans); font-size: 10px; letter-spacing: .14em; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
#gg-b2b .gg-flip__thumbs button.is-locked::after { content: ""; position: absolute; inset: 0; background: rgba(15, 13, 14, .62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9dcc9' stroke-width='1.2'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / 22px no-repeat; }

#gg-b2b .gg-flip:fullscreen { display: flex; flex-direction: column; justify-content: center; max-width: none; padding: 3vw; background: var(--ink-deep); color: var(--cream); }
#gg-b2b .gg-flip:fullscreen .gg-flip__frame { width: min(100%, calc((100vh - 140px) * var(--flip-ratio-num, 1.7778))); margin-inline: auto; }

/* Lead gate — over the stage on desktop, full-screen sheet on small screens */
#gg-b2b .gg-flip__gate {
	position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; overflow-y: auto; padding: 24px;
	background: rgba(15, 13, 14, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	animation: gg-fade .6s var(--ease-out);
}
#gg-b2b .gg-flip__gate-in { width: 100%; max-width: 620px; color: var(--cream); }
#gg-b2b .gg-flip__gate-in h3 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 300; line-height: 1.05; }
#gg-b2b .gg-flip__gate-in > p:not(.gg-eyebrow) { color: rgba(249, 248, 244, .7); font-size: 1.1rem; margin: 10px 0 18px; }
#gg-b2b .gg-flip__gate-in .gg-eyebrow { margin-bottom: 16px; }
#gg-b2b .gg-flip__gate-back { margin-top: 14px; padding: 6px 0; border: 0; background: none; color: rgba(249, 248, 244, .6); font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
#gg-b2b .gg-flip__gate-back:hover { color: var(--cream); }
@media (max-width: 900px), (max-height: 640px) {
	#gg-b2b .gg-flip__gate { position: fixed; z-index: 100000; align-items: start; padding: 80px 20px 32px; background: rgba(15, 13, 14, .96); }
}

@media (max-width: 760px) {
	#gg-b2b .gg-flip__frame { padding: 5px; border-radius: 20px; }
	#gg-b2b .gg-flip__stage { border-radius: 15px; }
	#gg-b2b .gg-flip__bar { grid-template-columns: 1fr auto; gap: 16px; }
	#gg-b2b .gg-flip__progress { grid-column: 1 / -1; grid-row: 1; }
	#gg-b2b .gg-flip__tools .gg-btn span:first-child { display: none; }
	#gg-b2b .gg-flip__tools .gg-btn { padding: 4px; min-height: 0; }
	#gg-b2b .gg-flip__nav, #gg-b2b .gg-flip__tools { gap: 8px; }
	#gg-b2b .gg-flip .gg-iconbtn { width: 40px; height: 40px; }
	#gg-b2b .gg-flip__count { min-width: 64px; letter-spacing: .12em; }
	#gg-b2b .gg-flip [data-flip-full] { display: none; }
	#gg-b2b .gg-flip__thumbs { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}

/* --------------------------------------------------------------------------
   Quote request
   -------------------------------------------------------------------------- */
#gg-b2b .gg-quote-section { padding-block: var(--section); background: var(--paper); }
#gg-b2b .gg-quote-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
#gg-b2b .gg-quote-aside { position: sticky; top: 120px; }
#gg-b2b .gg-quote-aside .gg-lede { margin-top: 24px; }
#gg-b2b .gg-contact-card { display: grid; gap: 6px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
#gg-b2b .gg-contact-card .gg-micro { color: var(--gold-deep); margin-bottom: 8px; }
#gg-b2b .gg-contact-card a { font-size: 1.4rem; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
#gg-b2b .gg-contact-card a:hover { background-size: 100% 1px; }
#gg-b2b .gg-contact-card address { font-style: normal; color: var(--muted); font-size: 1.05rem; margin-top: 8px; }
@media (max-width: 1000px) {
	#gg-b2b .gg-quote-grid { grid-template-columns: 1fr; }
	#gg-b2b .gg-quote-aside { position: static; }
}

/* Form */
#gg-b2b .gg-form-shell { background: rgba(35, 31, 32, .05); }
#gg-b2b .gg-form-shell > .gg-form, #gg-b2b .gg-form-shell > .gg-success { background: var(--white); padding: clamp(24px, 4vw, 52px); box-shadow: inset 0 1px 0 #fff; }
#gg-b2b .gg-form__block { border: 0; min-width: 0; }
#gg-b2b .gg-form__block + .gg-form__block { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
#gg-b2b .gg-form__block legend { display: flex; align-items: baseline; gap: 14px; float: left; width: 100%; margin-bottom: 20px; font-size: 1.75rem; font-weight: 400; line-height: 1.1; }
#gg-b2b .gg-form__block legend + * { clear: both; }
#gg-b2b .gg-form__block legend .gg-micro { color: var(--gold-deep); }
#gg-b2b .gg-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; }
#gg-b2b .gg-grid-2 .gg-input--wide { grid-column: 1 / -1; }
@media (max-width: 640px) { #gg-b2b .gg-grid-2 { grid-template-columns: 1fr; } }

#gg-b2b .gg-input { display: flex; flex-direction: column; padding-top: 10px; }
#gg-b2b .gg-input label, #gg-b2b .gg-choice__label {
	display: block; font-family: var(--sans); font-size: 10.5px; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .4s var(--ease);
}
#gg-b2b .gg-input abbr, #gg-b2b .gg-check abbr { text-decoration: none; border: 0; color: var(--gold-deep); }
#gg-b2b .gg-input input, #gg-b2b .gg-input textarea, #gg-b2b .gg-line input, #gg-b2b .gg-line select {
	display: block; width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent;
	font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; color: var(--ink); outline: 0; box-shadow: none;
	transition: border-color .4s var(--ease);
}
#gg-b2b .gg-input input:focus, #gg-b2b .gg-input textarea:focus, #gg-b2b .gg-line input:focus, #gg-b2b .gg-line select:focus { border-bottom-color: var(--gold); background: transparent; box-shadow: none; color: var(--ink); }
#gg-b2b .gg-input textarea { resize: vertical; min-height: 110px; }
#gg-b2b .gg-input input::placeholder, #gg-b2b .gg-input textarea::placeholder, #gg-b2b .gg-line input::placeholder { color: rgba(35, 31, 32, .4); font-style: italic; opacity: 1; }
#gg-b2b .gg-input:focus-within label { color: var(--gold-deep); }
#gg-b2b .gg-input [aria-invalid="true"] { border-bottom-color: var(--error); }
#gg-b2b [data-error-for] { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .02em; color: var(--error); }
#gg-b2b [data-error-for]:not(:empty) { margin-top: 6px; }

#gg-b2b .gg-choice { margin-top: 28px; }
#gg-b2b .gg-choice:first-of-type { margin-top: 0; }
#gg-b2b .gg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
#gg-b2b .gg-chip { position: relative; cursor: pointer; }
#gg-b2b .gg-chip input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
#gg-b2b .gg-chip span {
	display: inline-block; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong);
	font-family: var(--sans); font-size: 12px; letter-spacing: .04em; line-height: 1.3;
	transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
#gg-b2b .gg-chip:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
#gg-b2b .gg-chip input:checked + span { background: var(--ink); color: var(--cream); box-shadow: inset 0 0 0 1px var(--ink); }
#gg-b2b .gg-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
#gg-b2b .gg-chip input:active + span { transform: scale(.97); }

#gg-b2b .gg-lines { margin-top: 28px; }
#gg-b2b .gg-lines__list:not(:empty) { margin-top: 4px; }
#gg-b2b .gg-line {
	display: grid; grid-template-columns: minmax(0, 1fr) 96px 110px 36px; grid-template-areas: "code qty unit rm" "desc desc desc desc";
	align-items: end; column-gap: 16px; padding-block: 6px 10px; animation: gg-line-in .6s var(--ease-out);
}
#gg-b2b .gg-line__code { grid-area: code; } #gg-b2b .gg-line__qty { grid-area: qty; } #gg-b2b .gg-line__unit { grid-area: unit; } #gg-b2b .gg-line__rm { grid-area: rm; }
#gg-b2b .gg-line__desc { grid-area: desc; font-size: 1.02rem; font-style: italic; color: var(--gold-deep); }
#gg-b2b .gg-line__desc:not(:empty) { padding-top: 8px; }
#gg-b2b .gg-line select { font-size: 1.1rem; cursor: pointer; -webkit-appearance: auto; appearance: auto; }
#gg-b2b .gg-line__rm { width: 36px; height: 36px; margin-bottom: 6px; padding: 0; border-radius: 50%; border: 0; background: rgba(35, 31, 32, .06); cursor: pointer; font-size: 18px; line-height: 1; transition: background-color .4s var(--ease); }
#gg-b2b .gg-line__rm:hover, #gg-b2b .gg-line__rm:focus { background: rgba(163, 53, 43, .12); color: var(--error); }
@media (max-width: 640px) {
	#gg-b2b .gg-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px; grid-template-areas: "code code rm" "qty unit unit" "desc desc desc"; column-gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
}
#gg-b2b .gg-add {
	display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 0; border-radius: 999px; cursor: pointer;
	background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); font-family: var(--sans); font-size: 11.5px; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase;
	transition: box-shadow .45s var(--ease), background-color .45s var(--ease);
}
#gg-b2b .gg-lines__list:not(:empty) + .gg-add, #gg-b2b .gg-lines__list:not(:empty) ~ .gg-add { margin-top: 14px; }
#gg-b2b .gg-add span { font-size: 16px; line-height: 1; color: var(--gold-deep); }
#gg-b2b .gg-add:hover, #gg-b2b .gg-add:focus { box-shadow: inset 0 0 0 1px var(--ink); background: rgba(35, 31, 32, .03); }
#gg-b2b .gg-lines + .gg-input { margin-top: 20px; }

#gg-b2b .gg-consent { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
#gg-b2b .gg-check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 1.08rem; line-height: 1.45; }
#gg-b2b .gg-check input {
	-webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 2px 0 0; padding: 0; border: 0; border-radius: 7px; cursor: pointer;
	box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--white) center / 12px no-repeat; transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
#gg-b2b .gg-check input:checked { background-color: var(--ink); box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23f9f8f4' stroke-width='1.6'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5'/%3E%3C/svg%3E"); }
#gg-b2b .gg-check input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--error); }
#gg-b2b .gg-check a { color: var(--gold-deep); text-decoration: underline; }

#gg-b2b .gg-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 32px; }
#gg-b2b .gg-form__status { font-family: var(--sans); font-size: 12.5px; letter-spacing: .02em; color: var(--muted); max-width: 40ch; }
#gg-b2b .gg-form__status.is-error { color: var(--error); }
#gg-b2b .gg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Compact (catalogue gate) — on dark */
#gg-b2b .gg-form--compact .gg-input label { color: rgba(249, 248, 244, .6); }
#gg-b2b .gg-form--compact .gg-input input, #gg-b2b .gg-form--compact .gg-input input:focus { color: var(--cream); font-size: 1.2rem; }
#gg-b2b .gg-form--compact .gg-input input { border-bottom-color: rgba(249, 248, 244, .25); }
#gg-b2b .gg-form--compact .gg-input input:focus { border-bottom-color: var(--gold); }
#gg-b2b .gg-form--compact .gg-input input::placeholder { color: rgba(249, 248, 244, .4); }
#gg-b2b .gg-form--compact .gg-input:focus-within label { color: var(--gold); }
#gg-b2b .gg-form--compact .gg-check { margin-top: 18px; font-size: 1rem; color: rgba(249, 248, 244, .78); }
#gg-b2b .gg-form--compact .gg-check + small + .gg-check { margin-top: 8px; }
#gg-b2b .gg-form--compact .gg-check input { background-color: transparent; box-shadow: inset 0 0 0 1px rgba(249, 248, 244, .35); }
#gg-b2b .gg-form--compact .gg-check input:checked { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23231f20' stroke-width='1.6'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5'/%3E%3C/svg%3E"); }
#gg-b2b .gg-form--compact .gg-check a { color: var(--gold); }
#gg-b2b .gg-form--compact .gg-form__foot { margin-top: 24px; }
#gg-b2b .gg-form--compact .gg-form__status { color: rgba(249, 248, 244, .7); }
#gg-b2b .gg-form--compact [data-error-for] { color: #f0a197; }
#gg-b2b .gg-form--compact .gg-grid-2 { gap: 0 24px; }

/* Success */
#gg-b2b .gg-success { text-align: center; padding-block: clamp(56px, 9vw, 112px) !important; outline: 0; }
#gg-b2b .gg-success h3 { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 300; line-height: 1.1; max-width: 18ch; margin: 24px auto 12px; }
#gg-b2b .gg-success p { color: var(--muted); max-width: 44ch; margin-inline: auto; }
#gg-b2b .gg-success__mark { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--gold); }
#gg-b2b .gg-success__mark::after { content: ""; width: 26px; height: 13px; border-left: 1px solid var(--gold-deep); border-bottom: 1px solid var(--gold-deep); transform: translateY(-3px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Scroll reveal (only once JS is running)
   -------------------------------------------------------------------------- */
#gg-b2b.gg-js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); transition-delay: var(--d, 0s); }
#gg-b2b.gg-js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
	#gg-b2b *, #gg-b2b *::before, #gg-b2b *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	#gg-b2b.gg-js [data-reveal] { opacity: 1; transform: none; filter: none; }
}

@keyframes gg-spin { to { transform: rotate(360deg); } }
@keyframes gg-fade { from { opacity: 0; } }
@keyframes gg-line-in { from { opacity: 0; transform: translateY(10px); } }
