/* Public site styles. Colors and fonts come from her Settings page and are set
   as CSS variables by site.js, so changing them there restyles everything. */

:root {
  --primary: #052847;
  --accent: #bc9458;
  --bg: #ffffff;
  --ink: #052847;
  --muted: #5d676b;
  --line: #e3e5df;
  --soft: #f6f5f0;
  --card: #ffffff;
  --ok: #2e7d4f;
  --warn: #9a6400;
  --bad: #b3261e;
  --radius: 14px;
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(20, 30, 25, 0.06), 0 8px 24px rgba(20, 30, 25, 0.06);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--primary);
  color: #fff;
  text-align: center;
  font-size: 0.92rem;
  padding: 8px 16px;
}
.announce a { color: #fff; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { max-height: 48px; width: auto; }
.brand .name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 999px; font-size: 0.98rem; }
.nav a:hover, .nav a.on { background: var(--soft); color: var(--primary); }
.icons { display: flex; gap: 6px; align-items: center; }
.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.icon-btn:hover { background: var(--soft); color: var(--primary); }
.icon-btn svg { width: 22px; height: 22px; }
.badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.menu-btn { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px;
    gap: 2px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.18s ease;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .icons { margin-left: auto; }
}

/* ---------- buttons + forms ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { color: #fff; background: color-mix(in srgb, var(--primary) 86%, #000); box-shadow: var(--shadow); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--primary); }
.btn.ghost:hover { background: var(--soft); color: var(--primary); }
.btn.accent { background: var(--accent); border-color: var(--accent); }
.btn.block { width: 100%; }
.btn.small { padding: 9px 16px; font-size: 0.92rem; }
.linkish { background: none; border: 0; padding: 0; color: var(--primary); text-decoration: underline; cursor: pointer; font: inherit; }

label { display: block; font-weight: 600; margin: 0 0 6px; font-size: 0.97rem; }
.field { margin-bottom: 18px; }
.help, .field .help { font-weight: 400; color: var(--muted); font-size: 0.88rem; margin-top: 5px; }
input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="search"], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: 1rem/1.4 var(--font-body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent); }
textarea { min-height: 110px; resize: vertical; }
.row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.req::after { content: " *"; color: var(--accent); }

/* pill choice buttons (pick one) */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  min-height: 46px;
  justify-content: center;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
.choice:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 7%, #fff); box-shadow: inset 0 0 0 1px var(--primary); }
.choice:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; }
.choice .delta { font-size: 0.82rem; color: var(--muted); font-weight: 400; }

/* swatches */
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 84px; cursor: pointer; text-align: center; font-size: 0.8rem; font-weight: 500; line-height: 1.25; position: relative; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch .dot { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.12); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); background-size: cover; background-position: center; display: grid; place-items: center; color: var(--muted); font-size: 1.1rem; }
.swatch:has(input:checked) .dot { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--primary); }
.swatch:has(input:focus-visible) .dot { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 6px; }

/* checkboxes */
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 10px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); flex: none; }

/* on/off switch */
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; margin-bottom: 10px; background: #fff; }
.switch:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 5%, #fff); }
.switch .txt small { display: block; color: var(--muted); font-weight: 400; font-size: 0.86rem; }
.switch input { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 14px; background: #cfd3cd; position: relative; flex: none; cursor: pointer; transition: background 0.15s ease; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.15s ease; }
.switch input:checked { background: var(--primary); }
.switch input:checked::after { transform: translateX(20px); }

/* ---------- sections + cards ---------- */
section { padding: 64px 0; }
section.tight { padding: 36px 0; }
.page-head { padding-top: 52px; padding-bottom: 28px; }
.page-head p { color: var(--muted); font-size: 1.12rem; max-width: 640px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card.soft { background: var(--soft); border-color: transparent; }
.stitched { position: relative; }
.stitched::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed color-mix(in srgb, var(--primary) 30%, transparent); border-radius: calc(var(--radius) - 5px); pointer-events: none; }
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* canvas-mesh texture used behind the hero */
.mesh {
  background-color: var(--soft);
  background-image:
    linear-gradient(color-mix(in srgb, var(--primary) 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--primary) 7%, transparent) 1px, transparent 1px);
  background-size: 12px 12px;
}

