/* assets/css/carrinho.css */
.carrinho-v2-container {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  /* Fonte do protótipo */
}

.carrinho-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

/* Tabela de Produtos */
.table-carrinho {
  width: 100%;
  border-collapse: collapse;
}

.table-carrinho th {
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--gray-color);
  letter-spacing: 1px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  font-weight: 500;
}

.table-carrinho td {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.produto-info-cell {
  display: flex;
  align-items: center;
  gap: 20px;
}

.produto-img-v2 {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #f5f5f5;
}

.produto-titulo-v2 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 5px;
  text-decoration: none;
}

.produto-titulo-v2:hover {
  color: var(--primary-color);
}

.produto-meta-v2 {
  font-size: 0.8rem;
  color: var(--gray-color);
  margin: 0;
}

.estoque-status {
  font-size: 0.75rem;
  color: #D59A93;
  /* Tom Lumas */
  display: block;
  margin-top: 5px;
}

/* Controle de Quantidade */
.qty-control-v2 {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px 10px;
}

.qty-btn-v2 {
  background: none;
  border: none;
  color: var(--gray-color);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0 10px;
  transition: 0.2s;
}

.qty-btn-v2:hover {
  color: var(--secondary-color);
}

.qty-input-v2 {
  width: 40px;
  text-align: center;
  border: none;
  font-weight: 500;
  background: transparent;
  -moz-appearance: textfield;
}

.qty-input-v2::-webkit-outer-spin-button,
.qty-input-v2::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Resumo do Pedido */
.resumo-card-v2 {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 20px;
}

.resumo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.resumo-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: var(--gray-color);
}

.resumo-row strong {
  color: var(--secondary-color);
}

.input-calculo-v2 {
  display: flex;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.input-calculo-v2 input {
  border: none;
  padding: 12px 15px;
  flex-grow: 1;
  font-size: 0.9rem;
  outline: none;
}

.input-calculo-v2 button {
  background: #eee;
  border: none;
  padding: 0 17px;
  color: var(--gray-color);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  font-size: 12px;
}

.input-calculo-v2 button:hover {
  background: #e0e0e0;
  color: var(--secondary-color);
}

.resumo-total-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.total-label {
  font-weight: 600;
  font-size: 1.1rem;
}

.total-valor {
  font-size: 1.4rem;
  color: var(--primary-color);
  font-weight: 600;
}

.btn-lumas-checkout {
  background-color: var(--primary-color);
  color: #fff;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 20px;
  transition: 0.3s;
}

.btn-lumas-checkout:hover {
  background-color: #c48982;
  color: #fff;
}

/* Vitrine Cross-sell */
.vitrine-cross-sell {
  margin-top: 80px;
}

.vitrine-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Carrossel de Cross-sell V2 */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.custom-scrollbar::-webkit-scrollbar {
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 10px;
}

.vitrine-card-lumas {
  transition: all 0.3s ease;
}

.vitrine-card-lumas:hover {
  transform: translateY(-5px);
}

.vitrine-card-lumas img {
  border-radius: 8px;
  border: 1px solid #f9f9f9;
}

.resumo-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #555;
}

.progress-bar-v2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  color: var(--gray-color);
  font-size: 0.9rem;
  margin-bottom: 50px;
}

.progress-step {
  text-align: center;
  font-weight: 500;
  transition: 0.3s;
}

.progress-step.active {
  color: var(--secondary-color);
}

.progress-step.active i {
  color: var(--primary-color);
}

.progress-line {
  width: 30px;
  height: 2px;
  background: #eee;
}