/* keylink/shop-routes */

.kl-routes__note, .kl-apps__note { max-width: 28rem; font-size: 0.88rem; color: var(--kl-muted); }
.kl-apps__note { color: rgba(255, 255, 255, 0.75); }

.kl-routes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }

@media (min-width: 768px) {
    .kl-routes__grid { gap: 1.25rem; }
}

@media (min-width: 1024px) {
    .kl-routes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.kl-route {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--kl-line);
    border-radius: var(--kl-radius);
    background: #fff;
    transition: border-color 0.2s var(--kl-ease), box-shadow 0.2s var(--kl-ease);
}

.kl-route:hover { border-color: var(--kl-teal); box-shadow: var(--kl-shadow); }

@media (min-width: 768px) {
    .kl-route { flex-direction: row; }
}

.kl-route__img { display: block; flex-shrink: 0; aspect-ratio: 4 / 3; background: #fff; }
.kl-route__img img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }

@media (min-width: 768px) {
    .kl-route__img { width: 42%; aspect-ratio: 1 / 1; }
}

.kl-route__body { display: flex; flex: 1; flex-direction: column; padding: 1rem 1.25rem; }
.kl-route__title { font-family: var(--kl-font-heading); font-size: 1.15rem; font-weight: 600; line-height: 1.2; color: var(--kl-navy); text-decoration: none; }
.kl-route__title:hover { text-decoration: underline; }
.kl-route__links { display: none; margin: 0.5rem 0 0; padding: 0; list-style: none; font-size: 0.86rem; }
.kl-route__links a { display: inline-block; padding: 0.1rem 0; color: var(--kl-muted); text-decoration: none; }
.kl-route__links a:hover { color: var(--kl-navy); text-decoration: underline; }

@media (min-width: 768px) {
    .kl-route__links { display: block; }
}

.kl-route__count { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: auto; padding-top: 0.75rem; font-size: 0.86rem; font-weight: 600; color: var(--kl-teal-dark); text-decoration: none; }

.kl-apps__grid { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }

@media (min-width: 640px) {
    .kl-apps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .kl-apps__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.kl-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.25rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s var(--kl-ease), box-shadow 0.2s var(--kl-ease);
}

.kl-app:hover { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 193, 7, 0.6); }
.kl-app__icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 999px; background: var(--kl-gold); color: var(--kl-navy); }
.kl-app__name { margin-top: 1rem; font-family: var(--kl-font-heading); font-size: 1.1rem; font-weight: 600; line-height: 1.2; }
.kl-app__blurb { margin-top: 0.5rem; font-size: 0.86rem; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
.kl-app__cta { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: auto; padding-top: 1rem; font-size: 0.86rem; font-weight: 600; color: var(--kl-gold); }
