@charset "UTF-8";
/* ==========================================================================
   4. CARD DE PRODUTO (Premium & Conversão)
   ========================================================================== */
.product-card {
  background: var(--cn-white);
  border: 1px solid #f0f0f0;
  /* Borda inicial sutil */
  border-radius: 8px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  /* Animação suave */
  overflow: hidden;
  /* Layout Flex para empurrar o rodapé para o fim */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  /* Sombra mais difusa e elegante */
  transform: translateY(-5px);
  /* Efeito de "levantar" */
}

/* Link que envolve imagem e texto */
.product-link {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  /* Ocupa o espaço disponível */
  padding: 15px 15px 0 15px;
  /* Espaçamento interno */
  color: inherit;
}

/* --- IMAGEM COM ZOOM --- */
.product-image {
  height: 220px;
  /* Altura fixa para alinhar vitrine */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
  /* Necessário para o zoom não sair */
}

.product-image img {
  max-height: 100%;
  width: auto;
  transition: transform 0.4s ease;
  /* Transição da imagem */
  mix-blend-mode: multiply;
  /* Ajuda a imagem a fundir melhor no branco se tiver fundo */
}

.product-card:hover .product-image img {
  transform: scale(1.08);
  /* Zoom sutil ao passar o mouse */
}

/* --- BADGE DE DESCONTO --- */
.discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--cn-wine);
  color: var(--cn-yellow);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* --- TÍTULO --- */
.product-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  color: #444;
  margin: 0 0 10px 0;
  min-height: 40px;
  /* Garante altura mínima para 2 linhas */
  /* Limita a 2 linhas e coloca reticências (...) */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.product-card:hover .product-title {
  color: var(--cn-orange);
  /* Título fica laranja no hover */
}

/* --- AVALIAÇÃO (Estrelas) --- */
.product-rating {
  font-size: 11px;
  color: #ffc107;
  /* Cor de estrela padrão */
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-rating .count {
  color: #999;
}

/* --- PREÇOS --- */
.price-box {
  margin-top: auto;
  /* Empurra o preço para o fundo do link */
  margin-bottom: 5px;
}

.old-price {
  font-family: var(--font-primary);
  font-weight: 400;
  text-decoration: line-through;
  color: #aaa;
  font-size: 12px;
  display: block;
  margin-bottom: 2px;
}

.current-price {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--cn-text-dark);
  font-size: 22px;
  display: block;
}

/* --- PARCELAMENTO --- */
.installments {
  font-family: var(--font-primary);
  font-size: 11px;
  color: #888;
  margin-bottom: 15px;
  font-weight: 500;
}

/* --- ÁREA DE AÇÃO (Botão) --- */
.cart-action {
  padding: 0 15px 15px 15px;
}

.btn-buy {
  font-family: var(--font-heading);
  font-weight: 800;
  /* Extra Bold */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  background-color: var(--cn-orange);
  color: var(--cn-white);
  border: none;
  padding: 12px;
  width: 100%;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(230, 142, 0, 0.2);
}

.btn-buy:hover {
  background-color: var(--cn-orange-hover);
  box-shadow: 0 6px 12px rgba(230, 142, 0, 0.4);
  transform: translateY(-2px);
}

/* --- RODAPÉ DO CARD (Bege) --- */
.card-footer-info {
  background-color: #f9f5ed;
  /* Bege bem clarinho */
  border-top: 1px solid #efeadd;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-primary);
  font-size: 11px;
  color: #666;
  margin-top: auto;
  /* Garante que fique colado no fundo do card */
}

.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-item svg,
.info-item i {
  color: #b0a696;
  /* Cor do ícone suave */
  width: 14px;
  height: 14px;
}

.info-item span {
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
}

/* ==========================================================================
   ARCHIVE / CATEGORIA DE PRODUTOS
   ========================================================================== */
/* --- 1. Banner da Categoria (Cabeçalho) --- */
.category-banner {
  background-color: #e68e00;
  /* Fundo Vinho */
  /* Textura sutil opcional para dar profundidade */
  background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0px, rgba(0, 0, 0, 0.05) 2px, transparent 2px, transparent 10px);
  color: var(--cn-white);
  padding: 60px 0;
  text-align: center;
  position: relative;
  border-bottom: 5px solid var(--cn-orange);
  /* Detalhe Laranja na base */
}

/* Breadcrumbs (Caminho de navegação) */
.category-breadcrumbs {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #000;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb,
.category-breadcrumbs a {
  color: #000 !important;
  transition: color 0.3s;
}

.category-breadcrumbs a:hover {
  color: var(--cn-orange);
}

/* Título da Categoria */
.category-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--cn-white);
}

/* Linha decorativa abaixo do título */
.title-wrapper {
  display: inline-block;
  position: relative;
  margin-bottom: 25px;
}

.title-underline {
  width: 80px;
  height: 4px;
  background-color: #3f0e12;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Descrição da Categoria (SEO text) */
.category-description-box {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

/* --- 2. Layout da Grade de Produtos --- */
.category-layout {
  padding: 60px 0;
  background-color: var(--cn-gray-light);
  /* Fundo cinza claro para destacar os cards */
}

.products-grid-container {
  display: grid;
  /* Define 4 colunas no desktop */
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  /* Espaço generoso entre os cards */
  width: 100%;
}

/* Ajuste para garantir que o card preencha a altura */
.products-grid-container .product-card {
  height: 100%;
}

/* Mensagem de "Nenhum produto" */
.products-grid-container p {
  grid-column: 1/-1;
  /* Ocupa toda a largura */
  text-align: center;
  font-size: 18px;
  color: #666;
  background: #fff;
  border-radius: 8px;
  border: 1px dashed #ccc;
}

/* --- 3. Paginação (Estilizada) --- */
.virtual-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.virtual-pagination ul {
  display: flex;
  gap: 10px;
  padding: 0;
}

.virtual-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--cn-text-dark);
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
}

