/* Botsville Marketplace — staging redesign, 2026-11-29. Loaded only on /business-center/store/ */

/* Real Botsville USA wordmark in the header, not the four-square icon */
.page-store .brand-mark {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  padding: 0;
}
.page-store .brand-mark img {
  display: block;
  height: 40px;
  width: auto;
}
@media (min-width: 721px) {
  .page-store .brand-mark img { height: 48px; }
}

/* ----- First screen ----- */
.page-store .store-hero {
  background: #fff8ea;
  padding: 10px 0 8px;
  border-bottom: none;
}
.page-store .store-hero .display-h1,
.page-store h1#store-h1.display-h1 {
  font-family: var(--font-serif);
  color: #1b2550;
  max-width: none;
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.15;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.store-hero-sub {
  margin: 4px 0 0;
  font-size: 1rem;
  line-height: 1.3;
  color: #1b2550;
  max-width: 42ch;
  font-weight: 650;
}

/* Tappable section rows: real thumbnail, exact label, plain sub-line, chevron */
.store-toc {
  margin: 10px 0 0;
}
.store-market-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.store-market-list li {
  margin: 0;
  padding: 0;
  border: none;
}
.store-toc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 56px;
  width: 100%;
  padding: 6px 8px 6px 6px;
  background: #ffffff;
  border: 1.5px solid rgba(27, 37, 80, 0.16);
  border-radius: 14px;
  color: #1b2550;
  text-decoration: none;
}
.store-toc-row:hover,
.store-toc-row:focus-visible {
  background: #fff;
  border-color: #1b2550;
  color: #1b2550;
  text-decoration: none;
  box-shadow: 0 0 0 2px rgba(31, 111, 197, 0.18);
}
.store-toc-thumb {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: #fff8ea;
}
.store-toc-thumb--contain {
  object-fit: contain;
}
.store-toc-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.store-toc-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1b2550;
}
.store-toc-label strong {
  font-weight: 800;
  color: #1b2550;
}
.store-toc-sub {
  display: block;
  margin-top: 1px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  color: #3b4670;
}
.store-toc-chevron {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-right: 2px;
  border-right: 2.5px solid #1b2550;
  border-top: 2.5px solid #1b2550;
  transform: rotate(45deg);
  align-self: center;
}

/* Captioned town photo — after the first-screen list, not a doorway graphic */
.store-town {
  margin: 0;
  padding: 8px 0 4px;
  background: #fff8ea;
}
.store-town .wrap { padding-top: 0; }
.store-town img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #dff1ff;
}
.store-town figcaption,
.store-from figcaption {
  margin: 8px 0 0;
  color: #3b4670;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
}

/* ----- Sections: one typographic system, equal weight ----- */
.store-section {
  padding: 28px 0 32px;
  background: #ffffff;
  border-top: 1px solid rgba(27, 37, 80, 0.1);
}
.store-section--cream { background: #fff8ea; }
.store-section-h {
  font-family: var(--font-serif);
  font-weight: 550;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #1b2550;
  max-width: 22ch;
  text-wrap: balance;
}
.store-intro {
  margin: 0 0 16px;
  color: #1b2550;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  max-width: 62ch;
}

/* Captioned art from the books / Creation Station — not cropped ribbon decorations */
.store-from {
  margin: 0 0 18px;
}
.store-from-pics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.store-from-pics img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  background: #fff8ea;
}
.store-from--single .store-from-pics {
  grid-template-columns: 1fr;
  max-width: 28rem;
}

.store-shop-btn {
  display: flex;
  width: 100%;
  max-width: 28rem;
  min-height: 48px;
  margin: 0 0 16px;
  box-sizing: border-box;
}

/* Product grids: one column on a phone so covers and buttons stay clear */
.store-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}
@media (min-width: 620px) {
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 960px) {
  .store-grid--books { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .store-grid--keepsakes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.store-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff8ea;
  border: 1.5px solid rgba(27, 37, 80, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
}
.store-section--cream .store-item { background: #ffffff; }

.store-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff8ea;
}
.store-item img.is-scene {
  object-fit: cover;
  aspect-ratio: 16 / 10;
  background: #dff1ff;
}
.store-item-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff8ea;
}
.store-item-photos img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.store-item-wide {
  grid-column: 1 / -1;
}
@media (min-width: 620px) {
  .store-item-wide {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: stretch;
  }
  .store-item-wide .store-item-body { justify-content: center; }
}

.store-item-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 14px 14px;
  gap: 8px;
}
.store-item h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: #1b2550;
}
.store-item p {
  margin: 0;
  color: #3b4670;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
}

