/* KiddoPalette direct shop (2026-07-27). Shares the storefront design system
   in style.css; only shop-specific layout lives here. */

.shop-hero {
  padding: 120px 0 24px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}

.shop-hero h1 {
  font-family: var(--font-display);
  margin: 6px 0 12px;
}

.shop-hero-note {
  max-width: 640px;
  color: var(--ink-soft);
}

.shop-body {
  padding: 24px 0 88px;
}

.shop-status {
  color: var(--ink-soft);
  font-weight: 600;
}

.shop-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}

.shop-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.shop-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.shop-card-link img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.shop-card-body {
  padding: 18px 20px 20px;
}

.shop-card-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 4px 0 8px;
}

.shop-card-kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.shop-card-blurb {
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.shop-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-card-cta {
  color: var(--ocean-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.shop-back {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 700;
}

.shop-product-layout {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(300px, 1fr);
  gap: 40px;
  align-items: start;
}

.shop-product-media {
  margin: 0;
  border-radius: var(--radius-medium);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 100px;
}

.shop-product-detail h1 {
  font-family: var(--font-display);
  margin: 6px 0 6px;
}

.shop-product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ocean-dark);
  margin: 0 0 12px;
}

.shop-product-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-product-facts li {
  background: var(--paper-deep);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.shop-order-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  padding: 24px;
  display: grid;
  gap: 18px;
}

.shop-field-label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.shop-field input,
.shop-field textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-small);
  padding: 12px 14px;
  min-height: 44px;
  background: var(--paper);
}

.shop-field-hint,
.shop-privacy-note,
.shop-payment-note {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.shop-privacy-note {
  font-weight: 600;
}

.shop-fieldset {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-small);
  padding: 14px 16px 16px;
  margin: 0;
}

.shop-fieldset legend {
  font-weight: 700;
  padding: 0 6px;
}

.shop-choice-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

.shop-choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-small);
  padding: 10px 12px;
  min-height: 44px;
  cursor: pointer;
  background: var(--paper);
}

.shop-choice:has(input:checked) {
  border-color: var(--teal);
  background: #eafaf8;
}

.shop-choice input {
  margin-top: 4px;
  accent-color: var(--teal-dark);
}

.shop-choice-copy {
  display: grid;
}

.shop-choice-copy small {
  color: var(--ink-soft);
}

.shop-order-button {
  min-height: 44px;
  justify-self: start;
}

.shop-order-feedback {
  margin: 0;
  color: var(--coral-dark);
  font-weight: 700;
}

@media (max-width: 860px) {
  .shop-product-layout {
    grid-template-columns: 1fr;
  }

  .shop-product-media {
    position: static;
  }

  .shop-hero {
    padding-top: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-card,
  .shop-choice {
    transition: none;
  }
}