.virtual-pagination a.page-numbers:hover {
  border-color: var(--cn-orange);
  color: var(--cn-orange);
  transform: translateY(-2px);
}

.virtual-pagination span.page-numbers.current {
  background-color: var(--cn-wine);
  border-color: var(--cn-wine);
  color: #fff;
}

/* --- 4. Responsividade --- */
/* Tablet (iPad) */
@media (max-width: 1024px) {
  .products-grid-container {
    grid-template-columns: repeat(3, 1fr);
    /* 3 colunas */
    gap: 20px;
  }
  .category-title {
    font-size: 32px;
  }
}
/* Mobile (Celulares) */
@media (max-width: 768px) {
  .category-banner {
    padding: 40px 0;
  }
  .products-grid-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2 colunas lado a lado */
    gap: 10px;
    /* Espaço menor para aproveitar tela */
  }
  .category-title {
    font-size: 24px;
  }
  .category-description-box {
    font-size: 13px;
    padding: 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Limita texto longo no mobile */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* Ajustes finos nos cards para mobile */
  .products-grid-container .product-card {
    border-radius: 4px;
    /* Bordas menos arredondadas */
  }
  .products-grid-container .btn-buy {
    padding: 8px;
    font-size: 12px;
  }
}
/* ================= PÁGINA DE PRODUTO PREMIUM ================= */
.virtual-product-page {
  padding: 40px 0;
  background-color: #f4f7f6;
  /* Fundo cinza bem moderno */
}

/* GRID PRINCIPAL */
.virtual-grid-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  /* Coluna da direita fixa em 400px */
  gap: 40px;
  align-items: start;
}

/* --- COLUNA ESQUERDA --- */
.product-left-col {
  background: transparent;
}

/* Galeria de Imagens (WooCommerce Nativo Estilizado) */
.woocommerce-product-gallery {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

/* Ajuste da Lupa e Slider */
.woocommerce-product-gallery img {
  border-radius: 8px;
}

.flex-control-nav {
  margin-top: 15px;
}

.flex-control-thumbs li {
  padding: 5px;
}

.flex-control-thumbs img {
  border: 2px solid transparent;
  transition: all 0.3s;
  border-radius: 6px;
  opacity: 0.7;
}

.flex-control-thumbs img:hover,
.flex-control-thumbs .flex-active {
  border-color: var(--cn-orange);
  opacity: 1;
}

/* Seção de Descrição */
.product-content-section {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.section-title-small {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--cn-wine);
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.description-text {
  font-family: var(--font-primary);
  color: #444;
  font-size: 16px;
  line-height: 1.8;
}

/* --- COLUNA DIREITA (STICKY) --- */
.sticky-wrapper {
  position: sticky;
  top: 20px;
  z-index: 100;
}

.buy-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  border: 1px solid #eee;
}

.mini-breadcrumb {
  font-size: 12px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
  font-weight: 600;
}

.mini-breadcrumb a {
  color: #999;
}

.product_title {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--cn-text-dark);
}

/* Preço */
.price-box {
  margin: 20px 0;
  padding: 15px;
  background: #fffbf2;
  /* Amarelo bem claro */
  border-radius: 8px;
  border: 1px solid #fcefd4;
}

.price-box .price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--cn-wine);
  display: block;
}

.price-box del {
  font-size: 14px;
  color: #aaa;
  display: block;
  font-weight: normal;
}

.price-box ins {
  text-decoration: none;
}

/* --- QUANTIDADE E BOTÃO --- */
.qty-btn-container {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  height: 50px;
  width: 170px;
  /* Largura fixa */
  overflow: hidden;
}

.quantity-selector button {
  width: 35px;
  height: 100%;
  background: #f9f9f9;
  border: none;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  transition: 0.2s;
}

.quantity-selector button:hover {
  background: #e0e0e0;
}

.quantity-selector input.qty {
  width: 50px;
  height: 100%;
  border: none;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  -moz-appearance: textfield;
}

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

/* Botão Comprar Gigante */
.btn-buy-large {
  flex-grow: 1;
  background-color: var(--cn-orange) !important;
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.3s;
}

.btn-buy-large:hover {
  background-color: var(--cn-orange-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 142, 0, 0.4);
}

/* Badges de Segurança */
.trust-badges {
  margin-top: 25px;
  border-top: 1px solid #eee;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
  font-weight: 600;
}

.trust-item i {
  color: var(--cn-green);
  font-size: 16px;
}

/* Favorito */
.virtual-fav-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: #fff;
  border: 1px solid #eee;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ccc;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.virtual-fav-btn:hover {
  color: #ff4757;
  border-color: #ff4757;
}

