@import url("./colors.css");

/* Lançamentos */

.card-products {
  max-width: 290px;
  width: 100%;
  height: 400px;
  background-color: var(--color-white);
  border: 1px solid var(--color-bg-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
}

.card-products-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
}

.card-products-img {
  padding: 5px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-products-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Infos */
.card-products-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-top: 10px;
}

.card-products-info .fw-bold {
  font-size: 0.95rem;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.card-products-info .text-secondary:not(.fw-bold) {
  font-size: 0.85rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.card-products-info .text-decoration-line-through {
  font-size: 0.8rem;
}

.card-products-info .text-danger {
  font-size: 1.1rem;
  font-weight: 700;
}

.card-products-info .text-tertiary {
  font-size: 1.1rem;
  font-weight: 700;
}

.card-products .btn-default-1 {
  margin-top: auto;
  padding: 5px;
  font-size: 0.9rem;
}

.card-products .badge {
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 0 0 6px 0;
}

/* Produtos variados */

.card-variation {
  max-width: 150px;
  min-width: 150px;
  max-height: 190px;
  min-height: 190px;
  border: none;
  background: var(--color-white) !important;
}

.card-variation .card-body .card-title {
  color: var(--color-secondary);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.card-variation .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-variation .card-body img {
  max-height: 100px;
}

/* Principles */

#card-principle {
  display: flex;
  justify-content: center;
  align-items: center;
}

#card-principle .card {
  background: none;
  border: none;
}

#card-principle .card .card-body {
  background: var(--color-tertiary);
}

#card-principle .card .card-body .card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 130px;
}

#card-principle .card .card-body .title-principles {
  font-size: clamp(1.5rem, 2.5vw, 40px);
  font-weight: bold;
}

#card-principle .card .card-body .sub-title-principles {
  font-size: clamp(1rem, 1vw, 28px);
  font-weight: bold;
}

#card-principle .card .card-body p {
  text-align: justify;
  min-height: 150px;
  max-height: 150px;
  overflow-y: auto;
  font-size: clamp(1rem, 1vw, 16px);
}

#card-principle .card .card-icon img {
  max-height: 100px;
}

/* Differences */

#card-differences .card {
  background: none;
  border: none;
}

#card-differences .card-body .card-text {
  margin: 0;
}

#card-differences .card .card-body {
  text-align: center;
  min-height: 100px;
  background: none !important;
}

#card-differences .card .card-body p {
  min-height: 150px;
  max-height: 150px;
  overflow-y: auto;
  font-size: initial !important;
}

#card-differences .card .card-body h2 {
  font-size: clamp(1.1rem, 2vw + 0.5rem, 1.3rem);
  font-weight: 600;
}

#card-differences .card img {
  max-height: 70px;
}

/* Cards Blog */

#blog .card {
  max-height: 280px;
  min-height: 280px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  background: var(--color-white);
  overflow: hidden;
  box-shadow: 5px 5px 16px -4px rgba(0, 0, 0, 0.397);
}

#blog .card .card-image {
  width: 100%;
  min-width: 300px;
  max-width: 300px;
}

#blog .card .card-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: content !important;
  align-items: flex-start;
}

#blog .card .card-body {
  width: 100%;
  flex: content !important;
}

#blog .card .card-body .title p {
  font-size: 22px !important;
  color: var(--color-primary);
}

#blog .card .date {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 15px;
  color: var(--color-white);
}

#blog .card .card-body .desc p {
  text-align: justify;
  color: var(--color-secondary);
  font-size: 16px !important;
}

/* Testimonial */

#testimonial .card {
  border: none;
  background: var(--color-white);
}

#testimonial .card .card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 150px;
  border-radius: 100%;
  border: 2px solid var(--color-primary);
  background: var(--color-bg-grey-light);
  overflow: hidden;
}

#testimonial .card p {
  color: var(--color-secondary);
  text-align: justify !important;
}

/* Cards suppliers */

#card-supplier {
  overflow: hidden;
  cursor: pointer;
  border: none;
  background-color: var(--color-white);
}

#card-supplier .card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
}

#card-supplier .card-body {
  padding: 0.8rem;
}

#card-supplier .card-title {
  font-weight: 600;
  font-size: 1rem;
  color: #222;
}

#card-supplier p {
  font-size: 0.75rem;
  color: #555;
  margin-bottom: 0.25rem;
}

.no-suppliers-message {
  padding: 2rem 1rem;
  margin: 2rem auto;
  max-width: 400px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  color: #555;
  font-size: 1.2rem;
  text-align: center;
  border-radius: 0.5rem;
  font-weight: 500;
}

/* Floors */

.card-floors {
  background: var(--color-white);
  border: none;
}

.card-floors .card-floors-body .card-floors-img {
  width: 100%;
}

.card-floors .card-floors-body .card-floors-img img {
  object-fit: contain;
  max-height: 100%;
  width: 100%;
}

.card-floors .card-floors-body .card-floors-info p {
  font-size: 1rem;
  padding: 0.3rem;
  text-align: center;
}