.hero { padding: 72px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 520px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-art { position: relative; aspect-ratio: 4 / 4.4; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 4 / 3; }
}

.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { padding: 26px 22px 22px; }
.step::after { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 0.95rem; }
.step h3 { margin-top: 6px; }

/* product cards */
.pcard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.pcard .img { aspect-ratio: 1 / 1; background: var(--soft); position: relative; }
.pcard .img img { width: 100%; height: 100%; object-fit: cover; }
.pcard .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard h3 { margin: 0; font-size: 1.3rem; }
.pcard .price { font-weight: 600; color: var(--primary); }
.pcard .summary { color: var(--muted); font-size: 0.95rem; flex: 1; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; }
.tag.sale { background: var(--accent); color: #fff; }
.tag.soft { background: var(--soft); color: var(--muted); }
.tag.ok { background: color-mix(in srgb, var(--ok) 14%, #fff); color: var(--ok); }
.tag.warn { background: color-mix(in srgb, var(--warn) 14%, #fff); color: var(--warn); }
.pcard .tag.sale { position: absolute; top: 12px; left: 12px; }
.art-ph { width: 100%; height: 100%; display: grid; place-items: center; color: color-mix(in srgb, var(--primary) 45%, #fff); }
.art-ph svg { width: 42%; height: auto; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: 500 0.95rem var(--font-body); color: var(--ink); }
.chip.on, .chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.on { background: color-mix(in srgb, var(--primary) 8%, #fff); }

/* product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 36px 0 70px; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 26px; } }
.gallery-main { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--soft); }
.thumbs button.on { border-color: var(--primary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.media-col { position: sticky; top: 96px; }
@media (max-width: 900px) { .media-col { position: static; } }
.desc { color: var(--ink); }
.desc p:last-child { margin-bottom: 0; }
.opt-group { padding: 18px 0; border-top: 1px solid var(--line); }
.opt-group > label { margin-bottom: 10px; }
.opt-group .sub { color: var(--muted); font-size: 0.88rem; margin: -6px 0 10px; }
.price-box { background: #fff; border-top: 1px solid var(--line); padding: 18px 0 8px; margin-top: 8px; }
.price-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.price-line strong { font-size: 1.2rem; }
.price-line.big strong { font-size: 1.5rem; color: var(--primary); }
.strike { text-decoration: line-through; color: var(--muted); font-weight: 400; margin-right: 6px; }
.errors { color: var(--bad); font-size: 0.92rem; margin: 8px 0; }

/* tables */
table.t { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
table.t th, table.t td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
table.t td.num, table.t th.num { text-align: right; white-space: nowrap; }
table.t tr.total td { font-weight: 700; border-bottom: 0; font-size: 1.08rem; }
.table-wrap { overflow-x: auto; }

/* formula on the pricing page */
.formula { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 26px 0 8px; }
.formula .term { flex: 1 1 150px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.formula .term b { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--primary); }
.formula .term span { color: var(--muted); font-size: 0.9rem; }
.formula .op { display: grid; place-items: center; font-size: 1.6rem; color: var(--accent); font-weight: 700; padding: 0 2px; }
@media (max-width: 700px) { .formula .op { width: 100%; height: 14px; } }

/* gallery */
.masonry { columns: 3 260px; column-gap: 18px; }
.masonry figure { break-inside: avoid; margin: 0 0 18px; border-radius: 12px; overflow: hidden; background: var(--soft); cursor: zoom-in; position: relative; }
.masonry figure img { width: 100%; height: auto; transition: transform 0.3s ease; }
.masonry figure:hover img { transform: scale(1.03); }
.masonry figcaption { padding: 10px 14px 12px; background: #fff; font-size: 0.92rem; }
.masonry figcaption .credit { color: var(--muted); font-size: 0.84rem; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 14, 12, 0.88); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-height: 82vh; max-width: 92vw; width: auto; border-radius: 10px; }
.lightbox .cap { color: #fff; text-align: center; margin-top: 12px; }
.lightbox button { position: absolute; top: 16px; right: 16px; color: #fff; }

/* FAQ */
details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.5rem; color: var(--accent); transition: transform 0.15s ease; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .a { padding: 0 0 18px; color: var(--ink); }

/* prose from markdown */
.prose h2 { margin-top: 1.6em; font-size: 1.8rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.35em; }

/* notices */
.notice { padding: 14px 18px; border-radius: 12px; background: var(--soft); border-left: 4px solid var(--primary); margin: 0 0 18px; }
.notice.warn { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 8%, #fff); }
.notice.ok { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 8%, #fff); }
.notice.bad { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 7%, #fff); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 200; box-shadow: var(--shadow); font-size: 0.95rem; max-width: 90vw; }

/* status progress (account page) */
.progress { display: flex; gap: 4px; margin: 14px 0 6px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.progress span.on { background: var(--primary); }
.progress-labels { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--muted); gap: 6px; }

/* option radio cards for checkout */
.rcards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rcard { position: relative; display: block; padding: 18px 18px 16px 50px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 400; background: #fff; }
.rcard input { position: absolute; left: 18px; top: 21px; width: 18px; height: 18px; accent-color: var(--primary); }
.rcard b { display: block; font-size: 1.05rem; margin-bottom: 3px; }
.rcard span { color: var(--muted); font-size: 0.92rem; white-space: pre-line; }
.rcard:has(input:checked) { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); background: color-mix(in srgb, var(--primary) 4%, #fff); }
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; padding-bottom: 70px; }
.checkout .summary { position: sticky; top: 96px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .checkout .summary { position: static; } }
.step-title { display: flex; align-items: center; gap: 12px; margin: 34px 0 14px; }
.step-title .n { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.92rem; flex: none; }
.step-title h2 { margin: 0; font-size: 1.6rem; }

.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item .thumb { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--soft); }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item ul { margin: 6px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; }
.cart-item .actions { display: flex; gap: 14px; margin-top: 8px; font-size: 0.92rem; }

/* order slip for printing */
.slip { border: 2px dashed var(--ink); border-radius: 12px; padding: 22px; margin: 18px 0; }
.slip .code { font: 700 1.8rem/1 ui-monospace, Menlo, monospace; letter-spacing: 0.06em; }
@media print {
  .site-header, .site-footer, .announce, .no-print { display: none !important; }
  body { font-size: 12pt; }
  .print-only { display: block !important; }
}
.print-only { display: none; }

/* ---------- footer ---------- */
.site-footer { background: color-mix(in srgb, var(--primary) 96%, #000); color: rgba(255, 255, 255, 0.86); margin-top: 40px; font-size: 0.95rem; }
.site-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 56px 20px 36px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .fname { font-family: var(--font-head); font-size: 1.6rem; color: #fff; margin-bottom: 8px; }
.site-footer .flogo { max-height: 56px; width: auto; margin-bottom: 12px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.2)); background: #fff; padding: 6px 10px; border-radius: 10px; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); }
.socials a:hover { background: rgba(255, 255, 255, 0.2); text-decoration: none; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 22px; flex-wrap: wrap; }

/* language picker */
.lang { position: relative; }
.lang > button { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 7px 14px 7px 10px; cursor: pointer; font: 500 0.92rem var(--font-body); }
.lang > button:hover { background: rgba(255, 255, 255, 0.18); }
.lang ul { position: absolute; bottom: calc(100% + 8px); right: 0; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25); padding: 6px; min-width: 190px; list-style: none; margin: 0; z-index: 50; }
.lang li button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; background: none; border-radius: 8px; cursor: pointer; font: 0.95rem var(--font-body); color: var(--ink); text-align: left; }
.lang li button:hover, .lang li button.on { background: var(--soft); }
.flag { width: 22px; height: 15px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); display: block; }

.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--primary); animation: spin 0.8s linear infinite; margin: 60px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-page { min-height: 50vh; }
