/* ==========================================================================
   Topaz Bazaar — public site
   Black + gold. Marcellus (inscription capitals) for display, Figtree for text.
   ========================================================================== */

@font-face { font-family: "Marcellus"; src: url("/fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Marcellus"; src: url("/fonts/marcellus-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Hieroglyphs"; src: url("/fonts/hieroglyphs-uniliteral.woff2") format("woff2"); font-display: block; unicode-range: U+13000-1342F; }

:root {
	/* Palette */
	--lapis: #0B0B0B;        /* hero / page headers (names kept for compatibility) */
	--lapis-deep: #000000;   /* header / footer */
	--lapis-line: #333333;   /* rules on black */
	--gold: #D8A443;         /* matched to the logo's mid gold; used on lapis only */
	--gold-pale: #F1D592;
	--gold-grad: linear-gradient(100deg, #E58C12 0%, #F7C553 42%, #E6A93A 64%, #A8691A 100%);
	--gold-ink: #D8A443;
	--faience: #3FB3AD;      /* Egyptian faience turquoise: focus + small accents */
	--ink: #ECECEC;           /* main text on black */
	--ink-soft: #A3A3A3;
	--paper: #000000;         /* page background */
	--white: #FFFFFF;
	--mist: #111111;         /* secondary bands */
	--rule: #2A2A2A;
	--on-lapis: #EDEDED;
	--on-lapis-soft: #A6A6A6;

	/* Type */
	--f-display: "Marcellus", "Times New Roman", serif;
	--f-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--t-xs: 0.8125rem;   /* 13 */
	--t-sm: 0.9375rem;   /* 15 */
	--t-md: 1.0625rem;   /* 17 body */
	--t-lg: 1.3125rem;   /* 21 */
	--t-xl: 1.75rem;     /* 28 */
	--t-2xl: 2.375rem;   /* 38 */
	--t-3xl: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);

	/* Space */
	--gutter: 16px;
	--wrap: 1180px;
	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 104px;
	--radius: 3px;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
html { color-scheme: dark; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-md)/1.6 var(--f-text); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--faience); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; letter-spacing: 0.005em; margin: 0 0 var(--s4); color: var(--gold); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	h1, h2, h3, h4, .tile__name { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
	h1, h2, h3, h4 { width: fit-content; max-width: 100%; }
}
h1 { font-size: var(--t-2xl); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); }
p { margin: 0 0 var(--s4); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--paper); color: var(--ink); padding: var(--s3) var(--s4); z-index: 10; }
.skip:focus { left: var(--s4); top: var(--s4); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5); border: 1px solid var(--gold); border-radius: var(--radius); background: var(--gold); color: #000; font: 500 var(--t-sm)/1 var(--f-text); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn:hover { background: var(--gold-pale); border-color: var(--gold-pale); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--lapis-deep); }
.btn--gold:hover { background: var(--gold-pale); border-color: var(--gold-pale); }
.btn--line { background: transparent; color: var(--gold); }
.btn--line:hover { background: #1A1A1A; color: var(--gold-pale); }

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: var(--s3); color: var(--on-lapis); text-decoration: none; }
.brand__mark { width: 18px; height: 34px; flex: none; }
.brand__name { font: 400 1.375rem/1 var(--f-display); letter-spacing: 0.02em; }
.brand:hover .brand__name { color: var(--gold-pale); }

/* ---------- Header ---------- */
/* Two rows: brand + contact on top, the shop menu in its own bar underneath */
.site-head { background: var(--lapis-deep); color: var(--on-lapis); }
.site-head__bar { display: flex; align-items: center; gap: var(--s5); min-height: 88px; }
.site-head__meta { margin-left: auto; display: flex; align-items: center; gap: var(--s5); font-size: var(--t-sm); color: var(--on-lapis-soft); }
.site-head__meta a { color: var(--on-lapis); text-decoration: none; }
.site-head__meta a:hover { color: var(--gold-pale); }
.lang { display: flex; gap: var(--s3); list-style: none; margin: 0; padding: 0 0 0 var(--s5); border-left: 1px solid var(--lapis-line); }
.lang a[aria-current="true"] { color: var(--gold); }

