/* ============================================================
   Gõdskaar shared theme (Godglass palette) — used on ALL pages
   Header + Footer are standardized here.
   ============================================================ */

:root{
  --gd-bg: #07080c;
  --gd-surface: rgba(14, 16, 24, 0.78);
  --gd-surface-2: rgba(9, 10, 16, 0.65);

  --gd-line: rgba(210, 225, 255, 0.14);
  --gd-line-2: rgba(210, 225, 255, 0.08);

  --gd-text: rgba(236, 241, 255, 0.92);
  --gd-muted: rgba(236, 241, 255, 0.62);

  --gd-glow: rgba(160, 205, 255, 0.35);
  --gd-glow-2: rgba(160, 205, 255, 0.18);

  --gd-radius: 16px;
  --gd-shadow: 0 18px 60px rgba(0,0,0,.65);

  --wrap: 1280px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--gd-bg);
  color: var(--gd-text);
}

/* Links: no browser default blue/purple */
a, a:visited{
  color: rgba(236,241,255,.78);
  text-decoration: none;
}
a:hover{
  color: rgba(236,241,255,.92);
}

/* ============================================================
   Top Navigation (copied from Store page for consistency)
   ============================================================ */
.siteHeader{
  position: sticky;
  top: 0;
  z-index: 1200;
  backdrop-filter: blur(10px);
  background: rgba(7,8,12,.72);
  border-bottom: 1px solid rgba(220,235,255,.10);
}
.siteHeaderInner{
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  padding: 16px 18px;
  display:flex;
  align-items:center;
  gap: 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 250px;
  text-decoration: none;
}
.brandLogo{
  height: 54px;
  width: auto;
  display:block;
  filter: drop-shadow(0 0 0px rgba(160,205,255,.10));
}
.brandText{
  font-family: Cinzel, ui-serif, Georgia, serif;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 20px;
  color: rgba(236,241,255,.86);
  white-space:nowrap;
}
.nav{
  display:flex;
  align-items:center;
  gap: 14px;
  flex: 1;
  justify-content:center;
}
.nav a{
  font-size: 13px;
  color: rgba(236,241,255,.72);
  padding: 8px 10px;
  border-radius: 12px;
  transition: background .12s ease, color .12s ease, box-shadow .12s ease;
}
.nav a:hover{
  background: rgba(0,0,0,.22);
  box-shadow: inset 0 0 0 1px rgba(160,205,255,.14);
  color: rgba(236,241,255,.90);
}
.nav a[aria-current="page"]{
  color: rgba(236,241,255,.92);
  background: rgba(160,205,255,.08);
  box-shadow: inset 0 0 0 1px rgba(160,205,255,.18);
}
.actions{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 190px;
  justify-content:flex-end;
}
.iconBtn{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(22,24,38,.85), rgba(10,11,18,.85));
  box-shadow: inset 0 0 0 1px var(--gd-line-2);
  color: var(--gd-text);
  cursor:pointer;
  display:grid;
  place-items:center;
  user-select:none;
  transition: box-shadow .12s ease, filter .12s ease, transform .12s ease;
}
.iconBtn:hover{
  box-shadow: inset 0 0 0 1px rgba(160,205,255,.18);
  filter: drop-shadow(0 0 10px rgba(160,205,255,.10));
  transform: translateY(-1px);
}
.iconBtn:active{ transform: translateY(0px); }

/* Mobile menu */
.menuBtn{ display:none; }
@media (max-width: 820px){
  .brand{ min-width:auto; }
  .brandText{ display:none; }
  .nav{
    position: fixed;
    left: 12px; right: 12px;
    top: 64px;
    z-index: 2500;
    display:none;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    padding: 12px;
    border-radius: 16px;
    background: rgba(10,11,18,.92);
    box-shadow: 0 18px 60px rgba(0,0,0,.6);
      backdrop-filter: blur(10px);
border: 1px solid rgba(220,235,255,.10);
  }
  .nav.open{ display:flex; }
  .actions{ min-width:auto; }
  .menuBtn{ display:grid; }
}

/* ============================================================
   Godglass Button (shared)
   ============================================================ */
