/*
 * Grampy D's shared header & footer for standalone pages.
 * Everything is scoped to .gd-chrome so it can't affect the rest of the page.
 */
.gd-chrome {
	--gd-cream: #FAF4E8; --gd-ink: #2A1D15; --gd-line: #E6D9C2; --gd-red: #C42A1E;
	--gd-red-text: #A8241A; --gd-tan-text: #E6D3BE;
	--gd-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--gd-mono: 'Courier Prime', 'Courier New', monospace;
	font-family: var(--gd-body); font-size: 17px; line-height: 1.55; color: var(--gd-ink);
	-webkit-font-smoothing: antialiased; text-align: left;
}
.gd-chrome *, .gd-chrome *::before, .gd-chrome *::after { box-sizing: border-box; }
.gd-chrome img { max-width: 100%; height: auto; border: 0; }
.gd-chrome svg { display: inline-block; vertical-align: middle; }
.gd-chrome ul { list-style: none; margin: 0; padding: 0; }
.gd-chrome li { margin: 0; padding: 0; }
.gd-chrome a { color: inherit; }
.gd-chrome p { margin: 0; }
.gd-chrome .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.gd-chrome .gd-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.gd-chrome .gd-stack { display: flex; flex-direction: column; }

.gd-chrome .gd-announce { background: var(--gd-ink); color: var(--gd-cream); font-size: 14px; font-weight: 700; text-align: center; padding: 10px 24px; }
.gd-chrome .gd-header { background: var(--gd-cream); border-bottom: 1px solid var(--gd-line); position: relative; z-index: 1000; }
.gd-chrome .gd-header__inner { display: flex; align-items: center; gap: 28px; padding-top: 12px; padding-bottom: 12px; }
.gd-chrome .gd-logo { display: flex; align-items: center; text-decoration: none; }
.gd-chrome .gd-logo img { height: 76px; width: auto; display: block; }
.gd-chrome .gd-nav { margin: 0 auto; }
.gd-chrome .gd-nav ul { display: flex; gap: 26px; }
.gd-chrome .gd-nav a { color: var(--gd-ink); text-decoration: none; font-weight: 700; font-size: 16px; }
.gd-chrome .gd-nav a:hover, .gd-chrome .gd-nav .current-menu-item > a { color: var(--gd-red-text); }
.gd-chrome .gd-cart { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--gd-ink); color: var(--gd-ink); text-decoration: none; font-weight: 800; font-size: 16px; }
.gd-chrome .gd-cart:hover { background: var(--gd-ink); color: var(--gd-cream); }
.gd-chrome .gd-account { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; color: var(--gd-ink); text-decoration: none; font-weight: 800; font-size: 16px; margin-right: -12px; }
.gd-chrome .gd-account:hover { color: var(--gd-red-text); }
.gd-chrome .gd-cart-count { display: inline-flex; min-width: 24px; height: 24px; padding: 0 6px; align-items: center; justify-content: center; border-radius: 999px; background: var(--gd-red); color: #fff; font-size: 13px; }
.gd-chrome .gd-cart-count:empty { display: none; }
.gd-chrome .gd-menu-toggle { display: none; min-height: 44px; min-width: 44px; border: 2px solid var(--gd-ink); border-radius: 12px; background: transparent; color: var(--gd-ink); cursor: pointer; padding: 0; }

@media (max-width: 900px) {
	.gd-chrome .gd-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.gd-chrome .gd-header__inner { gap: 12px; }
	.gd-chrome .gd-logo img { height: 52px; }
	.gd-chrome .gd-cart { margin-left: auto; }
	.gd-chrome .gd-account { margin-left: auto; margin-right: 0; min-width: 44px; justify-content: center; border: 2px solid var(--gd-ink); border-radius: 999px; padding: 0; }
	.gd-chrome .gd-account + .gd-cart { margin-left: 0; }
	.gd-chrome .gd-account span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
	.gd-chrome .gd-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--gd-cream); border-bottom: 1px solid var(--gd-line); padding: 12px 24px 20px; }
	.gd-chrome .gd-nav.is-open { display: block; }
	.gd-chrome .gd-nav ul { flex-direction: column; gap: 4px; }
	.gd-chrome .gd-nav a { display: block; padding: 12px 0; font-size: 18px; }
}

.gd-chrome .gd-footer { background: var(--gd-ink); color: var(--gd-tan-text); font-size: 15px; }
.gd-chrome .gd-footer a { color: var(--gd-tan-text); text-decoration: underline; }
.gd-chrome .gd-footer a:hover { color: #fff; }
.gd-chrome .gd-footer__inner { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; align-items: center; padding-top: 56px; padding-bottom: 28px; }
.gd-chrome .gd-footer__brand { display: flex; align-items: center; gap: 18px; font-family: var(--gd-mono); }
.gd-chrome .gd-footer__brand img { height: 56px; width: auto; }
.gd-chrome .gd-footer ul { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.gd-chrome .gd-footer__copy { padding-bottom: 28px; font-size: 13px; color: #B9A68F; }

/* Reserve space so the page doesn't jump while the header loads. */
#gd-site-header.gd-chrome:empty { min-height: 140px; background: #FAF4E8; }
@media (max-width: 900px) { #gd-site-header.gd-chrome:empty { min-height: 120px; } }

/* Footer email sign-up */
.gd-chrome .gd-footjoin { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; padding-top: 44px; padding-bottom: 36px; border-bottom: 1px solid rgba(230,211,190,.2); }
.gd-chrome .gd-footjoin__title { font-family: 'Fraunces', Georgia, serif; font-size: 26px; font-weight: 700; color: var(--gd-cream); margin: 0; }
.gd-chrome .gd-join__form { flex: 1 1 420px; max-width: 560px; margin: 0; }
.gd-chrome .gd-join__fields { display: flex; flex-wrap: wrap; gap: 10px; }
.gd-chrome .gd-join__input { flex: 1 1 200px; min-width: 0; min-height: 54px; padding: 0 22px; border: 1.5px solid rgba(230,211,190,.35); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 17px; }
.gd-chrome .gd-join__input::placeholder { color: #CDB9A3; }
.gd-chrome .gd-join__fields button { min-height: 54px; padding: 0 26px; border: 2px solid var(--gd-red); border-radius: 999px; background: var(--gd-red); color: #fff; font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; }
.gd-chrome .gd-join__consent { color: #B9A68F; font-size: 13px; margin-top: 8px; }
.gd-chrome .gd-join__msg { margin-top: 12px; font-weight: 700; padding: 12px 16px; border-radius: 12px; background: #EEF6EC; color: #24572A; }
.gd-chrome .gd-join__form.is-error .gd-join__msg { background: #FBECEA; color: #8F1F16; }
.gd-chrome .gd-join__msg[hidden] { display: none; }
.gd-chrome .gd-join__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .gd-chrome .gd-join__input, .gd-chrome .gd-join__fields button { flex: 1 1 100%; } }