.site-nav { border-top: 1px solid var(--lapis-line); border-bottom: 1px solid var(--lapis-line); background: var(--lapis-deep); }
.nav { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav li + li { border-left: 1px solid var(--lapis-line); }
.nav a { display: block; padding: var(--s4) var(--s5); color: var(--on-lapis); font-size: var(--t-sm); font-weight: 500; text-decoration: none; box-shadow: inset 0 -2px 0 transparent; transition: color .15s, box-shadow .15s; }
.nav li:first-child a { padding-left: 0; }
.nav a:hover { color: var(--white); box-shadow: inset 0 -2px 0 var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }

.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--lapis-line); border-radius: var(--radius); color: var(--on-lapis); font: 500 var(--t-sm)/1 var(--f-text); padding: var(--s3) var(--s4); cursor: pointer; }
@media (max-width: 899px) {
	.site-head__bar { min-height: 72px; }
	.site-head__meta { display: none; }
	.menu-toggle { display: inline-flex; }
	.site-nav { display: none; }
	.site-head.is-open .site-nav { display: block; }
	.site-head.is-open .site-head__meta { display: flex; order: 3; width: 100%; margin: 0; padding: var(--s3) 0 var(--s4); justify-content: space-between; }
	.site-head.is-open .site-head__bar { flex-wrap: wrap; padding-top: var(--s3); row-gap: var(--s3); }
	.nav { flex-direction: column; }
	.nav li + li { border-left: 0; border-top: 1px solid var(--lapis-line); }
	.nav a, .nav li:first-child a { padding: var(--s4) 0; font-size: var(--t-md); }
	.nav a:hover, .nav a[aria-current="page"] { box-shadow: none; }
}

/* ---------- Hero: the cartouche ---------- */
.hero { background: var(--lapis); color: var(--on-lapis); overflow: hidden; border-bottom: 1px solid var(--rule); }
.hero__grid { display: grid; gap: var(--s7); padding-top: var(--s8); padding-bottom: var(--s8); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); padding-top: var(--s9); padding-bottom: var(--s9); } }
.hero h1 { font-size: var(--t-3xl); max-width: 13ch; margin-bottom: var(--s5); }
.hero__lede { font-size: var(--t-lg); line-height: 1.5; color: var(--on-lapis); max-width: 34em; margin-bottom: var(--s6); }
.namer { max-width: 30rem; }
.namer label { display: block; font-size: var(--t-sm); color: var(--on-lapis-soft); margin-bottom: var(--s2); }
.namer__row { display: flex; gap: var(--s2); }
.namer input { flex: 1; min-width: 0; height: 52px; padding: 0 var(--s4); background: var(--lapis-deep); border: 1px solid var(--lapis-line); border-radius: var(--radius); color: var(--white); font: 400 var(--t-lg)/1 var(--f-display); letter-spacing: 0.04em; }
.namer input::placeholder { color: var(--on-lapis-soft); }
.namer input:focus { border-color: var(--gold); outline: none; }
.namer input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.namer__hint { font-size: var(--t-xs); color: var(--on-lapis-soft); margin: var(--s3) 0 0; }
.namer__cta { margin-top: var(--s5); }

.cartouche-stage { display: flex; flex-direction: column; align-items: center; gap: var(--s5); }
.cartouche { display: flex; flex-direction: column; align-items: center; width: 196px; }
.cartouche__ring { width: 100%; min-height: 400px; padding: 56px 0; border: 3px solid var(--gold); border-radius: 999px; outline: 1px solid var(--gold); outline-offset: -11px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.cartouche__tie { width: 128%; height: 18px; margin-top: -1px; border: 3px solid var(--gold); background: repeating-linear-gradient(90deg, var(--gold) 0 1px, transparent 1px 9px); background-clip: content-box; padding: 3px 0; }
.glyph { font-family: "Hieroglyphs", serif; font-size: var(--gs, 58px); line-height: 1.04; color: var(--gold); -webkit-text-stroke: 0.04em var(--gold); display: block; }
.glyph.is-new { animation: glyph-in .28s ease-out; }
@keyframes glyph-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cartouche__empty { font: 400 var(--t-sm)/1.4 var(--f-text); color: var(--on-lapis-soft); text-align: center; padding: 0 var(--s5); }
.reading { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s3); list-style: none; margin: 0; padding: 0; max-width: 30rem; min-height: 54px; }
.reading li { display: flex; flex-direction: column; align-items: center; min-width: 28px; }
.reading .g { font-family: "Hieroglyphs", serif; font-size: 22px; line-height: 1.2; color: var(--gold-pale); }
.reading .l { font-size: var(--t-xs); color: var(--on-lapis-soft); }

/* ---------- Sections ---------- */
.band { padding: var(--s8) 0; }
.band--mist { background: var(--mist); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band--lapis { background: var(--lapis); color: var(--on-lapis); }
.band__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s3) var(--s5); margin-bottom: var(--s6); }
.band__head h2 { margin: 0; }
.band__head p { margin: 0; color: var(--ink-soft); max-width: 36em; }

