/* ==========================================================================
   WOO — CART (Carrinho)
   ========================================================================== */

/* Título da página */
.woocommerce-cart h1,
.woocommerce-cart .entry-title{
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 1000;
  color: #0e2c36;
  margin: 0 0 18px;
}

/* Cabeçalhos da tabela */
.woocommerce-cart table.shop_table th{
  color:#5a7882;
  text-transform: uppercase;
  letter-spacing:.02em;
  font-weight:800;
}

/* 1) NOME do produto GRANDE */
.woocommerce-cart td.product-name a{
  display:inline-block;
  font-size: 1.35rem;
  font-weight: 900;
  color:#0e2c36;
}

/* 2) PREÇO duplicado: se aparecer dentro do "product-name", zera */
.woocommerce-cart td.product-name .price,
.woocommerce-cart td.product-name .woocommerce-Price-amount{
  display:none !important;
}

/* 3) Subtotal do item (coluna TOTAL) com destaque controlado */
.woocommerce-cart td.product-subtotal .woocommerce-Price-amount{
  font-size: 1.25rem;
  font-weight: 900;
  color:#01657f;
}

/* 4) Mini-acabamentos gerais de tabela */
.woocommerce .shop_table .product-thumbnail img{
  width:64px; height:auto; border-radius:10px;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td{
  font-size: 15px;
  vertical-align: middle;
}

/* 5) CTA “Continuar para finalização” com cara de botão */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  background: linear-gradient(135deg,#01657f,#099cc5) !important;
  color:#fff !important;
  border:0; border-radius:12px;
  padding:14px 18px; font-weight:900;
  display:inline-flex; align-items:center; justify-content:center;
  box-shadow:0 10px 30px -12px rgba(1,101,127,.35);
  text-decoration:none;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{
  filter:brightness(1.05); transform:translateY(-1px);
}

/* 6) Rótulo "Estimated total" — fallback CSS (caso o filtro não pegue) */
.woocommerce-cart .cart_totals .order-total th{
  color:transparent; position:relative;
}
.woocommerce-cart .cart_totals .order-total th::after{
  content:'Total no carrinho';
  color:#0e2c36; font-weight:900;
  position:absolute; left:0; top:0;
}


/* ==========================================================================
   WOO BLOCKS — CART (Carrinho em Gutenberg)
   ========================================================================== */

/* Título “Carrinho” */
.wc-block-cart .wc-block-cart__title{
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 1000;
  color: #0e2c36;
  margin: 0 0 18px;
}

/* Nome do produto grande e na paleta */
.wc-block-cart .wc-block-components-product-name a{
  font-size: 1.35rem;
  font-weight: 900;
  color:#0e2c36;
}

/* Esconde metadados/descrição embaixo do nome (se vierem) */
.wc-block-cart .wc-block-components-product-metadata{
  display:none;
}

/* Subtotal do item na cor da marca */
.wc-block-cart .wc-block-components-product-price__value{
  color:#01657f;
  font-weight: 900;
}

/* CTA “Continuar para finalização” com cara de botão */
.wc-block-cart .wc-block-cart__submit-button .wc-block-components-button,
.wc-block-cart .wc-block-components-checkout-button{
  background: linear-gradient(135deg,#01657f,#099cc5) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:12px !important;
  padding:14px 18px !important;
  font-weight:900 !important;
  box-shadow:0 10px 30px -12px rgba(1,101,127,.35);
  text-decoration:none !important;
}
.wc-block-cart .wc-block-cart__submit-button .wc-block-components-button:hover,
.wc-block-cart .wc-block-components-checkout-button:hover{
  filter:brightness(1.05); transform:translateY(-1px);
}

/* Troca visual do rótulo “Estimated total” -> “Total no carrinho” (fallback CSS) */
.wc-block-cart .wc-block-components-totals-item--order-total
  .wc-block-components-totals-item__label{
  color:transparent; position:relative;
}
.wc-block-cart .wc-block-components-totals-item--order-total
  .wc-block-components-totals-item__label::after{
  content:'Total no carrinho';
  color:#0e2c36; font-weight:900; position:absolute; left:0; top:0;
}

/* Troca visual do rótulo em qualquer variação do bloco */
.wc-block-cart .wc-block-components-totals-item--order-total .wc-block-components-totals-item__label,
.wc-block-cart .wc-block-components-totals-item--grand-total .wc-block-components-totals-item__label,
.wc-block-cart .wc-block-components-totals-item--estimated-total .wc-block-components-totals-item__label{
  color:transparent; position:relative;
}
.wc-block-cart .wc-block-components-totals-item--order-total .wc-block-components-totals-item__label::after,
.wc-block-cart .wc-block-components-totals-item--grand-total .wc-block-components-totals-item__label::after,
.wc-block-cart .wc-block-components-totals-item--estimated-total .wc-block-components-totals-item__label::after{
  content:'Total no carrinho';
  color:#0e2c36; font-weight:900; position:absolute; left:0; top:0;
}

/* ========= WOO: RESETS & LAYOUT DO RESUMO ========= */
/* 1) Neutraliza o estilo de .price do site dentro do Woo */
body.woocommerce-cart .price,
body.woocommerce-checkout .price,
.wc-block-cart .price,
.wc-block-checkout .price,
.woocommerce .product .price {
  font-size: 1rem;           /* tamanho normal de linha */
  font-weight: 700;
  color: var(--c1);
  line-height: 1.2;
}

/* 2) Neutraliza nossa .row genérica dentro dos blocos do Woo */
.wc-block-cart .row,
.wc-block-checkout .row,
.woocommerce .row {
  display: initial;
  gap: 0;
  margin-top: 0;
}

/* 3) Aparência do card “Resumo do pedido” (sidebar do checkout) */
.wc-block-checkout__sidebar .wc-block-components-panel {
  border: 1px solid #e6edf1;
  border-radius: 16px;
  box-shadow: 0 6px 24px -12px rgba(0,0,0,.08);
  overflow: hidden;
}

/* Título “Resumo do pedido” */
.wc-block-checkout__sidebar .wc-block-components-panel__title {
  font-weight: 900;
  color: #0e2c36;
  padding: 14px 16px;
  border-bottom: 1px solid #eef4f6;
}

/* Conteúdo do painel */
.wc-block-checkout__sidebar .wc-block-components-panel__content {
  padding: 14px 16px;
}

/* Cada item do resumo */
.wc-block-checkout__sidebar .wc-block-components-order-summary__content,
.wc-block-checkout__sidebar .wc-block-components-order-summary-item {
  border-bottom: 1px solid #eef4f6;
  padding: 12px 0;
}

/* Imagem ícone do item */
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__image {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #e6edf1;
  overflow: hidden;
}

/* Nome do produto */
.wc-block-checkout__sidebar .wc-block-components-product-name,
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__descr


/* ===== WOO: Ajustes finos no card "Resumo do pedido" (checkout) ===== */

/* Grid do item — garante alinhamento imagem / descrição / total */
.wc-block-checkout__sidebar .wc-block-components-order-summary-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: start;
}

/* Imagem menor com canto suave */
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__image {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #e6edf1;
  overflow: hidden;
}

/* 1) Nome do produto — NORMALIZA tamanho e peso */
.wc-block-checkout__sidebar 
.wc-block-components-order-summary-item__description .wc-block-components-product-name,
.wc-block-checkout__sidebar 
.wc-block-components-order-summary-item__description .wc-block-components-product-name a {
  font-size: 1rem !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  color: #0e2c36 !important;
  text-decoration: none;
  display: inline-block;
  margin: 0;
}

/* 2) Se o Woo inserir títulos H1/H2/H3 na descrição, força a tipografia correta */
.wc-block-checkout__sidebar 
.wc-block-components-order-summary-item__description h1,
.wc-block-checkout__sidebar 
.wc-block-components-order-summary-item__description h2,
.wc-block-checkout__sidebar 
.wc-block-components-order-summary-item__description h3 {
  font-size: 1rem !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  margin: 0 0 2px 0 !important;
  color: #0e2c36 !important;
}

/* 3) Metadados/descrição curtinha abaixo do nome */
.wc-block-checkout__sidebar 
.wc-block-components-order-summary-item__description,
.wc-block-checkout__sidebar 
.wc-block-components-order-summary-item__description p,
.wc-block-checkout__sidebar 
.wc-block-components-order-summary-item__description .wc-block-components-product-details {
  font-size: .875rem;
  color: #55727c;
  margin: 2px 0 0 0;
}

/* 4) Preço do item à direita (mesma linha, tamanho contido) */
.wc-block-checkout__sidebar 
.wc-block-components-order-summary-item__total,
.wc-block-checkout__sidebar 
.wc-block-components-order-summary-item__total .wc-block-components-formatted-money-amount {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: var(--c1) !important;
  white-space: nowrap;
}