.store-item-btn,
a.store-item-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 12px 12px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  border: none;
}
.store-item-btn--amazon,
.store-item-btn--etsy,
.store-item-btn--ink,
.store-item-btn--quote {
  background: #1b2550;
  color: #fff8ea;
}
.store-item-btn--amazon:hover,
.store-item-btn--etsy:hover,
.store-item-btn--ink:hover,
.store-item-btn--quote:hover,
.store-item-btn--amazon:focus-visible,
.store-item-btn--etsy:focus-visible,
.store-item-btn--ink:focus-visible,
.store-item-btn--quote:focus-visible {
  background: #162044;
  color: #fff8ea;
}
.store-item-btn--green {
  background: #22804a;
  color: #ffffff;
}
.store-item-btn--green:hover,
.store-item-btn--green:focus-visible { background: #1c6c3e; color: #ffffff; }

.store-soon-label {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff3c4;
  color: #1b2550;
  border: 1px solid #c99a00;
  margin: 12px 12px 0;
}
.store-item.is-soon {
  border-style: dashed;
  border-color: #c99a00;
  background: #fff8ea;
}

.store-subhead {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 550;
  color: #1b2550;
  margin: 24px 0 8px;
}

/* How buying works */
.how-buying {
  background: #fff3c4;
  border-top: 2px solid #c99a00;
  border-bottom: 2px solid #c99a00;
  padding: 16px 0;
}
.how-buying-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 550;
  color: #1b2550;
  margin: 0 0 4px;
}
.how-buying p {
  margin: 0;
  color: #1b2550;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 65ch;
  font-weight: 600;
}

#for-families,
.page-store .store-section,
#books, #kids, #teachers, #keepsakes, #business-services {
  scroll-margin-top: 140px;
}

/* Teachers: text cards + 3-step strip */
.store-grid-text {
  grid-template-columns: 1fr;
  margin: 0 0 16px;
}
@media (min-width: 620px) {
  .store-grid-text { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.store-item-text {
  padding: 16px;
  text-align: left;
  background: #fff8ea;
}
.store-section--cream .store-item-text { background: #ffffff; }
.store-item-text h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #1b2550;
}
.store-item-text p {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: #3b4670;
}
.store-item-text .store-item-btn { margin-top: 12px; }

.store-steps {
  list-style: none;
  margin: 4px 0 18px;
  padding: 12px 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  background: #fff8ea;
  border: 1px solid rgba(27, 37, 80, 0.1);
  border-radius: 16px;
}
@media (min-width: 560px) {
  .store-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}
.store-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  min-height: 44px;
}
.store-step-num {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #1b2550;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  line-height: 1;
}
.store-step-label {
  font-weight: 800;
  color: #1b2550;
  font-size: 1rem;
  line-height: 1.25;
}
.store-step-copy { min-width: 0; }
.store-step-copy p {
  margin: 2px 0 0;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: #3b4670;
}
.store-lead-cta { margin: 0 0 4px; }
.store-lead-btn,
a.store-lead-btn {
  max-width: 28rem;
  min-height: 56px;
  font-size: 1.1rem;
  padding: 16px 20px;
}

/* Business help: same card weight as the other sections */
.store-grid-services {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .store-grid-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.store-you-get-label {
  margin: 2px 0 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1b2550;
}
.store-you-get {
  margin: 0 0 8px;
  padding: 0 0 0 1.15em;
  color: #3b4670;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
}
.store-you-get li { margin: 0 0 4px; }

@media (min-width: 820px) {
 .page-store .store-hero { padding: 28px 0 12px; }
  .store-hero-sub { font-size: 1.05rem; }
  .store-section { padding: 36px 0 40px; }
}
