/* grk site: the shop map in each page's close and the cookie banner (assets/grk-site.js). */

/* the map: a framed panel on the cobalt close, the shop in the middle, the badge as the marker */
.close__map { position: relative; flex: 0 1 auto; min-height: 200px; margin: auto 0 0; height: clamp(240px, 22vw, 292px); overflow: hidden;
  background: #e3e3df; outline: 4px solid #e8ebf2; outline-offset: -4px; }
.close__map > .cx-map, .close__gmap { position: absolute; inset: 4px; }
.close__map .cx-map { --bg: #f2f2f0; --ink: #222222; }
.close__map .cx-map__ground { height: 100%; }
.close__map .cx-map__pin { width: 0; height: 0; }
.close__marker { display: block; height: 56px; width: auto; max-width: none; filter: drop-shadow(0 3px 6px rgb(0 0 0 / .35)); }
.cx-map__pin .close__marker { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); }
.close__gmap .close__marker { transform: translateY(50%); cursor: pointer; }  /* Google anchors at the bottom: centre the round badge on the shop */
.close__maplink { position: absolute; right: 16px; bottom: 16px; z-index: 3; padding: 8px 12px; font-size: 14px; font-weight: 500;
  background: #f2f2f0; color: #222222; text-decoration: none; box-shadow: 0 1px 4px rgb(0 0 0 / .25); }
.close__maplink:hover { text-decoration: underline; text-underline-offset: 3px; }
.close__mapcredit { position: absolute; left: 12px; top: 10px; z-index: 3; margin: 0; font-size: 11px; color: #646463; }

/* the cookie banner: a small card bottom left, above the phone action bar */
.consent { position: fixed; z-index: 1000; left: 16px; bottom: calc(var(--bar, 0px) + 16px); max-width: 420px; box-sizing: border-box;
  padding: 16px 18px; display: grid; gap: 12px; background: var(--p-bg); color: var(--p-ink);
  border: 1px solid color-mix(in oklab, var(--p-ink) 14%, transparent); box-shadow: 0 8px 28px rgb(0 0 0 / .18); font-size: 14px; line-height: 1.5; }
.consent p { margin: 0; }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 639px) { .consent { right: 16px; max-width: none; } }

/* "Cookie settings" in the footer line is a button (it opens the banner, it goes nowhere) dressed as the links beside it */
.cookie-settings { font: inherit; line-height: inherit; vertical-align: baseline; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: inherit; }
.cookie-settings:hover { text-decoration: underline; text-underline-offset: 3px; }
