/* The client's card (card.js), the same in the online catalog and in the
   panel's previews. Numbers and prices in a common face: the brand's 4 is open. */

.cc {
  --cc-roxo: #7209b7;
  --cc-rosa: #f72585;
  --cc-tinta: #1b1b2f;
  --cc-mudo: #5d5873;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  color: var(--cc-tinta);
  box-shadow: 0 1px 3px rgb(27 27 47 / 0.08);
  font-family: Fredoka, ui-rounded, system-ui, sans-serif;
  line-height: 1.4;
  text-align: left;
}

.cc-foto {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #efe9f7;
}

.cc-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cc-cobre img {
  object-fit: cover;
}

.cc-foto .cc-fundo {
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: blur(18px) saturate(1.1);
  opacity: 0.7;
}

.cc-vazia span {
  color: var(--cc-mudo);
  font-size: 0.875rem;
}

.cc-texto {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1rem 1rem;
}

.cc-no {
  position: absolute;
  top: -1.1rem;
  left: 0.9rem;
  display: grid;
  place-items: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.5rem;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--cc-rosa);
  color: #fff;
  font: 700 0.95rem/1 system-ui, sans-serif;
}

/* Said by a screen reader, not drawn: the "Nº" before the number. */
.cc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cc-nome {
  margin: 0.5rem 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
}

.cc-preco {
  margin: 0;
  color: var(--cc-roxo);
  font: 700 1.25rem/1.3 system-ui, sans-serif;
}

.cc-preco small {
  color: var(--cc-mudo);
  font-size: 0.875rem;
  font-weight: 500;
}

.cc-tam,
.cc-kit,
.cc-nota {
  margin: 0;
  color: var(--cc-mudo);
  font-size: 0.9375rem;
}

.cc-kit b {
  color: var(--cc-tinta);
  font-family: system-ui, sans-serif;
}

.cc-opcoes {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0.35rem 0 0;
  padding: 0.5rem 0 0;
  border-top: 1px solid #eee8f5;
  list-style: none;
  font-size: 0.9375rem;
}

.cc-opcoes li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.cc-opcoes b {
  font-family: system-ui, sans-serif;
  white-space: nowrap;
}