.gd-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--gd-text);
  background:
    radial-gradient(circle at 50% 20%, rgba(160,205,255,.14), transparent 55%),
    linear-gradient(180deg, rgba(22,24,38,.95), rgba(8,9,14,.95));
  box-shadow: inset 0 0 0 1px rgba(210,225,255,.16), 0 16px 40px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,0.04);
  cursor:pointer;
  white-space:nowrap;
}
.gd-btn:hover{
  box-shadow: inset 0 0 0 1px rgba(160,205,255,.22), 0 18px 50px rgba(0,0,0,.62);
  filter: drop-shadow(0 0 12px rgba(160,205,255,.12));
  transform: translateY(-1px);
}
.gd-btn:active{ transform: translateY(0px); }

.gd-btn.secondary{
  background: linear-gradient(180deg, rgba(22,24,38,.70), rgba(10,11,18,.72));
  box-shadow: inset 0 0 0 1px rgba(210,225,255,.12);
}
.gd-btn.secondary:hover{
  box-shadow: inset 0 0 0 1px rgba(160,205,255,.18);
}

/* Pills (home) */
.pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  box-shadow: inset 0 0 0 1px rgba(210,225,255,.10);
  color: rgba(236,241,255,.78);
  font-size: 12px;
  letter-spacing:.02em;
}

/* ============================================================
   Footer (shared)
   ============================================================ */
.siteFooter{
  border-top: 1px solid rgba(220,235,255,.10);
  background: rgba(7,8,12,.72);
  margin-top: 64px;
}
.siteFooterInner{
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  padding: 26px 18px;
  display:flex;
  gap: 24px;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
}
.footerBrand{
  max-width: 460px;
}
.footerBrandLink .brandText{ font-size: 16px; }
.footerTagline{
  margin: 10px 0 0 0;
  color: var(--gd-muted);
  line-height: 1.5;
  font-size: 13px;
}
.footerCols{
  display:flex;
  gap: 34px;
  flex-wrap:wrap;
}
.footerCol{
  min-width: 140px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.footerHead{
  font-family: Cinzel, ui-serif, Georgia, serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
  color: rgba(236,241,255,.78);
  margin-bottom: 2px;
}
.footerCol a{
  font-size: 13px;
  color: rgba(236,241,255,.66);
}
.footerCol a:hover{
  color: rgba(236,241,255,.90);
}
.footerBottom{
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  padding: 14px 18px 18px;
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content:space-between;
  color: rgba(236,241,255,.55);
  font-size: 12px;
}
.footerBottomLinks{
  display:flex;
  align-items:center;
  gap: 10px;
}
.footerBottomLinks a{
  color: rgba(236,241,255,.58);
}
.footerBottomLinks a:hover{ color: rgba(236,241,255,.88); }
.footerBottomLinks .dot{ opacity:.5; }

@media (max-width: 680px){
  .footerBottom{ flex-direction:column; align-items:flex-start; }
}
/* ============================================================
   STORE / CATALOG: Square thumbnails (show more art)
   Paste at END of stylesheet so it overrides earlier rules.
   ============================================================ */

/* 1) Make the thumbnail wrapper a square */
:is(.itemThumb, .item-thumb, .thumb, .cardThumb, .card-thumb, .productThumb, .product-thumb, .catalogThumb, .catalog-thumb, .media, .cardMedia) {
  width: 100%;
  aspect-ratio: 1 / 1;      /* <-- square */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  /* helps if images letterbox when using contain */
  background: rgba(0,0,0,.35);
  border-radius: 14px;      /* adjust if your cards use different rounding */
}

/* If your existing CSS forces a fixed height on the thumb, this overrides it */
:is(.itemThumb, .item-thumb, .thumb, .cardThumb, .card-thumb, .productThumb, .product-thumb, .catalogThumb, .catalog-thumb, .media, .cardMedia) {
  height: auto !important;
  max-height: none !important;
}

/* 2) If thumbnails are <img> tags, show the whole image (no cropping) */
:is(.itemThumb, .item-thumb, .thumb, .cardThumb, .card-thumb, .productThumb, .product-thumb, .catalogThumb, .catalog-thumb, .media, .cardMedia) img {
  width: 100%;
  height: 100%;
  object-fit: contain;      /* <-- shows full art */
  object-position: center;
  display: block;
}

/* 3) If some thumbnails are set via background-image instead of <img> */
:is(.itemThumb, .item-thumb, .thumb, .cardThumb, .card-thumb, .productThumb, .product-thumb, .catalogThumb, .catalog-thumb, .media, .cardMedia) {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