/* Category tiles (home) */
.tiles { display: grid; gap: var(--s6) var(--s5); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); list-style: none; margin: 0; padding: 0; }
.tile a { display: block; text-decoration: none; }
.tile__img { aspect-ratio: 4 / 3; background: #000; border: 1px solid var(--rule); overflow: hidden; border-radius: var(--radius); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile__name { display: block; margin-top: var(--s3); font: 400 var(--t-lg)/1.25 var(--f-display); }
.tile a:hover .tile__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* Product grid */
.products { display: grid; gap: var(--s6) var(--s5); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); list-style: none; margin: 0; padding: 0; }
.product a { display: block; text-decoration: none; }
.product__img { aspect-ratio: 1; background: #000; border: 1px solid var(--rule); overflow: hidden; border-radius: var(--radius); }
.product__img img { width: 100%; height: 100%; object-fit: contain; }
.product__name { display: block; margin-top: var(--s3); font: 500 var(--t-md)/1.35 var(--f-text); }
.product__desc { display: block; margin-top: var(--s1); font-size: var(--t-sm); line-height: 1.5; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product__price { display: block; margin-top: var(--s2); font-size: var(--t-sm); color: var(--ink); }
.product a:hover .product__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.empty { padding: var(--s7) 0; color: var(--ink-soft); }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--lapis); color: var(--on-lapis); border-bottom: 1px solid var(--rule); padding: var(--s6) 0 var(--s7); }
.page-head--slim { padding: var(--s4) 0; }
.page-head h1 { margin: var(--s3) 0 0; max-width: 22ch; }
.page-head__grid { display: grid; gap: var(--s6); align-items: end; }
@media (min-width: 900px) { .page-head__grid--img { grid-template-columns: minmax(0, 1fr) 360px; } }
.page-head__text { max-width: 40em; margin-top: var(--s4); color: var(--on-lapis); }
.page-head__text p:last-child { margin-bottom: 0; }
.page-head__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--lapis-deep); }
.page-head__img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: var(--t-xs); color: var(--on-lapis-soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: var(--s2); color: var(--lapis-line); }
.crumbs a { color: var(--on-lapis); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Item page ---------- */
.item { display: grid; gap: var(--s7); padding-top: var(--s6); padding-bottom: var(--s8); }
@media (min-width: 900px) { .item { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); } }
.viewer__main { display: block; width: 100%; padding: 0; border: 0; background: #000; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.viewer__main img { width: 100%; height: 100%; object-fit: contain; }
.viewer__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: var(--s2); list-style: none; margin: var(--s3) 0 0; padding: 0; }
.viewer__thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: var(--radius); background: #000; aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.viewer__thumbs button[aria-pressed="true"] { border-color: var(--gold-ink); }
.viewer__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.item__info { align-self: start; }
@media (min-width: 900px) { .item__info { position: sticky; top: var(--s5); } }
.item__info h1 { font-size: var(--t-2xl); }
.item__price { font: 500 var(--t-xl)/1 var(--f-text); font-variant-numeric: lining-nums; margin: 0 0 var(--s5); }
.item__price small { font: 400 var(--t-sm)/1 var(--f-text); color: var(--ink-soft); margin-right: var(--s2); }
.item__summary { color: var(--ink-soft); font-size: var(--t-lg); line-height: 1.5; }
.item__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.item__note { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--rule); font-size: var(--t-sm); color: var(--ink-soft); }
.item__note a { color: var(--ink); }

.prose { max-width: 42rem; }
.prose--page { padding-top: var(--s7); padding-bottom: var(--s8); }
.prose img { height: auto !important; margin: var(--s5) 0; border-radius: var(--radius); }
.prose h2, .prose h3 { margin-top: var(--s6); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 var(--s4); }
.prose li { margin-bottom: var(--s2); }
.prose table { border-collapse: collapse; width: 100%; margin: var(--s5) 0; font-size: var(--t-sm); }
.prose td, .prose th { border-bottom: 1px solid var(--rule); padding: var(--s3) var(--s2); text-align: left; vertical-align: top; }
.prose a { color: var(--gold-pale); }

.section-split { display: grid; gap: var(--s5); padding-top: var(--s7); padding-bottom: var(--s7); border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .section-split { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s8); } }
.section-split > h2 { font-size: var(--t-xl); }

