/* VITRINE COMPACTA — Dou​​glas Assumpção · 01/11/2026
   Referências: densidade de livraria/Shopee; identidade preservada em pergaminho,
   cobre e ouro envelhecido. Sem avaliações, descontos ou preços inventados. */

/* Aumenta a quantidade de produtos por tela sem sacrificar a leitura. */
.shop-redesign .shop-catalog { padding-block: 14px 24px; }
.shop-redesign .shop-catalog-heading,
.shop-redesign .shop-catalog-tools,
.shop-redesign .shop-catalog-note,
.shop-redesign .shop-product-grid { max-width: 1300px; }
.shop-redesign .shop-catalog-heading { margin-bottom: 7px; }
.shop-redesign .shop-catalog-heading h2 { font-size: clamp(25px, 2.2vw, 30px); }
.shop-redesign .shop-catalog-tools {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 10px; padding-bottom: 5px;
}
.shop-redesign .shop-product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px; align-items: stretch;
}
.shop-redesign .shop-product-card,
.shop-redesign .atelier-catalog {
  min-width: 0; overflow: hidden; margin: 0;
  border: 1px solid #bdac8e;
  border-radius: 6px;
  background: #f5f0e8;
  box-shadow: 0 3px 10px #05090629;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.shop-redesign .shop-product-card:hover,
.shop-redesign .atelier-catalog:hover {
  transform: none;
  border-color: #c69b5d;
  box-shadow: 0 7px 17px #05090648;
}
/* Imagem menor, produto inteiro visível, sem cortes. */
.shop-redesign .shop-product-image {
  display: block; position: relative;
  padding: 5px; background: #e9e5dd;
  border-bottom: 1px solid #cdbb9e;
}
.shop-redesign .shop-product-image img {
  display: block; width: 100%; height: 128px;
  aspect-ratio: auto; object-fit: contain;
}
.shop-redesign .shop-product-image:hover img { transform: scale(1.015); }
.shop-redesign .shop-product-badge {
  top: 7px; left: 7px; right: auto;
  font: 600 9px/1.15 'Inter', Arial, sans-serif;
  text-transform: none; letter-spacing: .01em;
  padding: 4px 6px; border: 1px solid #e5ba8495;
  border-radius: 0 0 5px 0;
  background: #6c4029ed; color: #fff0d6;
  box-shadow: 0 1px 4px #0003;
}
.shop-redesign .shop-product-card[data-availability="preparation"] .shop-product-badge {
  background: #7f4a30f2;
}
.shop-redesign .shop-product-info {
  display: flex; flex-direction: column; flex: 1;
  min-width: 0; padding: 8px 10px 8px;
  background: #f5f0e8;
}
/* Categoria + referência útil, sem ornamentação que compete com o título. */
.shop-redesign .shop-product-collection {
  margin: 0 0 4px;
  color: #896a45; font: 600 9px/1.3 'Inter', Arial, sans-serif;
  letter-spacing: .045em; text-transform: uppercase;
}
.shop-redesign .shop-product-info h3 {
  margin: 0 0 6px;
  min-height: 32px; max-height: 36px; overflow: hidden;
  color: #24251f;
  font: 600 14px/1.25 'Inter', Arial, sans-serif;
  letter-spacing: -.014em; text-wrap: pretty;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  line-clamp: 2;
}
/* Dados reais em chips: identificação mais rápida do que parágrafos longos. */
.shop-redesign .shop-product-variation {
  display: flex; flex-wrap: wrap; align-content: flex-start;
  gap: 4px; margin: 0 0 5px; min-height: 30px;
  color: #666257; font: 10px/1.3 'Inter', Arial, sans-serif;
}
.shop-redesign .shop-product-variation > span {
  display: inline-block; max-width: 100%;
  padding: 3px 5px; border-radius: 3px;
  background: #e7dfd2; border: 1px solid #d7c9b4;
  white-space: nowrap; font: 500 9px/1.15 'Inter', Arial, sans-serif;
  color: #594d3e;
}
.shop-redesign .shop-price {
  display: flex; flex-direction: column;
  margin: auto 0 0; padding: 6px 0 5px;
  border-top: 1px solid #d6c2a1;
  min-height: 42px;
}
.shop-redesign .shop-price small {
  color: #756e61; font: 10px/1.25 'Inter', Arial, sans-serif;
}
.shop-redesign .shop-price strong {
  margin-top: 2px;
  color: #814327; font: 700 17px/1.2 'Inter', Arial, sans-serif;
}
.shop-redesign .shop-price strong span { font-size: 10px; font-weight: 500; }
.shop-redesign .shop-product-card[data-availability="preparation"] .shop-price strong {
  font-size: 15px; font-weight: 650;
}
/* Botão principal único e ação secundária como link leve, não dois blocos pesados. */
.shop-redesign .shop-product-info .shop-product-action {
  order: 3; display: inline-flex; align-items: center;
  justify-content: space-between; gap: 7px; align-self: stretch;
  margin-top: 3px; min-height: 22px; padding: 2px 1px;
  background: transparent; border: 0;
  color: #70452c; font: 600 10px/1.3 'Inter', Arial, sans-serif;
  letter-spacing: 0; text-decoration: underline;
  text-underline-offset: 3px;
}
.shop-redesign .shop-product-info .shop-product-action:hover {
  background: transparent; color: #a56839; border: 0;
}
.shop-redesign .shop-cart-size {
  order: 1; display: flex; margin: 1px 0 4px;
  align-items: center; gap: 5px;
  color: #554536; font-size: 10px;
}
.shop-redesign .shop-cart-size select {
  min-height: 28px; min-width: 65px; height: 28px;
  padding: 3px 5px; font-size: 11px;
}
.shop-redesign .shop-product-info .shop-cart-add {
  order: 2; justify-content: space-between;
  width: 100%; min-height: 33px;
  margin-top: 4px; padding: 7px 9px;
  font: 600 10px/1.25 'Inter', Arial, sans-serif;
  letter-spacing: 0; border-radius: 4px;
  color: #fff2db; background: #6b412d;
  border: 1px solid #88593c;
}
.shop-redesign .shop-product-info .shop-cart-add:hover {
  background: #945c39; border-color: #a8754d;
}
.shop-redesign .shop-product-info .shop-cart-add > span { font-size: 15px; }
.shop-redesign .shop-product-state {
  order: 4; margin: 2px 0 0; min-height: 9px;
  color: #777165; font: 9px/1.3 'Inter', Arial, sans-serif;
  text-align: left; white-space: normal;
}
/* Livro inserido na mesma grade, sem cartão gigante. */
.shop-redesign .atelier-catalog { grid-column: auto; display: flex; flex-direction: column; }
.shop-redesign .atelier-grid-single .atelier-product { display: flex; flex: 1; flex-direction: column; }
.shop-redesign .atelier-product-art {
  height: 140px; min-height: 0; margin: 0; padding: 5px;
  background: #e9e5dd; border-bottom: 1px solid #cdbb9e;
}
.shop-redesign .atelier-product-art img {
  height: 128px; width: 100%; object-fit: contain;
}
.shop-redesign .atelier-product-copy {
  display: flex; flex: 1; flex-direction: column;
  padding: 10px 11px;
  background: #f5f0e8;
}
.shop-redesign .atelier-product-kind { color: #896a45; font-size: 9px; }
.shop-redesign .atelier-product-format { font-size: 9px; }
.shop-redesign .atelier-grid-single .atelier-product h3 {
  color: #24251f; min-height: 34px;
  font: 600 14px/1.25 'Inter', Arial, sans-serif;
}
.shop-redesign .atelier-product-author {
  margin: 3px 0 7px; color: #706a5e; font-size: 10px;
}
.shop-redesign .atelier-product-purchase {
  display: block; width: 100%; min-width: 0;
  margin-top: auto; padding-top: 8px;
  border-top: 1px solid #d6c2a1;
}
.shop-redesign .atelier-product-purchase .atelier-purchase-label {
  display: block; width: 100%; margin: 0 0 7px;
}
.shop-redesign .atelier-product-purchase .atelier-retailers {
  display: grid; width: 100%;
  grid-template-columns: minmax(0, 1fr); gap: 5px;
}
.shop-redesign .atelier-product-purchase a.atelier-buy {
  display: flex; width: 100%; max-width: 100%;
  min-width: 0; align-items: center; justify-content: space-between;
  white-space: normal;
}
.shop-redesign .atelier-purchase-label { font-size: 10px; }
.shop-redesign .atelier a.atelier-buy {
  min-height: 33px; border-radius: 4px; padding: 7px 9px;
  font: 600 10px/1.25 'Inter', Arial, sans-serif;
}
.shop-redesign .atelier a.atelier-buy-primary { background: #6b412d; color: #fff2db; }
.shop-redesign .atelier a.atelier-buy-secondary { background: transparent; border-color: #b6a07b; }
.shop-redesign .atelier-purchase-note { font-size: 9px; line-height: 1.25; }

@media (max-width: 1320px) {
  .shop-redesign .shop-product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .shop-redesign .shop-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .shop-redesign .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 630px) {
  .shop-redesign .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .shop-redesign .shop-product-image img,
  .shop-redesign .atelier-product-art img { height: 125px; }
  .shop-redesign .atelier-product-art { height: 140px; }
  .shop-redesign .shop-product-info h3 { font-size: 13px; min-height: 34px; }
  .shop-redesign .shop-product-variation { min-height: 48px; }
  .shop-redesign .shop-product-info { padding: 9px; }
}
@media (max-width: 370px) {
  .shop-redesign .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none;
  }
  .shop-redesign .shop-product-image img,
  .shop-redesign .atelier-product-art img { height: 110px; }
  .shop-redesign .shop-product-info h3 { font-size: 12px; }
  .shop-redesign .shop-product-variation > span { font-size: 8px; }
  .shop-redesign .shop-price strong { font-size: 15px; }
  .shop-redesign .shop-product-info .shop-cart-add { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-redesign .shop-product-card:hover { transform: none; }
}
