/* I Love Peps | Store V4. Somente a seção #storeList é afetada. */
#storeList {
  align-items: stretch;
}

#storeList .store-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  color: #f7f1e9;
  text-decoration: none;
  border: 1px solid rgba(228, 187, 108, .39);
  border-radius: 22px;
  background: radial-gradient(circle at 95% 8%, rgba(118, 42, 37, .12), transparent 40%),
              linear-gradient(150deg, #211b1c 0%, #100f13 80%);
  box-shadow: 0 16px 43px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 234, 182, .07);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

#storeList .store-card:hover {
  transform: translateY(-4px);
  border-color: #f0cc84;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .43), 0 0 26px rgba(194, 117, 49, .13);
}

#storeList .store-card:focus-visible {
  outline: 3px solid #f1d59b;
  outline-offset: 4px;
}

#storeList .store-card-image {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #111014;
}

#storeList .store-card--pepsmind .store-card-image::before {
  content: 'PEPSMIND / IA CIENTÍFICA';
  position: absolute;
  top: 19px;
  left: 20px;
  z-index: 1;
  padding: 9px 12px;
  border: 1px solid rgba(247, 217, 159, .4);
  border-radius: 6px;
  background: rgba(13, 11, 15, .72);
  color: #f5d99f;
  font: 800 10px/1.2 system-ui, sans-serif;
  letter-spacing: .1em;
  backdrop-filter: blur(9px);
}

#storeList .store-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 11, 15, 0) 66%, rgba(13, 11, 15, .26));
}

#storeList .store-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

#storeList .store-card:hover .store-card-image img {
  transform: scale(1.045);
}

#storeList .store-card-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 210px;
  padding: 30px;
  background: radial-gradient(circle at 50% 35%, rgba(192, 125, 54, .29), transparent 40%),
              radial-gradient(circle at 84% 75%, rgba(167, 34, 53, .18), transparent 40%),
              #111014;
  color: #f6d694;
  text-align: center;
  font: 600 21px/1.2 Georgia, serif;
  letter-spacing: .12em;
}

#storeList .store-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 24px 26px;
}

#storeList .store-card-eyebrow {
  color: #bd9a62;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .18em;
}

#storeList .store-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  margin-top: 11px;
  border: 1px solid rgba(234, 194, 112, .4);
  border-radius: 40px;
  background: rgba(192, 139, 65, .12);
  color: #f5d99f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

#storeList .store-card-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e9bb69;
  box-shadow: 0 0 10px rgba(245, 197, 103, .7);
}

#storeList .store-card h3 {
  margin: 14px 0 12px;
  color: #fff7e9;
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 750;
  line-height: 1.21;
}

#storeList .store-card p {
  margin: 0 0 22px;
  flex: 1;
  color: #cdc3bf;
  font-size: 14px;
  line-height: 1.65;
}

#storeList .store-card-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: auto;
  padding: 10px 16px;
  border: 1px solid #d9ad62;
  border-radius: 9px;
  background: linear-gradient(110deg, #f7df9c, #c49a50);
  color: #201508;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
  box-shadow: 0 6px 22px rgba(224, 166, 83, .13);
  transition: filter .2s ease, box-shadow .2s ease;
}

#storeList .store-card:hover .store-card-more {
  filter: brightness(1.09);
  box-shadow: 0 8px 24px rgba(224, 166, 83, .23);
}

/* Enquanto houver só uma novidade, ela vira a peça de destaque. */
#storeList.store--single {
  grid-template-columns: minmax(0, 1fr);
}

#storeList.store--single .store-card {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  min-height: 338px;
  border-color: rgba(232, 194, 116, .55);
}

#storeList.store--single .store-card-image {
  aspect-ratio: auto;
  min-height: 338px;
}

#storeList.store--single .store-card-image img {
  position: absolute;
  inset: 0;
}

#storeList.store--single .store-card-image::after {
  background: linear-gradient(90deg, transparent 63%, rgba(15, 13, 17, .52));
}

#storeList.store--single .store-card-content {
  justify-content: center;
  padding: clamp(24px, 4vw, 50px);
}

#storeList.store--single .store-card h3 {
  font-size: clamp(27px, 3.3vw, 37px);
  line-height: 1.14;
  margin: 18px 0 16px;
}

#storeList.store--single .store-card p {
  flex: 0 0 auto;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.75;
}

#storeList.store--single .store-card-more {
  min-height: 46px;
  font-size: 13px;
  padding: 13px 21px;
}

@media (max-width: 800px) {
  #storeList.store--single .store-card {
    grid-template-columns: 1fr;
  }
  #storeList.store--single .store-card-image {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  #storeList.store--single .store-card-image img {
    position: static;
  }
  #storeList.store--single .store-card-image::after {
    background: linear-gradient(180deg, transparent 75%, rgba(15, 13, 17, .36));
  }
  #storeList.store--single .store-card-content {
    padding: 26px 25px 29px;
  }
}

@media (max-width: 480px) {
  #storeList .store-card-image { aspect-ratio: 16 / 9; }
  #storeList.store--single .store-card h3 { font-size: 27px; }
  #storeList.store--single .store-card p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  #storeList .store-card,
  #storeList .store-card-image img,
  #storeList .store-card-more { transition: none; }
}
