:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #073f49;
  background: #f1f4f3;
  font-synthesis: none;
  line-height: 1.5;
  --sea: #007e78;
  --border: #d9e3df;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}
button,
.card-cta {
  min-height: 2.75rem;
}
button {
  border: 0;
  border-radius: 0.4rem;
  background: var(--sea);
  color: #fff;
  padding: 0.65rem 1.2rem;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #c88c11;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -5rem;
  left: 1rem;
  background: #fff;
  padding: 1rem;
  z-index: 5;
}
.skip:focus {
  top: 0.5rem;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.topbar,
.main-nav,
main,
footer {
  max-width: 76rem;
  margin: auto;
  padding: 1rem;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}
.brand small {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-top: 0.25rem;
}
.brand-icon {
  font-size: 2.8rem;
  color: var(--sea);
}
.account-link {
  font-size: 0.9rem;
  padding: 0.5rem 0;
}
.main-nav {
  display: flex;
  gap: 1.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.8rem;
}
.main-nav a {
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 3px solid transparent;
}
.main-nav a[aria-current="page"] {
  color: var(--sea);
  border-color: var(--sea);
  font-weight: 700;
}
main {
  min-height: 65vh;
  padding-top: 1.25rem;
}
#breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
h2 {
  font-size: 1.13rem;
  line-height: 1.35;
  margin: 0.25rem 0 0.5rem;
}
.listing-heading p {
  margin: 0.4rem 0 1rem;
  max-width: 65ch;
}
#store-search {
  max-width: 42rem;
  margin: 1rem 0;
}
#store-search label {
  font-size: 0.9rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}
.search-controls {
  display: flex;
  gap: 0.5rem;
}
.search-controls input {
  width: 100%;
  min-width: 0;
  border: 1px solid #a2b8b2;
  border-radius: 0.4rem;
  background: #fff;
  padding: 0.7rem;
}
#store-status {
  margin: 1rem 0;
  color: #456068;
  min-height: 1.5rem;
}
.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.store-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-image-link {
  display: block;
  background: #e4eeeb;
  line-height: 0;
}
.card-image-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.6;
  object-fit: cover;
}
.card-content {
  padding: 1rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}
.card-content p {
  margin: 0.25rem 0 0.65rem;
}
.card-title {
  text-decoration: none;
}
.card-title:hover {
  text-decoration: underline;
}
.card-description {
  font-size: 0.93rem;
  color: #36535a;
}
.muted {
  color: #536970;
  font-size: 0.83rem;
}
.card-cta {
  display: inline-flex;
  align-items: center;
  color: var(--sea);
  font-weight: 700;
  margin-top: auto;
}
.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #073f49;
}
.profile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.profile figure {
  margin: 0;
}
.profile img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.6;
  object-fit: cover;
  display: block;
}
.profile figcaption {
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  color: #536970;
}
.profile article {
  padding: 1.2rem;
}
.profile article p {
  max-width: 65ch;
}
.profile[hidden],
[hidden] {
  display: none !important;
}
footer {
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: #536970;
  margin-top: 2rem;
}
footer p {
  margin: 0.5rem 0;
}
@media (min-width: 38rem) {
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  }
  .profile img {
    height: 17rem;
  }
  .topbar,
  .main-nav,
  main,
  footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 62rem) {
  .store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.site-header { background: #fff1ce; }
.profile { border-radius: .85rem; }
.profile article { align-content: center; padding: clamp(1rem, 4vw, 2.75rem); }
.profile h1 { font-size: clamp(1.65rem, 4vw, 2.7rem); }
#profile-kind, .card-kind { color: #00665f; font-weight: 650; }
#store-categories { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
#store-categories button { background: white; color: var(--sea); border: 1px solid var(--border); }
#store-categories button[aria-pressed="true"] { background: #00665f; color: white; }
.store-card { position: relative; }
.store-card:hover, .store-card:focus-within { border-color: #007e78; }
.card-content h2 { margin: .25rem 0 .5rem; font-size: 1.12rem; }
.card-cta { padding: .55rem .75rem; border-radius: .35rem; background: #e3f2ef; }
.card-cta::after { content: ""; position: absolute; inset: 0; }
.card-title, .card-image-link { position: relative; z-index: 1; }
.card-price { font-size: clamp(1rem, 2vw, 1.55rem); }
@media (min-width: 24rem) and (max-width: 37.99rem) {
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .card-content { padding: .7rem; overflow-wrap: anywhere; }
}