/* RESPONSIVO */
@media (max-width: 991px) {
  .virtual-grid-layout {
    grid-template-columns: 1fr;
  }
  /* No mobile, o preço fica EMBAIXO da descrição ou movemos com order? */
  /* Geralmente no mobile queremos: Foto > Titulo > Preço > Descrição */
  .product-left-col {
    order: 1;
  }
  .product-right-col {
    order: 2;
  }
  .qty-btn-container {
    flex-direction: column;
    /* Botão full width no mobile */
  }
  .quantity-selector {
    width: 100%;
    justify-content: space-between;
  }
  .quantity-selector input.qty {
    width: 100%;
  }
}
/* ================= GALERIA DE IMAGENS CUSTOMIZADA ================= */
/* Container da Galeria */
.virtual-custom-gallery {
  display: flex;
  gap: 20px;
  opacity: 1 !important;
  /* Força visibilidade caso o JS demore */
  flex-direction: row-reverse;
  /* Coloca miniaturas na esquerda, foto na direita */
}

/* Foto Principal Grande */
.main-image-wrapper {
  flex-grow: 1;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  height: -moz-fit-content;
  height: fit-content;
}

.main-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  cursor: crosshair;
  /* Indica que tem zoom */
  transition: opacity 0.3s ease;
}

/* Ícone de Zoom */
.zoom-icon {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cn-wine);
  pointer-events: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Coluna de Miniaturas (Vertical) */
.vertical-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 90px;
  /* Largura fixa para as thumbs */
  flex-shrink: 0;
}

.thumb-item {
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.6;
}

.thumb-item img {
  width: 100%;
  height: 90px;
  /* Thumbs quadradas */
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* Estado Ativo/Hover das Thumbs */
.thumb-item:hover,
.thumb-item.active {
  border-color: var(--cn-orange);
  opacity: 1;
  transform: translateX(2px);
}

/* Responsivo Galeria (Mobile) */
@media (max-width: 768px) {
  .virtual-custom-gallery {
    flex-direction: column;
    /* Thumbs embaixo no mobile */
  }
  .vertical-thumbnails {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    /* Scroll horizontal se tiver muitas fotos */
    padding-bottom: 5px;
  }
  .thumb-item img {
    height: 70px;
    width: 70px;
  }
}
/* ================= ESTILO DOS DETALHES DO PRODUTO (PREMIUM) ================= */
/* Container da Descrição */
.product-content-section {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid #e1e1e1;
}

/* Títulos H2 e H3 dentro da descrição */
.product-content-section h2,
.product-content-section h3 {
  font-family: var(--font-heading);
  color: var(--cn-wine);
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 20px;
  position: relative;
  padding-left: 15px;
}

/* Detalhe laranja ao lado dos títulos */
.product-content-section h2::before,
.product-content-section h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  height: 20px;
  width: 4px;
  background-color: var(--cn-orange);
  border-radius: 2px;
}

/* Parágrafos de texto */
.description-text p {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  text-align: justify;
}

/* Listas (ul) dentro da descrição */
.description-text ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.description-text ul li {
  list-style: none;
  position: relative;
  margin-bottom: 10px;
  color: #444;
  font-size: 15px;
}

.description-text ul li::before {
  content: "✓";
  /* Checkmark personalizado */
  color: var(--cn-green);
  font-weight: bold;
  margin-right: 10px;
}

/* === TABELA DE FICHA TÉCNICA (Atributos) === */
.attributes-table table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 15px;
}

.attributes-table th,
.attributes-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

/* Coluna de Nomes (Peso, Marca, etc) */
.attributes-table th {
  background-color: #f9f9f9;
  color: var(--cn-wine);
  font-weight: 700;
  width: 35%;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* Coluna de Valores */
.attributes-table td {
  background-color: #fff;
  color: #333;
  font-weight: 500;
}

/* Efeito Zebra na tabela */
.attributes-table tr:last-child th,
.attributes-table tr:last-child td {
  border-bottom: none;
}

.woocommerce div.product div.images,
.woocommerce #content div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce-page #content div.product div.images {
  width: 100%;
}

/* ================= BARRA LATERAL FIXA (STICKY) ================= */
/* Garante que o container pai permita o sticky */
.virtual-grid-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start; /* CRUCIAL: Se for 'stretch' ou 'center', o sticky não funciona */
}

/* O Wrapper que vai ficar fixo */
.sticky-wrapper { /* Para Safari antigo */
  position: sticky; /* O atributo mágico */
  top: 20px; /* Distância do topo da tela quando fixar */
  z-index: 100; /* Fica acima de outros elementos */
  transition: top 0.3s;
}

/* Ajuste Mobile: No celular, removemos o sticky pois não cabe na tela */
@media (max-width: 991px) {
  .sticky-wrapper {
    position: static;
  }
}
/* ================= ZOOM DA GALERIA ================= */
.main-image-wrapper {
  position: relative;
  overflow: hidden; /* Importante para a imagem não sair da caixa */
  cursor: zoom-in; /* Mostra a lupa no mouse */
  border-radius: 8px;
  border: 1px solid #eee;
}

.main-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.1s ease-out; /* Movimento suave */
  transform-origin: center center;
  will-change: transform;
}

/* Quando o zoom estiver ativo (via JS) */
.main-image-wrapper.zoomed img {
  cursor: zoom-out;
}

/* ================= BARRA FIXA INTELIGENTE ================= */
/* Estado Inicial: Invisível (Abaixo da tela) */
.fixed-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #eee;
  /* Prepara animação */
  transform: translateY(105%);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  /* Layout */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Classe adicionada pelo Javascript quando deve aparecer */
