
.trudes_ti_card_prices .custom-quote-button {
    background-color: #28a745 !important;
    color: #fff !important;
    padding: 4px 10px !important;
    font-size: 13px !important;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
    margin-bottom: 5px;
}

.trudes_ti_card_prices .custom-quote-button:hover {
    background-color: #218838 !important;
}

.trudes_ti_card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 8px;
  padding: 3px;
  box-sizing: border-box;
  border: 0.5px solid rgba(94, 90, 84, 0.2);
  text-decoration: none !important; /* remove sublinhado */
  min-height: 400px; 
  max-height: 400px;
}



.trudes_ti_card_content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-top: 10px;
  text-align: center;
}



.trudes_ti_card_title {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  color: #161716 !important;
  margin-bottom: 10px;
  /*max-height: 20px;*/
  overflow: hidden;
}

.trudes_ti_card_title a {
  text-decoration: none !important; /* remove sublinhado */
  color: #161716;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  /*text-overflow: ellipsis;*/
  /*word-break: break-word;*/
  /*white-space: normal;*/
}

.trudes_ti_card_product_name {
  font-size: 16px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 10px;
  /*max-height: 40px;*/
  overflow: hidden;
}

.trudes_ti_card_product_name a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #161716;
  text-decoration: none !important; /* remove sublinhado */
}

.trudes_ti_card_category {
  display: block;
  font-size: 12px;
  color: #5564ab;
  text-decoration: none !important; /* remove sublinhado */
  margin-bottom: 5px;
  text-align: center;
 
  overflow: hidden;
}

.trudes_ti_card_image {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.trudes_ti_card_image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.trudes_ti_card_badge {
  position: absolute;
  top: 10px;
  left: -4px;
  width: 50px;
  height: 25px;
  background-color: #f00;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  z-index: 2;
}

.trudes_ti_grid_inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .trudes_ti_grid_inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 639px) {
  .trudes_ti_grid_inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 360px) {
  .trudes_ti_grid_inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trudes_ti_grid_branco,
.trudes_ti_grid_ofertas {
  margin: 0 auto;
  background: #fff;
  padding: 10px;
}

.trudes_ti_grid_header {
  text-align: left;
  margin-bottom: 10px;
}

.trudes_ti_grid_title {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

.trudes-ti-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.trudes-ti-grid .grid-item {
  border: 1px solid #ccc;
  padding: 10px;
  width: calc(100% / 6 - 10px);
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 4px;
}

.trudes-ti-grid .grid-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 4px;
}

.trudes-ti-grid .grid-item .product-name {
  font-weight: bold;
  margin-bottom: 2px;
  font-size: 11px;
}

.trudes-ti-grid .grid-item .product-sku {
  font-size: 10px;
  color: #555;
  margin-bottom: 2px;
}



.trudes-ti-grid .grid-item .product-checkbox {
  margin-top: 4px;
  font-size: 10px;
}
.trudes-ti-grid .grid-item .product-price {
  font-size: 11px;
  color: #008000;
  margin-bottom: 4px;
}

.trudes_ti_card_prices {
  margin-top: auto;
  text-align: center;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  white-space: normal; /* permite quebra */
  overflow: hidden;
  text-overflow: ellipsis;
  flex-wrap: wrap; /* quebra linha se necessário */
  /*max-height: 40px;*/
   max-height: none;
  line-height: 1.2;
  margin-bottom: 5px;
  
  
}

.trudes_ti_price_wrap {
  
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1.2em;
  overflow: visible;
}


.trudes_ti_card_regular_price {
  color: #808080;
 
  text-decoration: line-through;
  margin-right: 4px;
  display: inline-block;
}

.trudes_ti_card_sale_price {
  color: #008000;
  font-weight: bold;
  font-size: 18px;
  font-weight: 500;
  display: inline-block;
}

.trudes_ti_card_prefix {
  font-size: 13px;
  color: #666;
  font-weight: 500;
 
}
