/* Shopping surfaces share the existing Viva Leve colors. */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #ef6b35;
  outline-offset: 5px;
}

#programas .store-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

#programas .product,
#programas .product:nth-child(n) {
  min-width: 0;
  min-height: 0;
  padding: 20px;
  border-radius: 24px;
  transform: none;
  gap: 24px;
  box-shadow: 0 16px 36px rgba(52, 17, 9, .16);
}

#programas .product.featured {
  grid-column: auto;
  background: #ffcf45;
}

#programas .product-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 14px;
  background: #fff8ed;
  margin-bottom: 18px;
}

#programas .product .tag {
  display: inline-block;
  font-size: .8125rem;
  letter-spacing: .04em;
}

#programas .product h3 {
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 12px 0;
}

#programas .product p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 0;
  color: #624b42;
}

#programas .product .price {
  font-size: .875rem;
  margin: 0 0 12px;
}

#programas .product .btn {
  width: 100%;
  min-height: 54px;
  font-size: 1rem;
  line-height: 1.3;
  padding: 14px;
  text-align: center;
}

.shop-grid .pillar {
  display: flex;
  flex-direction: column;
}

.shop-grid .pillar .btn {
  width: 100%;
  min-height: 52px;
  margin-top: auto;
}

.shop-grid .category-photo {
  height: 230px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
}

.shop-page .hero {
  padding-bottom: 22px;
}

.shop-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.shop-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fffdf8;
  color: #24372d;
  border: 1px solid #eadbc6;
  font-size: .9375rem;
  font-weight: 700;
}

.shop-nav a[aria-current="page"] {
  background: #24372d;
  border-color: #24372d;
  color: #fff;
}

.shop-count {
  color: #5d655f;
  font-size: .9375rem;
}

.shop-page .grid {
  padding-top: 20px;
}

.shop-page .card {
  min-width: 0;
  border-radius: 24px;
}

.shop-page .photo {
  padding: 18px;
  aspect-ratio: 1 / 1;
}

.shop-page .photo img {
  object-fit: contain;
}

.shop-page .body {
  padding: 24px;
}

.shop-page .number {
  font-size: .8125rem;
}

.shop-page .card h2 {
  line-height: 1.2;
}

.shop-page .purchase-info {
  margin: auto 0 14px;
  font-size: .875rem;
  line-height: 1.5;
  color: #5d655f;
}

.shop-page .buy {
  margin-top: 0;
  padding: 12px 16px;
  background: #ae381e;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  transition: background .2s ease, box-shadow .2s ease;
}

.shop-page .buy:hover {
  background: #862814;
  box-shadow: 0 10px 24px rgba(123, 43, 20, .2);
}

@media (max-width: 1050px) {
  #programas .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  #programas .section-head p {
    margin-bottom: 0;
    font-size: 1rem;
  }

  #programas .store-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #programas .product,
  #programas .product:nth-child(n) {
    padding: 22px;
  }

  #programas .product-cover {
    aspect-ratio: 4 / 3;
    max-height: 320px;
  }

  .shop-nav {
    gap: 8px;
  }

  .shop-nav a {
    flex: 1 1 auto;
    padding: 10px 14px;
    font-size: .875rem;
  }

  .shop-page .hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
    line-height: 1;
  }

  .shop-page .photo {
    padding: 20px;
    aspect-ratio: 4 / 3;
  }

  .shop-grid .category-photo {
    height: 220px;
  }
}

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

  .shop-page .card:hover {
    transform: none;
  }
}