.fixed-cart-bar.is-visible {
  transform: translateY(0);
}

.fixed-bar-content {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Informações do Produto */
.fixed-prod-info {
  display: flex;
  flex-direction: column;
}

.fixed-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: block;
}

.fixed-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--cn-wine, #800020);
}

/* Container da Direita (Qty + Botão) */
.fixed-actions-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* --- SELETOR DE QUANTIDADE STICKY (Menor) --- */
.quantity-selector.small-selector {
  height: 40px; /* Mais baixo que o principal */
  width: 100px;
}

.quantity-selector.small-selector button {
  width: 30px;
  font-size: 16px;
}

.quantity-selector.small-selector input.qty {
  font-size: 14px;
}

/* --- BOTÃO DE COMPRA STICKY --- */
.fixed-btn-buy {
  /* MESMA COR DO BOTÃO PRINCIPAL */
  background-color: var(--cn-orange, #ff9900);
  color: white;
  border: none;
  padding: 0 30px; /* Padding lateral */
  height: 40px; /* Mesma altura do seletor */
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(230, 142, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fixed-btn-buy:hover {
  background-color: var(--cn-orange-hover, #e68a00);
  transform: translateY(-2px);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
  .fixed-cart-bar {
    height: 70px;
  }
  .fixed-title {
    display: none; /* Esconde nome no mobile */
  }
  .fixed-prod-info {
    /* Apenas preço visível */
    justify-content: center;
  }
  .fixed-actions-wrapper {
    gap: 10px;
  }
  .quantity-selector.small-selector {
    width: 90px;
  }
  .fixed-btn-buy {
    padding: 0 20px;
    font-size: 13px;
  }
}
/* ==========================================================================
   NOTIFICAÇÕES WOOCOMMERCE (ESTILO PREMIUM)
   ========================================================================== */
.woocommerce-notices-wrapper {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 15px;
  width: 100%;
}

/* Base para todas as mensagens (Sucesso, Erro, Info) */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  padding: 18px 25px;
  background: #fff;
  color: #444;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); /* Sombra elegante */
  margin-bottom: 20px !important;
  font-family: var(--font-primary, sans-serif);
  font-size: 15px;
  font-weight: 500;
  /* Layout Flex para alinhar texto e botão */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  position: relative;
  overflow: hidden;
  border: none !important; /* Remove bordas padrão feias */
  /* Animação suave de entrada */
  animation: fadeInSlide 0.5s ease forwards;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --- 1. MENSAGEM DE SUCESSO (Adicionado ao carrinho) --- */
.woocommerce-message {
  border-left: 5px solid var(--cn-green, #27ae60) !important;
}

/* Ícone de Check (WooCommerce usa ::before) */
.woocommerce-message::before {
  color: var(--cn-green, #27ae60);
  font-size: 18px;
  margin-right: 15px;
  /* Ajuste fino se o ícone estiver desalinhado */
  position: static;
}

/* --- 2. BOTÃO "VER CARRINHO" --- */
.woocommerce-message .button.wc-forward {
  background-color: var(--cn-green, #27ae60) !important;
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  padding: 10px 20px !important;
  border-radius: 50px; /* Botão Pílula */
  margin: 0 !important; /* Reseta margens do Woo */
  float: none !important; /* Reseta floats antigos */
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(39, 174, 96, 0.2);
}

.woocommerce-message .button.wc-forward:hover {
  background-color: #219150 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(39, 174, 96, 0.3);
  opacity: 1 !important;
}

/* --- 3. MENSAGEM DE ERRO (Ex: Campo faltando) --- */
.woocommerce-error {
  border-left: 5px solid #e74c3c !important; /* Vermelho */
  list-style: none outside !important; /* Remove bolinhas de lista */
}

.woocommerce-error::before {
  color: #e74c3c;
}

.woocommerce-error li {
  margin: 0;
  list-style: none !important;
}

/* --- 4. MENSAGEM DE INFO (Ex: Cupom) --- */
.woocommerce-info {
  border-left: 5px solid var(--cn-orange, #ff9900) !important; /* Laranja */
}

.woocommerce-info::before {
  color: var(--cn-orange, #ff9900);
}

/* --- RESPONSIVO (Mobile) --- */
@media (max-width: 768px) {
  .woocommerce-message,
  .woocommerce-error,
  .woocommerce-info {
    flex-direction: column; /* Empilha texto e botão */
    align-items: flex-start; /* Alinha à esquerda */
    text-align: left;
    font-size: 14px;
    padding: 15px;
  }
  .woocommerce-message .button.wc-forward {
    width: 100%; /* Botão largura total no mobile */
    text-align: center;
    margin-top: 10px !important;
  }
  /* Ícone */
  .woocommerce-message::before,
  .woocommerce-info::before,
  .woocommerce-error::before {
    display: none; /* Opcional: esconde ícone no mobile para economizar espaço */
  }
}
/* Remove o Breadcrumb */
.woocommerce-breadcrumb {
  display: none !important;
}

/* ==========================================================================
   0. RESET DE TEMA (FORÇA BRUTA PARA LIMPAR A TELA)
   ========================================================================== */
/* Remove Sidebars do Tema */
.woocommerce-cart #secondary,
.woocommerce-cart #sidebar,
.woocommerce-cart .widget-area,
.woocommerce-cart .sidebar-main {
  display: none !important;
}

/* Força Largura Total */
.woocommerce-cart #primary,
.woocommerce-cart .content-area,
.woocommerce-cart .site-content,
.woocommerce-cart .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 100% !important;
}

/* ==========================================================================
   1. BARRA DE PASSOS (STEPS) - NOVO!
   ========================================================================== */
.virtual-checkout-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto 50px auto;
  max-width: 800px;
  padding: 0 15px;
  font-family: var(--font-primary, sans-serif);
}

.virtual-checkout-steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  min-width: 80px; /* Garante área de clique/visão */
}

/* Bolinha do Passo */
.step-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  border: 2px solid #fff; /* Borda branca para separar da linha */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Texto do Passo */
.step-label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  color: #bbb;
  letter-spacing: 0.5px;
  text-align: center;
}

/* Linha Conectora */
.step-connector {
  flex: 1;
  height: 3px;
  background: #f0f0f0;
  margin: -35px 5px 0 5px; /* Posiciona a linha atrás das bolinhas */
  z-index: 1;
  border-radius: 2px;
}

/* --- ESTADO ATIVO (Atual) --- */
.virtual-checkout-steps .step.active .step-circle {
  background-color: var(--cn-wine, #800020); /* Vinho da marca */
  color: #fff;
  box-shadow: 0 4px 15px rgba(128, 0, 32, 0.3);
  transform: scale(1.1);
}

.virtual-checkout-steps .step.active .step-label {
  color: var(--cn-wine, #800020);
  font-weight: 800;
}

/* ==========================================================================
   2. LAYOUT DO CARRINHO (FLEXBOX)
   ========================================================================== */
.virtual-cart-wrapper {
  display: flex;
  flex-wrap: wrap; /* Permite quebrar linha no mobile */
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 15px;
  align-items: flex-start; /* Alinha tudo ao topo */
  font-family: var(--font-primary, sans-serif);
}

/* --- COLUNA ESQUERDA (TABELA) --- */
.virtual-cart-products {
  flex: 1; /* Cresce para ocupar espaço */
  min-width: 0; /* Impede overflow */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #eee;
  overflow: hidden;
}

/* --- COLUNA DIREITA (TOTAIS) --- */
.virtual-cart-totals {
  width: 360px; /* Largura fixa ideal */
  flex-shrink: 0; /* Não encolhe */
  position: sticky;
  top: 30px; /* Gruda no topo ao rolar */
  z-index: 10;
}

/* ==========================================================================
   3. ESTILO DA TABELA DE PRODUTOS
   ========================================================================== */
.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 !important;
  border: none !important;
}

/* Cabeçalho */
.shop_table thead th {
  background: #f8f9fa;
  padding: 18px 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #555;
  text-align: left;
  border-bottom: 1px solid #e1e1e1;
  letter-spacing: 0.5px;
}

/* Células */
.woocommerce-cart-form__cart-item td {
  padding: 25px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #f5f5f5;
  color: #444;
}

/* Imagem do Produto */
.product-thumbnail img {
  width: 80px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #eee;
  display: block;
}

/* Nome do Produto */
.product-name a {
  color: #333;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: 0.2s;
}

.product-name a:hover {
  color: var(--cn-orange, #ff9900);
}

/* Botão Remover (X) */
.product-remove a.remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff0f0;
  color: #e74c3c !important;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  transition: all 0.2s;
}

.product-remove a.remove:hover {
  background: #e74c3c;
  color: #fff !important;
  transform: rotate(90deg);
}

/* Input Quantidade */
.product-quantity .quantity {
  width: 80px;
  margin: 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.product-quantity input.qty {
  border: none;
  height: 40px;
  text-align: center;
  font-weight: 700;
  width: 100%;
  color: #333;
  background: #fff;
  -moz-appearance: textfield;
}

/* Preço e Subtotal */
.product-price {
  color: #666;
  font-size: 14px;
}

.product-subtotal {
  color: var(--cn-wine, #800020);
  font-weight: 800;
  font-size: 15px;
}

/* ==========================================================================
   4. AÇÕES (CUPOM E UPDATE)
   ========================================================================== */
.actions {
  padding: 25px !important;
  background: #fff;
}

.actions-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.coupon {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 250px;
}

.coupon input.input-text {
  flex: 1;
  border: 1px solid #ddd;
  padding: 0 15px;
  border-radius: 4px;
  height: 40px;
  font-size: 13px;
}

/* Botões Cinzas (Aplicar / Atualizar) */
button.btn-apply,
button.btn-update {
  background: #f1f2f6;
  color: #333;
  border: 1px solid #ddd;
  padding: 0 20px;
  height: 40px; /* Mesma altura do input */
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s;
}

button.btn-apply:hover,
button.btn-update:hover {
  background: #e1e2e6;
  border-color: #ccc;
}

button.btn-update:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==========================================================================
   5. CARD DE TOTAIS (SIDEBAR)
   ========================================================================== */
.cart-collaterals .cart_totals {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  width: 100% !important;
  float: none !important;
}

.cart_totals h2 {
  font-family: var(--font-heading, sans-serif);
  font-size: 18px;
  margin-bottom: 25px;
  border-bottom: 2px solid #f5f5f5;
  padding-bottom: 15px;
  text-transform: uppercase;
  color: #333;
  letter-spacing: -0.5px;
}

.cart_totals table {
  width: 100%;
  margin-bottom: 25px;
  border-collapse: collapse;
}

.cart_totals th,
.cart_totals td {
  padding: 12px 0;
  border-bottom: 1px solid #f9f9f9;
  font-size: 14px;
}

.cart_totals th {
  font-weight: normal;
  color: #777;
  text-align: left;
}

.cart_totals td {
  font-weight: 700;
  color: #333;
  text-align: right;
}

/* Total Final Destacado */
.order-total th,
.order-total td {
  border-bottom: none;
  border-top: 1px solid #eee;
  padding-top: 20px;
  margin-top: 10px;
  font-size: 20px;
  color: #000;
}

.order-total td {
  color: var(--cn-wine, #800020);
}

/* --- BOTÃO DE CHECKOUT (VERDE) --- */
.wc-proceed-to-checkout {
  display: block;
  margin-top: 20px;
}

.checkout-button {
  display: block;
  width: 100%;
  background-color: var(--cn-green, #27ae60) !important;
  color: #fff !important;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 15px !important;
  padding: 18px !important;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
  border: none;
}

.checkout-button:hover {
  background-color: #219150 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
}

/* ==========================================================================
   6. RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 900px) {
  /* Ajuste da Barra de Passos */
  .step-connector {
    margin: -30px 5px 0 5px;
  }
  .step-label {
    font-size: 10px;
    display: none;
  } /* Esconde texto se ficar apertado */
  .step.active .step-label {
    display: block;
  } /* Mostra só o ativo */
  /* Layout vira Coluna */
  .virtual-cart-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .virtual-cart-products,
  .virtual-cart-totals {
    width: 100%;
    flex: none;
  }
  .virtual-cart-totals {
    position: static;
    order: 2; /* Totais embaixo */
  }
  /* --- TRANSFORMA TABELA EM CARDS --- */
  .shop_table thead {
    display: none; /* Esconde cabeçalho */
  }
  .woocommerce-cart-form__cart-item {
    display: grid;
    grid-template-areas: "thumb name remove" "thumb price remove" "qty subtotal subtotal";
    grid-template-columns: 70px 1fr 30px; /* Colunas: Imagem | Conteúdo | Botão X */
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
  }
  .woocommerce-cart-form__cart-item td {
    display: block;
    padding: 0;
    border: none;
  }
  /* Áreas do Grid */
  .product-thumbnail {
    grid-area: thumb;
  }
  .product-thumbnail img {
    width: 60px;
    height: 60px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .product-name {
    grid-area: name;
    font-size: 14px;
    line-height: 1.3;
  }
  .product-price {
    grid-area: price;
    font-size: 13px;
    color: #888;
  }
  .product-remove {
    grid-area: remove;
    justify-self: end;
  }
  .product-quantity {
    grid-area: qty;
    margin-top: 10px;
  }
  .product-subtotal {
    grid-area: subtotal;
    justify-self: end;
    align-self: end;
    margin-top: 10px;
    background: #f9f9f9;
    padding: 5px 10px !important;
    border-radius: 4px;
    font-size: 14px;
  }
  /* Adiciona label "Total" no mobile */
  .product-subtotal::before {
    content: "Total: ";
    font-weight: 400;
    color: #666;
    font-size: 12px;
  }
  /* Ajuste de Botões e Cupom */
  .actions-wrapper {
    flex-direction: column;
  }
  .coupon {
    width: 100%;
  }
  button.btn-update {
    width: 100%;
  }
}
/* ==========================================================================
   CHECKOUT PREMIUM STYLES
   ========================================================================== */
/* --- 0. RESET E ESTRUTURA --- */
.virtual-checkout-page-content {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 15px;
  font-family: var(--font-primary, sans-serif);
}

/* Remove sidebars teimosas */
.woocommerce-checkout #secondary,
.woocommerce-checkout #sidebar {
  display: none !important;
}

.woocommerce-checkout #primary {
  width: 100% !important;
  float: none !important;
}

/* --- 1. BARRA DE PASSOS (ATUALIZADA) --- */
.virtual-checkout-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto 50px auto;
  max-width: 800px;
}

.virtual-checkout-steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-decoration: none;
  z-index: 2;
  min-width: 90px;
}

.step-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 10px;
  border: 3px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.step-label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  color: #bbb;
  text-align: center;
}

.step-connector {
  flex: 1;
  height: 3px;
  background: #f0f0f0;
  margin: -35px 5px 0 5px;
  z-index: 1;
}

/* Estado: ATIVO (Atual) */
.step.active .step-circle {
  background-color: var(--cn-wine, #800020);
  color: #fff;
  box-shadow: 0 4px 15px rgba(128, 0, 32, 0.3);
  transform: scale(1.1);
}

.step.active .step-label {
  color: var(--cn-wine, #800020);
  font-weight: 800;
}

/* Estado: COMPLETADO (Passado) */
.step.completed .step-circle {
  background-color: var(--cn-green, #27ae60);
  color: #fff;
}

.step.completed .step-label {
  color: var(--cn-green, #27ae60);
}

.step-connector.completed {
  background-color: var(--cn-green, #27ae60);
}

/* --- 2. LAYOUT GRID (Formulário) --- */
.virtual-checkout-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.virtual-checkout-col-left {
  flex: 1;
  min-width: 0;
}

.virtual-checkout-col-right {
  width: 400px;
  flex-shrink: 0;
}

/* --- 3. SEÇÃO DE DADOS (ESQUERDA) --- */
.virtual-checkout-section {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #eee;
  margin-bottom: 30px;
}

.section-header {
  margin-bottom: 30px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
}

.section-header h2 {
  font-family: var(--font-heading, sans-serif);
  font-size: 22px;
  color: #333;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-header h2 i {
  color: var(--cn-wine, #800020);
  font-size: 20px;
}

.section-header p {
  color: #777;
  font-size: 14px;
  margin: 0;
}

/* --- ESTILO DOS INPUTS (MODERNOS) --- */
.woocommerce-checkout .form-row {
  margin-bottom: 20px;
}

.woocommerce-checkout label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
  display: block;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout select {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  color: #333;
  background-color: #fafafa;
  transition: all 0.2s;
}

.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus {
  background-color: #fff;
  border-color: var(--cn-orange, #ff9900);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.1);
  outline: none;
}

/* Ajuste Select2 (se o tema usar) */
.select2-container .select2-selection--single {
  height: 48px !important;
  border-color: #ddd !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
}

/* --- 4. SEÇÃO DIREITA (RESUMO E PAGAMENTO) --- */
/* Sticky Wrapper */
.order-review-sticky-wrapper {
  position: sticky;
  top: 30px;
}

.virtual-card-summary {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  overflow: hidden;
}

.virtual-card-summary h3 {
  font-family: var(--font-heading, sans-serif);
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f5f5f5;
}

/* Tabela de Resumo */
.woocommerce-checkout-review-order-table {
  width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}

.woocommerce-checkout-review-order-table td {
  text-align: right;
  font-weight: 600;
}

.cart-subtotal th, .order-total th {
  color: #666;
}

.order-total td {
  color: var(--cn-wine, #800020);
  font-size: 20px;
  font-weight: 800;
}

/* --- 5. PAGAMENTO (O mais difícil de estilizar) --- */
#payment {
  background: #fff !important;
  border-radius: 8px;
}

#payment ul.payment_methods {
  padding: 0 !important;
  margin: 0 0 20px 0 !important;
  list-style: none !important;
  border-bottom: none !important;
}

#payment ul.payment_methods li {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 6px;
  margin-bottom: 10px;
  padding: 15px;
  list-style: none !important;
}

/* Radio Button customizado */
#payment ul.payment_methods li input[type=radio] {
  margin-right: 10px;
  accent-color: var(--cn-green, #27ae60);
  transform: scale(1.2);
}

#payment ul.payment_methods li label {
  display: inline-block;
  font-weight: 700;
  color: #333;
  font-size: 15px;
  margin: 0;
  cursor: pointer;
}

/* Caixa de descrição do pagamento */
#payment div.payment_box {
  background-color: #fff !important;
  border: 1px solid #e1e1e1;
  color: #555 !important;
  padding: 15px !important;
  margin-top: 10px !important;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
}

#payment div.payment_box::before {
  display: none;
} /* Remove setinha feia */
/* Botão FINALIZAR (Place Order) */
#place_order {
  background-color: var(--cn-green, #27ae60) !important;
  color: #fff !important;
  font-family: var(--font-heading, sans-serif);
  font-size: 16px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  width: 100%;
  padding: 18px !important;
  border-radius: 8px !important;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
  border: none;
  margin-top: 20px;
}

#place_order:hover {
  background-color: #219150 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* Selos de Segurança */
.checkout-trust-badges {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.badge-item {
  font-size: 11px;
  color: #888;
  background: #f5f5f5;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.badge-item i {
  color: #666;
}

/* --- 6. NOTIFICAÇÕES (Login/Cupom no topo) --- */
.woocommerce-info {
  background: #fff;
  border-top: 3px solid var(--cn-orange, #ff9900);
  padding: 15px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  margin-bottom: 20px;
  color: #555;
  font-size: 14px;
}

.woocommerce-info a {
  color: var(--cn-wine, #800020);
  font-weight: 700;
}

/* --- 7. RESPONSIVO --- */
@media (max-width: 991px) {
  .virtual-checkout-wrapper {
    flex-direction: column;
  }
  .virtual-checkout-col-left,
  .virtual-checkout-col-right {
    width: 100%;
    flex: none;
  }
  .order-review-sticky-wrapper {
    position: static;
  }
  /* Steps Mobile */
  .step-label {
    font-size: 10px;
  }
  .step-connector {
    margin: -30px 5px 0 5px;
  }
  .step-circle {
    width: 35px;
    height: 35px;
    font-size: 14px;
    border-width: 2px;
  }
}
/* ==========================================================================
   PÁGINA DE LOGIN E CADASTRO (PREMIUM)
   ========================================================================== */
/* --- CONTAINER GERAL --- */
.virtual-login-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  align-items: flex-start;
}

.virtual-login-col,
.virtual-register-col {
  flex: 1;
  min-width: 300px; /* Garante tamanho mínimo antes de quebrar */
}

/* --- CARDS DE AUTENTICAÇÃO --- */
.virtual-auth-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  transition: transform 0.3s ease;
}

.virtual-auth-card:hover {
  transform: translateY(-5px); /* Efeito sutil de levantar */
}

/* Títulos (Login / Criar Conta) */
.virtual-auth-card h2 {
  font-family: var(--font-heading, sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

/* --- FORMULÁRIOS E INPUTS --- */
.woocommerce-form-row {
  margin-bottom: 20px;
}

.woocommerce-form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}

.woocommerce-Input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fafafa;
  color: #333;
  font-size: 15px;
  transition: all 0.2s;
}

.woocommerce-Input:focus {
  background-color: #fff;
  border-color: var(--cn-orange, #ff9900);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.1);
  outline: none;
}

/* --- BOTÕES DE AÇÃO --- */
.woocommerce-button {
  width: 100%;
  background-color: var(--cn-wine, #800020) !important; /* Vinho para Login */
  color: #fff !important;
  font-family: var(--font-heading, sans-serif);
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  padding: 15px !important;
  border-radius: 6px !important;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}

.woocommerce-button:hover {
  background-color: #600018 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(128, 0, 32, 0.3);
}

/* Botão de Registro (Diferente para destacar) */
.woocommerce-form-register__submit {
  background-color: var(--cn-orange, #ff9900) !important; /* Laranja para Cadastro */
}

.woocommerce-form-register__submit:hover {
  background-color: var(--cn-orange-hover, #e68a00) !important;
  box-shadow: 0 4px 15px rgba(230, 142, 0, 0.3);
}

/* --- EXTRAS (Lembrar-me / Esqueceu a senha) --- */
.login-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.woocommerce-form-login__rememberme {
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.woocommerce-LostPassword a {
  font-size: 13px;
  color: #888;
  text-decoration: none;
  transition: 0.2s;
  display: block;
  text-align: center;
  margin-top: 15px;
}

.woocommerce-LostPassword a:hover {
  color: var(--cn-orange, #ff9900);
  text-decoration: underline;
}

/* ==========================================================================
   DASHBOARD MINHA CONTA (SIDEBAR + CONTEÚDO)
   ========================================================================== */
.virtual-dashboard-wrapper {
  display: flex;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  gap: 40px;
  min-height: 500px; /* Altura mínima para não ficar vazio */
}

/* --- SIDEBAR (MENU LATERAL) --- */
.virtual-dashboard-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
  height: -moz-fit-content;
  height: fit-content;
}

/* Header do Usuário (Avatar) */
.user-welcome {
  background: #f9f9f9;
  padding: 30px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.avatar-circle {
  width: 60px;
  height: 60px;
  background-color: var(--cn-wine, #800020);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
  text-transform: uppercase;
}

.user-welcome span {
  font-weight: 700;
  color: #333;
  font-size: 16px;
  display: block;
}

/* Menu de Navegação */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid #f5f5f5;
}

.woocommerce-MyAccount-navigation li:last-child {
  border-bottom: none;
}

.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 15px 25px;
  color: #555;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.woocommerce-MyAccount-navigation li a:hover {
  background-color: #fcfcfc;
  color: var(--cn-orange, #ff9900);
  padding-left: 30px; /* Efeito de deslizar */
}

/* Item Ativo */
.woocommerce-MyAccount-navigation li.is-active a {
  background-color: #fffbf2; /* Fundo creme suave */
  color: var(--cn-wine, #800020);
  font-weight: 700;
  border-left-color: var(--cn-wine, #800020);
}

/* --- ÁREA DE CONTEÚDO (DIREITA) --- */
.virtual-dashboard-content {
  flex: 1;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Títulos dentro do conteúdo */
.virtual-dashboard-content h2,
.virtual-dashboard-content h3 {
  font-family: var(--font-heading, sans-serif);
  color: #333;
  margin-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

/* Botões dentro do painel (Ex: Salvar Endereço) */
.virtual-dashboard-content button.button {
  background-color: var(--cn-green, #27ae60) !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 12px 25px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  transition: 0.3s;
}

.virtual-dashboard-content button.button:hover {
  background-color: #219150 !important;
  transform: translateY(-2px);
}

/* Tabelas de Pedidos (Clean) */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.woocommerce-orders-table th {
  background: #f9f9f9;
  padding: 15px;
  text-align: left;
  font-weight: 700;
  color: #666;
  font-size: 13px;
  text-transform: uppercase;
}

.woocommerce-orders-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  color: #444;
}

/* Botão "Ver" Pedido */
.woocommerce-button.view {
  background-color: #f1f2f6 !important;
  color: #333 !important;
  font-size: 12px !important;
  padding: 8px 15px !important;
  margin: 0;
  box-shadow: none;
}

.woocommerce-button.view:hover {
  background-color: #e1e2e6 !important;
  color: #000 !important;
  transform: none;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 991px) {
  /* Login Mobile */
  .virtual-login-wrapper {
    flex-direction: column;
    margin: 30px auto;
    gap: 30px;
  }
  .virtual-auth-card {
    padding: 25px;
  }
  /* Dashboard Mobile */
  .virtual-dashboard-wrapper {
    flex-direction: column;
    padding: 0 15px;
  }
  .virtual-dashboard-sidebar {
    width: 100%;
  }
  .woocommerce-MyAccount-navigation ul {
    display: flex;
    overflow-x: auto; /* Scroll horizontal no menu */
    white-space: nowrap;
    border-bottom: 1px solid #eee;
  }
  .woocommerce-MyAccount-navigation li {
    border-bottom: none;
    flex: 0 0 auto;
  }
  .woocommerce-MyAccount-navigation li a {
    padding: 15px;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  .woocommerce-MyAccount-navigation li.is-active a {
    background: transparent;
    border-left: none;
    border-bottom-color: var(--cn-wine, #800020);
  }
  .virtual-dashboard-content {
    padding: 20px;
    border: none;
    box-shadow: none;
  }
}/*# sourceMappingURL=woocommerce.css.map */