@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-var.3100e775e8.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

* {
  box-sizing: border-box;
}

body {
  color: #203038;
  font-family:
    "Aptos", "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: #f6f5ee;
  background-image:
    linear-gradient(rgba(246, 245, 238, 0.86), rgba(246, 245, 238, 0.92)),
    url("../assets/travel-map-backdrop-900.e687a09382.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll, fixed;
}

@supports (background-image: image-set(url("../assets/travel-map-backdrop-900.35a57ce7c7.avif") type("image/avif") 1x)) {
  body {
    background-image:
      linear-gradient(rgba(246, 245, 238, 0.86), rgba(246, 245, 238, 0.92)),
      image-set(
        url("../assets/travel-map-backdrop-900.35a57ce7c7.avif") type("image/avif") 1x,
        url("../assets/travel-map-backdrop-900.e687a09382.webp") type("image/webp") 1x
      );
  }
}

@media (min-width: 760px) {
  @supports (background-image: image-set(url("../assets/travel-map-backdrop-1400.fc72ab2564.avif") type("image/avif") 1x)) {
    body {
      background-image:
        linear-gradient(rgba(246, 245, 238, 0.86), rgba(246, 245, 238, 0.92)),
        image-set(
          url("../assets/travel-map-backdrop-1400.fc72ab2564.avif") type("image/avif") 1x,
          url("../assets/travel-map-backdrop-1400.723aca540f.webp") type("image/webp") 1x
        );
    }
  }
}

@media (min-width: 1280px) {
  @supports (background-image: image-set(url("../assets/travel-map-backdrop-1672.91197e39a1.avif") type("image/avif") 1x)) {
    body {
      background-image:
        linear-gradient(rgba(246, 245, 238, 0.86), rgba(246, 245, 238, 0.92)),
        image-set(
          url("../assets/travel-map-backdrop-1672.91197e39a1.avif") type("image/avif") 1x,
          url("../assets/travel-map-backdrop-1672.4e53a215de.webp") type("image/webp") 1x
        );
    }
  }
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.store-shell {
  width: min(1180px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: max(10px, env(safe-area-inset-top)) clamp(14px, 4vw, 32px)
    max(30px, env(safe-area-inset-bottom));
}

.store-header {
  position: relative;
  display: grid;
  grid-template-rows: 58px auto;
  align-items: start;
  margin-bottom: 20px;
  padding-bottom: 8px;
}

.store-header::after {
  position: absolute;
  right: clamp(28px, 9vw, 170px);
  bottom: -2px;
  left: clamp(28px, 9vw, 170px);
  height: 18px;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(32, 48, 56, 0.18), rgba(32, 48, 56, 0) 68%);
  filter: blur(3px);
}

.store-header h1 {
  margin: 0;
  text-align: center;
}

.store-header h1 picture {
  display: block;
}

.store-header h1 img {
  display: block;
  width: min(100%, 580px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 12px 15px rgba(28, 36, 38, 0.18));
}

.map-link {
  position: relative;
  grid-row: 1;
  justify-self: start;
  display: inline-grid;
  width: 74px;
  justify-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 820;
  text-decoration: none;
  filter: drop-shadow(0 5px 8px rgba(28, 36, 38, 0.16));
  transform-origin: 50% 50%;
  transition:
    filter 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.map-link::after {
  position: absolute;
  inset: -4px 5px 8px;
  content: "";
  pointer-events: none;
  border: 2px solid rgba(255, 247, 205, 0.9);
  border-radius: 46% 52% 42% 50%;
  box-shadow:
    0 0 0 1px rgba(32, 48, 56, 0.22),
    0 0 16px rgba(245, 184, 75, 0.42);
  opacity: 0;
  transform: scale(0.82);
}

.map-link svg {
  width: 54px;
  height: 38px;
  fill: #fff5c9;
  stroke: #203038;
  stroke-linejoin: round;
  stroke-width: 3;
  filter: drop-shadow(0 8px 14px rgba(28, 36, 38, 0.18));
}

.map-link:hover,
.map-link:focus-visible {
  filter: drop-shadow(0 9px 14px rgba(28, 36, 38, 0.22));
  transform: rotate(-1deg) scale(1.04);
}

.map-link.is-pressed {
  transform: rotate(-1deg) scale(0.94);
  transition-duration: 80ms;
}

.map-link.is-activating {
  animation: map-link-pop 240ms ease-out both;
}

.map-link.is-activating::after {
  animation: map-link-ring 260ms ease-out both;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.store-tile {
  display: block;
  min-width: 0;
  color: #203038;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 249, 224, 0.92);
  text-decoration: none;
  box-shadow:
    0 18px 30px rgba(28, 36, 38, 0.18),
    0 4px 9px rgba(28, 36, 38, 0.1);
  cursor: pointer;
  transition:
    box-shadow 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

button.store-tile {
  width: 100%;
  padding: 0;
  border: 0;
  font: inherit;
  text-align: left;
  appearance: none;
}

.store-tile:hover,
.store-tile:focus-visible {
  box-shadow:
    0 22px 38px rgba(28, 36, 38, 0.22),
    0 6px 12px rgba(28, 36, 38, 0.12);
  opacity: 0.96;
  transform: translateY(-2px);
}

.store-tile:focus-visible {
  outline: 3px solid rgba(32, 48, 56, 0.72);
  outline-offset: 5px;
}

.tile-art {
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1;
  background-image: url("../assets/store/store-tile-admin-720.bc717b9c84.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 -1px 0 rgba(32, 48, 56, 0.12);
}

.store-tile-admin .tile-art {
  background-image: url("../assets/store/store-tile-admin-720.bc717b9c84.webp");
}

.store-tile-follow .tile-art {
  background-image: url("../assets/store/store-tile-follow-720.68c7b7072c.webp");
}

.store-tile-merch .tile-art {
  background-image: url("../assets/store/store-tile-merch-720.7e56efbbe7.webp");
}

.store-tile-guestbook .tile-art {
  background-image: url("../assets/store/store-tile-guestbook-720.d608c53e48.webp");
  background-position: center;
  background-size: cover;
}

@supports (background-image: image-set(url("../assets/store/store-tile-admin-480.6022096f88.avif") type("image/avif") 1x)) {
  .store-tile-admin .tile-art {
    background-image: image-set(
      url("../assets/store/store-tile-admin-480.6022096f88.avif") type("image/avif") 1x,
      url("../assets/store/store-tile-admin-720.b0d238a871.avif") type("image/avif") 2x,
      url("../assets/store/store-tile-admin-480.3ec012deb4.webp") type("image/webp") 1x,
      url("../assets/store/store-tile-admin-720.bc717b9c84.webp") type("image/webp") 2x
    );
    background-position: center;
    background-size: cover;
  }

  .store-tile-follow .tile-art {
    background-image: image-set(
      url("../assets/store/store-tile-follow-480.1876992ef3.avif") type("image/avif") 1x,
      url("../assets/store/store-tile-follow-720.349fe371e8.avif") type("image/avif") 2x,
      url("../assets/store/store-tile-follow-480.ef814d193c.webp") type("image/webp") 1x,
      url("../assets/store/store-tile-follow-720.68c7b7072c.webp") type("image/webp") 2x
    );
    background-position: center;
    background-size: cover;
  }

  .store-tile-merch .tile-art {
    background-image: image-set(
      url("../assets/store/store-tile-merch-480.9a41a8c240.avif") type("image/avif") 1x,
      url("../assets/store/store-tile-merch-720.8891bd7d1f.avif") type("image/avif") 2x,
      url("../assets/store/store-tile-merch-480.e21be66d7a.webp") type("image/webp") 1x,
      url("../assets/store/store-tile-merch-720.7e56efbbe7.webp") type("image/webp") 2x
    );
    background-position: center;
    background-size: cover;
  }

  .store-tile-guestbook .tile-art {
    background-image: image-set(
      url("../assets/store/store-tile-guestbook-480.203d2ab7d5.avif") type("image/avif") 1x,
      url("../assets/store/store-tile-guestbook-720.48e568d1c5.avif") type("image/avif") 2x,
      url("../assets/store/store-tile-guestbook-480.0018105bd9.webp") type("image/webp") 1x,
      url("../assets/store/store-tile-guestbook-720.d608c53e48.webp") type("image/webp") 2x
    );
    background-position: center;
    background-size: cover;
  }
}

.tile-footer {
  display: flex;
  min-height: 66px;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px 15px;
  background:
    linear-gradient(180deg, rgba(255, 253, 239, 0.98), rgba(255, 245, 208, 0.98)),
    #fff7dc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tile-kind {
  flex: none;
  color: rgba(32, 48, 56, 0.78);
  font-size: clamp(11px, 1.05vw, 13px);
  font-weight: 880;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.store-tile h3 {
  min-width: 0;
  margin: 0;
  font-size: clamp(17px, 1.65vw, 22px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.store-toast {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(14px, env(safe-area-inset-left));
  z-index: 30;
  width: fit-content;
  max-width: min(440px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 12px 16px;
  color: #fff8dc;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  background: rgba(32, 48, 56, 0.94);
  border: 1px solid rgba(255, 248, 220, 0.38);
  border-radius: 999px;
  box-shadow:
    0 16px 28px rgba(28, 36, 38, 0.24),
    0 4px 10px rgba(28, 36, 38, 0.18);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.store-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes map-link-pop {
  0% {
    filter: drop-shadow(0 4px 7px rgba(28, 36, 38, 0.14));
    transform: rotate(-2deg) scale(0.92);
  }

  58% {
    filter: drop-shadow(0 12px 18px rgba(28, 36, 38, 0.26));
    transform: rotate(2deg) scale(1.12);
  }

  100% {
    filter: drop-shadow(0 9px 14px rgba(28, 36, 38, 0.22));
    transform: rotate(-1deg) scale(1.04);
  }
}

@keyframes map-link-ring {
  0% {
    opacity: 0.82;
    transform: scale(0.74);
  }

  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

@media (max-width: 1060px) {
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .store-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .store-tile {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .store-tile h3 {
    font-size: clamp(22px, 6vw, 34px);
  }

  .tile-kind {
    font-size: clamp(12px, 3.3vw, 15px);
  }
}

@media (max-width: 560px) {
  .store-shell {
    padding-right: 10px;
    padding-left: 10px;
  }

  .store-header {
    grid-template-rows: 52px auto;
    margin-bottom: 16px;
  }

  .map-link {
    width: 62px;
  }

  .tile-footer {
    padding-top: 8px;
  }
}