/* Price tables */
.prices { display: grid; gap: var(--s6); }
.prices__caption { font: 400 var(--t-lg)/1.3 var(--f-display); margin: 0 0 var(--s3); }
.price-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.price-table th { text-align: left; font-weight: 600; padding: var(--s3) var(--s3); border-bottom: 2px solid var(--ink); white-space: nowrap; }
.price-table td { padding: var(--s3) var(--s3); border-bottom: 1px solid var(--rule); }
.price-table tbody th { text-align: left; font-weight: 500; padding: var(--s3); border-bottom: 1px solid var(--rule); }
.price-table .na { color: var(--ink-soft); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Request form ---------- */
.request { background: var(--mist); padding: var(--s7) 0 var(--s8); }
.request__grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .request__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s8); } }
.request__intro p { color: var(--ink-soft); }
.form { display: grid; gap: var(--s4) var(--s5); }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: var(--t-sm); font-weight: 500; margin-bottom: var(--s2); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: var(--s3) var(--s4); background: #0D0D0D; border: 1px solid #3A3A3A; border-radius: var(--radius); color: var(--ink); font: 400 var(--t-md)/1.4 var(--f-text); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: 2px solid var(--faience); outline-offset: 1px; }
.field .err { display: none; margin-top: var(--s2); font-size: var(--t-xs); color: #FF8F7F; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #FF8F7F; }
.field.has-error .err { display: block; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.form__foot p { margin: 0; font-size: var(--t-xs); color: var(--ink-soft); }

/* ---------- Visit ---------- */
.visit { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .visit { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); } }
.facts { margin: 0; display: grid; gap: var(--s4); }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: var(--s3); padding-bottom: var(--s4); border-bottom: 1px solid var(--rule); }
.facts dt { font-size: var(--t-sm); color: var(--ink-soft); }
.facts dd { margin: 0; }
.facts a { color: var(--ink); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); background: var(--rule); }
.reviews { margin-top: var(--s5); overflow: hidden; }

/* ---------- Galleries ---------- */
.photo-grid { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); list-style: none; margin: 0; padding: 0; }
.photo-grid button { display: block; width: 100%; padding: 0; border: 0; background: #000; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; border-radius: var(--radius); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .92); }
.lightbox__inner { display: grid; grid-template-rows: auto 1fr auto; height: 100%; color: var(--on-lapis); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: var(--s3) var(--s4); font-size: var(--t-sm); }
.lightbox__fig { margin: 0; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 var(--s4); }
.lightbox__fig img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__nav { display: flex; justify-content: center; gap: var(--s3); padding: var(--s4); }
.lightbox button { background: transparent; border: 1px solid var(--lapis-line); color: var(--on-lapis); border-radius: var(--radius); min-height: 44px; padding: 0 var(--s4); font: 500 var(--t-sm)/1 var(--f-text); cursor: pointer; }
.lightbox button:hover { border-color: var(--gold); color: var(--white); }

/* ---------- Notice (thank you / errors) ---------- */
.notice { max-width: 40rem; padding-top: var(--s8); padding-bottom: var(--s8); }
.notice h1 { font-size: var(--t-2xl); }
.notice p { color: var(--ink-soft); }
.notice strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-foot { background: var(--lapis-deep); border-top: 1px solid var(--rule); color: var(--on-lapis-soft); padding: var(--s8) 0 var(--s6); font-size: var(--t-sm); }
.site-foot__grid { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: var(--s7); border-bottom: 1px solid var(--lapis-line); }
.site-foot h2 { font: 400 var(--t-md)/1.3 var(--f-display); margin-bottom: var(--s4); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.site-foot a { color: var(--on-lapis); text-decoration: none; }
.site-foot a:hover { color: var(--gold-pale); text-decoration: underline; }
.site-foot address { font-style: normal; line-height: 1.7; }
.site-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); padding-top: var(--s5); font-size: var(--t-xs); }
.site-foot .brand { margin-bottom: var(--s4); }

/* Flash messages from CakePHP */
#flashMessage, .message { max-width: var(--wrap); margin: var(--s4) auto; padding: var(--s3) var(--s4); background: var(--mist); border-left: 3px solid var(--gold); border-radius: 0; font-size: var(--t-sm); }

/* Contact page: the visit block follows the form, so give it the plain surface */
.request + .band--mist { background: var(--paper); }
.reviews ul { list-style: none; margin: 0; padding: 0; }
/* On small screens the category photo would push the products below the fold */
@media (max-width: 899px) { .page-head__img { display: none; } .band { padding: var(--s7) 0; } }
/* Official logo image */
.brand__logo { display: block; height: 58px; width: auto; max-width: 240px; object-fit: contain; }
.site-foot .brand__logo { height: 64px; }
@media (max-width: 899px) { .brand__logo { height: 46px; } }
.facts .opt { color: var(--ink-soft); font-size: var(--t-sm); }
/* Photos are shot on black: frame them so they don't melt into the page */
.viewer__main, .photo-grid button { border: 1px solid var(--rule); }
.viewer__thumbs button { border-color: var(--rule); }
.viewer__thumbs button[aria-pressed="true"] { border-color: var(--gold); }
/* Honeypot field for the request form: invisible to people and screen readers, bots fill it in */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
