/* Storefront, product details, and shared shopping controls. */
.topbar {
  gap: .5rem 1.25rem;
  min-height: 0;
  padding: .45rem clamp(.9rem, 3vw, 2.5rem);
}
.topbar .ncs-wordmark { width: min(235px, 75vw); }
.topbar nav { gap: .1rem .85rem; }
.topbar nav a {
  align-items: center;
  display: inline-flex;
  font-size: .875rem;
  min-height: 44px;
}
.button, .collection-join, .coloring-shop .amazon { min-height: 44px; }

.shop-hero.approved-hero {
  aspect-ratio: auto;
  background: #f7f5ee;
}
.shop-hero img {
  display: block;
  height: auto;
  margin: auto;
  width: 60%;
}
.shop-entry { background: #f7f5ee; padding: .65rem 1rem .85rem; text-align: center; }
.shop-entry .button { min-width: 180px; }
.shop-catalog {
  margin: 0 auto;
  max-width: 1240px;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 4vw, 3rem);
}
.shop-catalog h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  margin: 0 0 .65rem;
}
.shop-departments {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.15rem;
}
.shop-departments a {
  align-items: center;
  background: #eef5f6;
  border: 1px solid #ccdde0;
  border-radius: 6px;
  color: var(--navy);
  display: inline-flex;
  font-size: .875rem;
  font-weight: 700;
  min-height: 44px;
  padding: .45rem .8rem;
  text-decoration: none;
}
.shop-departments a[aria-current="true"] { background: var(--navy); color: #fff; }
.shop-departments a:hover { text-decoration: underline; }

.shop-grid {
  gap: clamp(.85rem, 2vw, 1.5rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.shop-card {
  background: #fffdf8;
  border: 1px solid #d4e0e4;
  border-radius: 10px;
  min-width: 0;
  overflow: hidden;
  scroll-margin-top: 8rem;
}
.shop-cover {
  background: #e7f1f3;
  border-bottom: 1px solid #d4e0e4;
  display: grid;
  height: clamp(190px, 24vw, 270px);
  padding: 1rem;
  place-items: center;
}
.shop-cover img {
  filter: drop-shadow(0 6px 8px #18354d24);
  height: 100%;
  min-height: 0;
  object-fit: contain;
  width: 100%;
}
.shop-card .product-info { gap: .6rem; justify-content: flex-start; padding: clamp(1rem, 2vw, 1.4rem); }
.shop-card p { margin: 0; }
.shop-card h3 { font-size: clamp(1.28rem, 2.2vw, 1.55rem); line-height: 1.22; }
.shop-category { color: #345e6d; font-size: .875rem; font-weight: 700; }
.shop-description { color: #324e61; line-height: 1.55; }
.shop-format { color: #486473; font-size: .875rem; line-height: 1.5; }
.shop-purchase { display: grid; gap: .65rem; margin-top: auto; padding-top: .35rem; }
.shop-purchase strong { color: var(--navy); font-size: 1.05rem; }
.shop-purchase .button { text-align: center; }
.shop-purchase a:not(.button) { align-self: start; font-size: .9rem; min-height: 44px; display: flex; align-items: center; }
.shop-extra { line-height: 1.6; margin: 1.25rem 0 0; }
.shop-coming { background: #eef5f6; border-radius: 8px; padding: 1rem 1.25rem; }
.shop-coming h3, .shop-coming p { margin: 0; }

.collection-membership { margin: 1rem auto 2.5rem; max-width: 1144px; width: calc(100% - 2rem); }
.collection-membership .collection-enroll { order: 1; align-items: start; }
.collection-membership .collection-food { order: 2; }
.collection-membership .collection-inspiration { order: 3; }
.collection-membership .collection-benefits { min-width: 0; }
.collection-membership .collection-join { font-size: 1rem; line-height: 1.4; }
.collection-membership .collection-video { max-width: 100%; }
.collection-membership .collection-heading > p,
.collection-membership .collection-video > p { font-size: 1rem; line-height: 1.55; }
.story { gap: clamp(1.25rem, 5vw, 4rem); padding-block: clamp(2rem, 5vw, 4rem); }
.story blockquote { font-size: clamp(1.8rem, 3.5vw, 3rem); }
.story div p:last-child { font-size: clamp(1rem, 1.75vw, 1.15rem); }
.ncs-signup { padding-block: clamp(2rem, 5vw, 3.5rem); }
.ncs-signup h2 { margin: .35rem 0 .75rem; }
.ncs-signup p { font-size: 1rem; }
.club-feature, .club-details { padding-block: clamp(1.75rem, 5vw, 3.5rem); }
.food-subscription .seasonal-food { max-width: 740px; margin: 1.5rem auto 0; }
.food-subscription { display: flex; flex-direction: column; align-items: center; padding-block: clamp(1.5rem, 4vw, 3rem); }
.food-subscription .seasonal-food { order: 1; }
.food-subscription .club-price { margin: .5rem 0; }
.food-subscription .club-benefits { margin: .5rem auto 1rem; }

.walked-detail { margin: auto; max-width: 1160px; padding: clamp(1rem, 4vw, 3rem); }
.walked-detail .walked-book { margin-top: 1.25rem; }
.walked-detail h1 { font-size: clamp(1.85rem, 4.5vw, 3rem); line-height: 1.13; }
.coloring-shop .book-main .cover img { max-height: 320px; object-fit: contain; }
.coloring-shop .book-main .purchase-note { font-size: 1rem; }
.coloring-shop .intro { padding-block: clamp(1.5rem, 5vw, 3.5rem); }

@media (max-width: 1050px) {
  .topbar { justify-content: center; position: relative; }
  .topbar nav { justify-content: center; width: 100%; }
  .shop-card { scroll-margin-top: 1rem; }
}
@media (max-width: 850px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-cover { height: 225px; }
  .shop-hero img { width: 86%; }
  .collection-membership { margin-inline: auto; }
  .collection-membership .collection-join { overflow-wrap: anywhere; }
  footer { font-size: .875rem; }
}
@media (max-width: 520px) {
  .shop-hero img { max-height: 146px; object-fit: contain; width: 100%; }
  .topbar nav { column-gap: .75rem; }
  .topbar nav a { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.shop-header .mobile-store-menu { display: none; }
@media (max-width: 760px) {
  .shop-header { align-items: center; justify-content: space-between; }
  .shop-header > nav { display: none; }
  .shop-header .mobile-store-menu { display: block; }
  .mobile-store-menu summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    min-height: 44px;
    padding-inline: .35rem;
  }
  .mobile-store-menu summary::after {
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    content: "";
    height: .45rem;
    margin: -.2rem 0 0 .45rem;
    transform: rotate(45deg);
    width: .45rem;
  }
  .mobile-store-menu[open] nav {
    background: white;
    border-block: 1px solid #d4e0e4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    inset: 100% 0 auto;
    padding: .45rem 1rem;
    position: absolute;
  }
}
@media (min-width: 581px) {
  .shop-purchase { grid-template-rows: auto auto 44px; }
}

.ncs-free-offers {
  background: #edf4f6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ncs-free-offers .ncs-signup { padding-inline: clamp(1rem, 4vw, 3rem); }
.ncs-free-offers .ncs-signup h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); }
.ncs-giveaway.ncs-signup { background: #fcf8ef; }
@media (max-width: 650px) {
  .ncs-free-offers { grid-template-columns: 1fr; }
}

footer .ncs-wordmark { width: min(300px, calc(100vw - 3rem)); }
@media (max-width: 800px) {
  .collection-membership .collection-enroll { grid-template-columns: minmax(0, 1fr); }
  .collection-membership .collection-video { min-width: 0; }
}

.giveaway-invitation {
  background: var(--gold);
  color: var(--navy);
  padding: .85rem clamp(1rem, 3vw, 1.5rem);
}
.giveaway-invitation h2 {
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  line-height: 1.25;
  margin: 0;
}
.giveaway-invitation p { margin: .35rem 0 0; line-height: 1.45; }
.giveaway-home {
  align-items: center;
  border-block: 1px solid #d0a43e;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.5rem;
  justify-content: center;
}
.giveaway-home h2 { text-transform: uppercase; }
.giveaway-button {
  background: var(--navy);
  color: #fff;
  padding: .65rem 1rem;
  text-align: center;
}
.giveaway-button:hover { text-decoration: underline; }
.giveaway-club {
  align-self: start;
  border-radius: 8px;
  display: grid;
  gap: .75rem;
  margin: 1.25rem;
  text-align: center;
}
.giveaway-club .giveaway-button { justify-self: center; }
@media (min-width: 960px) {
  .club-offers {
    background: var(--sky);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 22rem);
  }
  .club-offers .food-subscription { padding-inline: clamp(1rem, 3vw, 3rem); }
  .giveaway-club {
    margin: 2rem clamp(1rem, 3vw, 3rem) 0 0;
    translate: -50px 0;
  }
}
@media (max-width: 580px) {
  .giveaway-home { text-align: center; }
}
