
/*
Theme Name: Parafusos Online
Theme URI: https://parafusosonline.local
Author: Patrick Willian Inacio
Description: Tema WooCommerce inspirado no mockup, com hero, categorias em destaque, grade por categorias e páginas funcionais (loja, produto, carrinho, checkout).
Version: 1.2.6
License: GPL-2.0-or-later
Text Domain: parafusosonline
*/
:root{--brand-blue:#153d7a;--brand-blue-2:#18488f;--brand-blue-3:#0b2a5a;--brand-yellow:#f2c500;--bg:#f6f7fb;--surface:#ffffff;--text:#0f172a;--muted:#475569}
html{scroll-behavior:smooth;overflow-x:hidden}
body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Helvetica Neue,Arial;overflow-x:hidden}
*,*::before,*::after{box-sizing:border-box}
img,video,svg{max-width:100%;height:auto}

/* Header */
.site-header{background:var(--brand-blue);color:#fff;position:sticky;top:0;z-index:40;width:100%}
.site-header .wrap.header-inner{
  max-width:1200px;margin:0 auto;
  display:grid;
  grid-template-columns:auto 1fr auto auto;
  grid-template-areas:"brand nav search cart";
  align-items:center;
  gap:12px 16px;
  padding:12px 16px;
}
.site-brand{grid-area:brand;display:flex;align-items:center;gap:10px;min-width:0}
.site-brand img{height:36px;width:auto;display:block}
.primary-nav{grid-area:nav;justify-self:end;min-width:0}
.primary-nav ul{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:12px 18px;justify-content:flex-end}
.primary-nav a{color:#e5edff;text-decoration:none;font-weight:600;font-size:14px;white-space:nowrap}
.primary-nav a:hover{color:#fff;text-decoration:underline}
.header-search{grid-area:search;min-width:0}
.header-search form{display:flex;align-items:center;width:100%;max-width:280px;margin-left:auto}
.header-search input[type=search]{
  padding:10px 12px;border:none;border-radius:4px 0 0 4px;
  min-width:0;width:100%;flex:1;font-size:16px;
}
.header-search button{padding:10px 12px;border:none;border-radius:0 4px 4px 0;background:var(--brand-blue-3);color:#fff;cursor:pointer;flex-shrink:0}
.header-cart{grid-area:cart;position:relative;flex-shrink:0}
.header-cart a{color:#fff;text-decoration:none;font-weight:700;font-size:1.5rem;display:inline-flex;align-items:center;padding:4px 6px;position:relative}
.header-cart .cart-badge{position:absolute;top:2px;right:2px;width:8px;height:8px;background:#dc2626;border-radius:50%;border:1.5px solid var(--brand-blue);opacity:0;pointer-events:none;transition:opacity .2s ease}
.header-cart.header-cart--has-items .cart-badge{opacity:1}
.header-cart .count{background:#fff;color:var(--brand-blue);border-radius:999px;padding:2px 8px;margin-left:6px;font-weight:800}
.nav-toggle{
  display:none;
  grid-area:toggle;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:44px;height:44px;
  padding:10px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:8px;
  background:transparent;
  cursor:pointer;
}
.nav-toggle__bar{display:block;width:100%;height:2px;background:#fff;border-radius:2px}

/* Hero */
.hero{color:#fff;background:var(--brand-blue-2)}
.hero.has-image{background-size:cover;background-position:center}
.hero .overlay{background:linear-gradient(90deg, rgba(21,61,122,.97), rgba(21,61,122,.78))}
.hero .wrap{max-width:1200px;margin:0 auto;padding:56px 16px 46px;position:relative}
.hero h1{font-size:44px;line-height:1.12;margin:0 0 12px}
.hero p{font-size:18px;color:#e2e8f0;margin:0 0 24px}
.btn{display:inline-block;background:var(--brand-yellow);color:#111827;padding:12px 18px;border-radius:8px;font-weight:800;text-decoration:none}
.btn:hover{filter:brightness(.95)}

/* Sections */
.section{padding:26px 0}
.section .wrap{max-width:1200px;margin:0 auto;padding:0 16px}
.section h2{font-size:22px;margin:0 0 16px}

/* Categorias destaque */
.categories{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.category-card{background:#0f2f62;color:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.category-card a{display:flex;align-items:center;gap:16px;padding:16px;color:#fff;text-decoration:none}
.category-card .icon{width:56px;height:56px;border-radius:10px;background:#0b2a5a;display:flex;align-items:center;justify-content:center}
.category-card .icon img{width:56px;height:56px;border-radius:10px;object-fit:cover}
.category-card h3{margin:0}

/* Grade products – cards atrativos alinhados ao layout do site */
.products-grid, .woocommerce ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
.woocommerce ul.products li.product{
  background:var(--surface);
  border-radius:12px;
  overflow:visible;
  box-shadow:0 2px 12px rgba(15,23,42,.08), 0 1px 3px rgba(15,23,42,.06);
  padding:0;
  border:1px solid rgba(21,61,122,.08);
  transition:transform .25s ease, box-shadow .25s ease;
  display:flex;
  flex-direction:column;
}
.woocommerce ul.products li.product:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 24px rgba(15,23,42,.12), 0 4px 8px rgba(21,61,122,.1);
}
/* Card: link com grid para a área do título ter espaço e não encavalar no botão */
.woocommerce ul.products li.product .woocommerce-loop-product__link{
  display:grid;
  grid-template-rows:auto minmax(4.5em, auto);
  text-decoration:none;
  color:inherit;
  flex:0 0 auto;
  overflow:visible;
  min-height:0;
}
.woocommerce ul.products li.product .product-card-image{
  display:block;
  min-height:220px;
  background:linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
  overflow:hidden;
  border-radius:12px 12px 0 0;
}
.woocommerce ul.products li.product .product-card-image img{
  width:100%;
  height:100%;
  min-height:220px;
  object-fit:cover;
  display:block;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link .woocommerce-loop-category__title{display:none}
/* Título do card: permite várias linhas para não cortar nomes longos (sobrescreve qualquer ellipsis) */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title{
  font-size:15px;
  line-height:1.35;
  padding:14px 14px 6px;
  margin:0;
  font-weight:600;
  color:var(--text);
  display:block !important;
  overflow:visible !important;
  word-break:break-word;
  min-height:0;
  align-self:start;
  -webkit-line-clamp:unset !important;
  line-clamp:unset !important;
  text-overflow:clip !important;
  white-space:normal !important;
}
/* Bloco de produtos (All Products): título sem corte */
.wc-block-components-product-title,
.wc-block-components-product-name{
  display:block !important;
  overflow:visible !important;
  -webkit-line-clamp:unset !important;
  line-clamp:unset !important;
  text-overflow:clip !important;
  white-space:normal !important;
  word-break:break-word;
}
.woocommerce ul.products li.product .price{
  padding:0 14px 10px;
  font-size:1.05rem;
  font-weight:700;
  color:var(--brand-blue);
}
/* Botões no card – alinhados ao layout (azul como header, amarelo para CTA) */
.woocommerce ul.products li.product .buttons-wrap,
.woocommerce ul.products li.product .woocommerce-loop-product__link + .price{ margin-top:auto }
body .woocommerce ul.products li.product .price + .button,
body .woocommerce ul.products li.product a.button,
body.woocommerce ul.products li.product .price + .button,
body.woocommerce ul.products li.product a.button{
  margin:0 14px 14px;
  display:inline-block;
  padding:10px 16px;
  border-radius:8px;
  font-weight:700;
  font-size:13px;
  text-decoration:none;
  text-align:center;
  transition:filter .2s, transform .15s;
  border:none;
  cursor:pointer;
  line-height:1.4;
}
/* Link do produto (imagem + título) */
.woocommerce ul.products li.product a.woocommerce-loop-product__link{color:var(--text)}
.woocommerce ul.products li.product a.woocommerce-loop-product__link:hover{color:var(--brand-blue)}
.woocommerce ul.products li.product .added_to_cart{display:none !important}
/* Botão "Leia mais" / "Ver opções" – azul escuro */
body .woocommerce ul.products li.product a.button:not(.add_to_cart_button),
body.woocommerce ul.products li.product a.button:not(.add_to_cart_button),
body .woocommerce ul.products li.product a.button.product_type_external,
body .woocommerce ul.products li.product a.button.product_type_grouped,
body .woocommerce ul.products li.product a.button.product_type_variable{
  background:var(--brand-blue) !important;
  color:#fff !important;
  border:2px solid var(--brand-blue) !important;
  border-radius:8px !important;
}
body .woocommerce ul.products li.product a.button:not(.add_to_cart_button):hover,
body.woocommerce ul.products li.product a.button:not(.add_to_cart_button):hover{
  background:var(--brand-blue-3) !important;
  color:#fff !important;
  border-color:var(--brand-blue-3) !important;
  filter:brightness(1.05);
}
/* Botão "Adicionar ao carrinho" – amarelo destaque */
body .woocommerce ul.products li.product .button.add_to_cart_button,
body .woocommerce ul.products li.product .button.product_type_simple,
body.woocommerce ul.products li.product .button.add_to_cart_button,
body.woocommerce ul.products li.product .button.product_type_simple{
  background:var(--brand-yellow) !important;
  color:#0f172a !important;
  border:2px solid var(--brand-yellow) !important;
  border-radius:8px !important;
}
body .woocommerce ul.products li.product .button.add_to_cart_button:hover,
body .woocommerce ul.products li.product .button.product_type_simple:hover,
body.woocommerce ul.products li.product .button.add_to_cart_button:hover,
body.woocommerce ul.products li.product .button.product_type_simple:hover{
  filter:brightness(.95);
  transform:translateY(-1px);
}
.section .category-row{display:flex;align-items:center;justify-content:space-between;margin:12px 0}
.section .category-row .title{font-size:20px;font-weight:800}
.section .category-row .more{font-weight:700;color:var(--brand-blue);text-decoration:none}
.section .category-row .more:hover{text-decoration:underline}
hr.sep{border:none;border-top:1px solid rgba(21,61,122,.1);margin:28px 0 20px}

/* Página de loja: paginação */
.woocommerce-pagination{text-align:center;margin:32px 0 16px;display:flex;justify-content:center;gap:6px;flex-wrap:wrap}
.woocommerce-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border-radius:8px;font-weight:600;font-size:14px;text-decoration:none;color:var(--brand-blue);background:var(--surface);border:1px solid rgba(21,61,122,.15);transition:all .15s ease}
.woocommerce-pagination .page-numbers:hover{background:rgba(21,61,122,.06);border-color:var(--brand-blue)}
.woocommerce-pagination .page-numbers.current{background:var(--brand-blue);color:#fff;border-color:var(--brand-blue)}
.woocommerce-pagination .page-numbers.dots{border:none;background:transparent}

/* Breadcrumb */
.woocommerce-breadcrumb{display:none !important}

/* Single Product */
.single-product .product{display:grid;grid-template-columns:1fr 1fr;gap:24px}
@media(max-width:900px){.single-product .product{grid-template-columns:1fr}}
.woocommerce-tabs{background:var(--surface);border-radius:10px;padding:16px}

/* Produto sem estoque: esconder calculadora de frete quebrada (Melhor Envio etc.) */
.le-product-outofstock .product [class*="calculadora"],
.le-product-outofstock .product [id*="calculadora"],
.le-product-outofstock .summary [class*="calculadora"],
.le-product-outofstock .summary [class*="melhor"],
.le-product-outofstock .summary [class*="melhorenvio"],
.le-product-outofstock .product [class*="melhor"],
.le-product-outofstock .product [class*="melhorenvio"],
.le-product-outofstock .product [id*="melhor"],
.le-product-outofstock .product [id*="calcular-frete"],
.le-product-outofstock .product [id*="shipping-calculator"],
.le-product-outofstock .product [class*="shipping-calculator"],
.le-product-outofstock .product [class*="pi-shipping"],
.le-product-outofstock .product form.woocommerce-shipping-calculator,
.le-product-outofstock .product .shipping-calculator-form{display:none !important}

/* Listagem: produto sem estoque */
.product-card-unavailable{cursor:default;text-decoration:none;color:inherit}
.product-badge-unavailable{
  display:inline-block;margin-top:6px;padding:3px 10px;border-radius:999px;
  background:#fef2f2;color:#991b1b;font-size:12px;font-weight:700;
}
.product-unavailable-btn{
  display:inline-block;margin-top:8px;padding:8px 14px;border-radius:8px;
  background:#e2e8f0;color:#64748b;font-weight:600;font-size:13px;
  cursor:not-allowed;pointer-events:none;opacity:.9;
}

.le-product-outofstock .le-outofstock-notice{
  margin:12px 0 0;
  padding:12px 14px;
  border-radius:8px;
  background:#fef2f2;
  border:1px solid #fecaca;
  color:#991b1b;
  font-weight:600;
  font-size:14px;
}

.le-product-outofstock .product .stock.out-of-stock{
  margin-bottom:8px;
}

/* Carrinho: esconder secção "New in store" e produtos novos */
.wp-block-woocommerce-empty-cart-block .wp-block-separator.is-style-dots,
.wp-block-woocommerce-empty-cart-block .wp-block-heading.has-text-align-center:not(.wc-block-cart__empty-cart__title),
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new{display:none !important}

/* ========== Página do carrinho – layout estruturado e profissional ========== */
.woocommerce-cart .entry-content,
.woocommerce-cart main,
.woocommerce-cart .wp-block-post-content{max-width:1200px;margin:0 auto;padding:26px 16px}
.wp-block-woocommerce-cart{max-width:100% !important;margin:0}
/* Uma coluna: itens em cima, total/cupom/botão logo abaixo no mesmo bloco */
.wp-block-woocommerce-filled-cart-block{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  align-items:stretch;
  background:var(--surface);
  border-radius:12px;
  box-shadow:0 2px 12px rgba(15,23,42,.08), 0 1px 3px rgba(15,23,42,.06);
  border:1px solid rgba(21,61,122,.08);
  padding:0;
  overflow:hidden;
}
@media(max-width:900px){
  .wp-block-woocommerce-filled-cart-block{padding:16px}
}
.wp-block-woocommerce-cart-items-block{
  padding:20px 20px 20px;
  border-right:none;
  border-bottom:1px solid rgba(21,61,122,.06);
  min-height:0;
}
@media(max-width:900px){
  .wp-block-woocommerce-cart-items-block{padding:16px}
}
.woocommerce-cart .wc-block-cart-items__table{width:100%;border-collapse:collapse}
.woocommerce-cart .wc-block-cart-items__header th{
  color:var(--brand-blue);
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  padding:0 0 12px 0;
  border-bottom:2px solid rgba(21,61,122,.12);
  text-align:left;
}
.woocommerce-cart .wc-block-cart-items__header th:last-child{text-align:right}
/* Esconde coluna TOTAL da tabela: total por linha fica redundante; usa só "Total estimado" abaixo */
.woocommerce-cart .wc-block-cart-items__header th:last-child,
.woocommerce-cart .wc-block-cart-items__row td:last-child{display:none}
.woocommerce-cart .wc-block-cart-items__row{
  border-bottom:1px solid rgba(21,61,122,.08);
  transition:background .15s ease;
}
.woocommerce-cart .wc-block-cart-items__row:hover{background:rgba(21,61,122,.02)}
.woocommerce-cart .wc-block-cart-items__row:last-child{border-bottom:none}
.woocommerce-cart .wc-block-cart-items__row td{
  padding:14px 0;
  vertical-align:top;
  border:none;
  background:transparent;
}
.woocommerce-cart .wc-block-cart-items__row td:first-child{width:1%;padding-right:16px;vertical-align:top}
.woocommerce-cart .wc-block-cart-items__row td:last-child{text-align:right;white-space:nowrap;font-weight:700;color:var(--brand-blue);padding-left:16px;vertical-align:top}
.woocommerce-cart .wc-block-cart-item__image .wc-block-components-product-image{
  background:linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius:8px;
  overflow:hidden;
  width:56px;
  min-width:56px;
  height:56px;
  display:block;
}
.woocommerce-cart .wc-block-cart-item__image .wc-block-components-product-image img{width:100%;height:100%;object-fit:cover}
/* Área do produto: nome e preço em cima; quantidade + Remover item na mesma linha, alinhados */
.woocommerce-cart .wc-block-cart-item__product{
  min-width:0;
  padding-right:16px;
  max-width:100%;
}
.woocommerce-cart .wc-block-cart-item__product .wc-block-cart-item__wrap{
  display:flex;
  flex-direction:column;
  gap:0;
  max-width:100%;
  min-width:0;
}
.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name,
.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name a{
  margin:0;
  word-break:break-word;
  line-height:1.4;
  font-size:14px;
}
.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name a{display:block}
.woocommerce-cart .wc-block-cart-item__product .wc-block-cart-item__prices{
  font-size:14px;
  margin:4px 0 0 0;
}
.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-metadata{
  margin:0;
}
/* Quantidade em cima; Remover item logo abaixo, alinhado ao mesmo bloco */
.woocommerce-cart .wc-block-cart-item__quantity{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  margin:10px 0 0 0;
  padding-top:10px;
  border-top:1px solid rgba(21,61,122,.08);
}
.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector{
  flex:0 0 auto;
}
.woocommerce-cart .wc-block-cart-item__quantity .wc-block-cart-item__remove-link{
  display:inline-flex;
  align-items:center;
  margin:0;
  padding:2px 0;
}
.wp-block-woocommerce-cart-totals-block{
  background:var(--bg);
  padding:24px 24px 28px;
  border-left:none;
  border-top:1px solid rgba(21,61,122,.08);
  display:flex;
  flex-direction:column;
  gap:0;
  align-items:stretch;
  text-align:left;
}
@media(max-width:900px){
  .wp-block-woocommerce-cart-totals-block{padding:20px 16px}
}
.wp-block-woocommerce-cart-order-summary-block,
.wp-block-woocommerce-checkout-order-summary-block{
  display:flex;
  flex-direction:column;
  gap:0;
  align-items:stretch;
  text-align:left;
}
.wp-block-woocommerce-cart-order-summary-heading-block,
.wp-block-woocommerce-checkout-order-summary-heading-block{
  margin-bottom:12px;
  padding-bottom:12px;
  border-bottom:2px solid rgba(21,61,122,.1);
  text-align:left;
}
.wp-block-woocommerce-cart-order-summary-heading-block .wc-block-components-title,
.wp-block-woocommerce-checkout-order-summary-heading-block .wc-block-components-title{text-align:left}
.wp-block-woocommerce-cart-order-summary-block > *,
.wp-block-woocommerce-checkout-order-summary-block > *{margin-top:0;margin-bottom:0}
.wp-block-woocommerce-cart-order-summary-block > * + *,
.wp-block-woocommerce-checkout-order-summary-block > * + *{margin-top:12px}
.wp-block-woocommerce-cart .wp-block-heading:first-child,
.wp-block-woocommerce-cart h1.wp-block-post-title,
.woocommerce-cart .entry-title,
.wp-block-woocommerce-checkout .wp-block-heading:first-child,
.wp-block-woocommerce-checkout h1.wp-block-post-title,
.woocommerce-checkout .entry-title{
  font-size:22px;
  font-weight:700;
  color:var(--text);
  margin:0 0 16px;
  letter-spacing:-.01em;
  padding-bottom:12px;
  border-bottom:2px solid rgba(21,61,122,.1);
}
.wp-block-woocommerce-cart .wc-block-components-title,
.wp-block-woocommerce-cart-order-summary-heading-block .wc-block-components-title,
.wp-block-woocommerce-checkout .wc-block-components-title,
.wp-block-woocommerce-checkout-order-summary-heading-block .wc-block-components-title{
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.03em;
  color:var(--brand-blue);
  margin:0;
  white-space:nowrap;
  text-align:left;
}
.wp-block-woocommerce-cart .wc-block-components-product-name a,
.wp-block-cart-item__product .wc-block-components-product-name a{
  color:var(--brand-blue);
  font-weight:600;
  text-decoration:none;
}
.wp-block-woocommerce-cart .wc-block-components-product-name a:hover{
  color:var(--brand-blue-3);
  text-decoration:underline;
}
.wp-block-woocommerce-cart .wc-block-components-formatted-money-amount,
.wp-block-woocommerce-cart .price .amount{color:var(--brand-blue);font-weight:700}
.wp-block-woocommerce-cart .wc-block-cart-item__remove-link{
  display:inline-block;
  padding:4px 10px;
  font-size:12px;
  font-weight:600;
  color:var(--muted);
  text-decoration:none;
  border:1px solid rgba(21,61,122,.15);
  border-radius:6px;
  background:var(--surface);
  transition:color .2s, border-color .2s, background .2s;
}
.wp-block-woocommerce-cart .wc-block-cart-item__remove-link:hover{
  color:#b91c1c;
  border-color:rgba(185,28,28,.3);
  background:rgba(185,28,28,.04);
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector{
  border:1px solid rgba(21,61,122,.2);
  border-radius:6px;
  overflow:hidden;
  width:auto;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__button{
  background:var(--bg);
  color:var(--brand-blue);
  border:none;
  font-weight:700;
  min-width:32px;
  padding:4px 0;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__button:hover{
  background:rgba(21,61,122,.08);
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__input{
  border-left:1px solid rgba(21,61,122,.15);
  border-right:1px solid rgba(21,61,122,.15);
  font-weight:600;
  color:var(--text);
  padding:4px 0;
  min-width:32px;
}
.wp-block-woocommerce-proceed-to-checkout-block{margin-top:12px}
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button,
.wp-block-woocommerce-proceed-to-checkout-block a.wc-block-components-button{
  display:inline-block;
  width:100%;
  text-align:center;
  padding:12px 16px;
  font-size:14px;
  font-weight:700;
  border-radius:8px;
  text-decoration:none;
  border:2px solid var(--brand-yellow);
  background:var(--brand-yellow) !important;
  color:#0f172a !important;
  text-transform:none;
  letter-spacing:normal;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  transition:filter .2s ease;
  box-sizing:border-box;
}
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block a.wc-block-components-button:hover{
  filter:brightness(.96);
  color:#0f172a !important;
}
/* Botão Finalizar pedido (checkout): amarelo no mesmo estilo do site */
.wp-block-woocommerce-checkout-actions-block .wc-block-components-button,
.wp-block-woocommerce-checkout-actions-block a.wc-block-components-button{
  background:var(--brand-yellow) !important;
  color:#0f172a !important;
  border:2px solid var(--brand-yellow) !important;
  font-weight:700;
  border-radius:8px;
  transition:filter .2s ease;
}
.wp-block-woocommerce-checkout-actions-block .wc-block-components-button:hover,
.wp-block-woocommerce-checkout-actions-block a.wc-block-components-button:hover{
  filter:brightness(.96);
  color:#0f172a !important;
}
/* Cupom (carrinho e checkout): sempre visível, campo e botão alinhados */
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-panel__content,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__content,
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__content,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__content{
  display:block !important;
  visibility:visible !important;
  height:auto !important;
  overflow:visible !important;
  min-height:0;
}
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-panel__content[hidden],
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__content[hidden]{display:block !important}
.wp-block-woocommerce-cart-order-summary-coupon-form-block > .wc-block-components-panel,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block > .wc-block-components-panel{
  display:flex;
  flex-direction:column;
  gap:0;
  width:100%;
}
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-chip,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-chip,
.wp-block-woocommerce-cart-order-summary-coupon-form-block > .wc-block-components-panel .wc-block-components-panel__button,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block > .wc-block-components-panel .wc-block-components-panel__button{
  color:var(--brand-blue);
  font-weight:600;
  font-size:14px;
  white-space:nowrap;
  margin:0 0 10px 0;
  padding:0;
  line-height:1.4;
}
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-panel__button-icon,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button-icon{display:none !important}
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-panel__button,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button{padding:0 !important}
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form{
  display:flex !important;
  flex-direction:row;
  flex-wrap:nowrap;
  gap:10px;
  margin:0;
  width:100%;
  align-items:center;
  padding-right:12px;
  box-sizing:border-box;
}
/* Wrapper do campo: input mais estreito para caber no espaço com o botão */
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-form,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-form,
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-text-input,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-text-input,
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input{
  flex:1 1 0 !important;
  min-width:80px !important;
  max-width:160px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  padding:0 !important;
}
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input input,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input input{
  display:block !important;
  visibility:visible !important;
  width:100% !important;
  box-sizing:border-box;
}
/* Campo de texto do cupom: sempre visível; alinhamento correto para valor e placeholder não se sobreporem */
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form input[type="text"],
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form input[type="text"],
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-text-input input,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-text-input input,
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input input,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input input{
  display:block !important;
  visibility:visible !important;
  width:100% !important;
  min-width:0;
  height:42px;
  padding:12px 14px !important;
  margin:0;
  font-size:14px;
  line-height:1.25 !important;
  color:#0f172a;
  background:#fff !important;
  border:1px solid rgba(21,61,122,.25) !important;
  border-radius:8px;
  box-shadow:none !important;
  outline:none;
  appearance:none;
  -webkit-appearance:none;
  box-sizing:border-box;
  vertical-align:middle;
}
/* Esconde o rótulo "Digite o código" (carrinho e checkout); o placeholder do input basta */
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form label,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form label,
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-text-input label,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-text-input label{
  display:none !important;
}
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form input[type="text"]:focus,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form input[type="text"]:focus,
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-text-input input:focus,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-text-input input:focus,
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input input:focus,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input input:focus{
  border-color:var(--brand-blue) !important;
  box-shadow:0 0 0 2px rgba(21,61,122,.12) !important;
}
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form button,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form button,
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button{
  flex:0 0 auto;
  min-width:80px;
  height:42px;
  padding:0 18px;
  margin:0;
  font-size:14px;
  font-weight:600;
  line-height:42px;
  border-radius:8px;
  background:var(--brand-blue) !important;
  color:#fff !important;
  border:1px solid var(--brand-blue) !important;
  white-space:nowrap;
  cursor:pointer;
  transition:filter .15s ease;
}
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form button:hover,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form button:hover,
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:hover,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:hover{
  filter:brightness(1.05);
}
.wp-block-woocommerce-cart-order-summary-coupon-form-block a:hover,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block a:hover{text-decoration:underline}
/* Totais do resumo (carrinho e checkout): cada linha com rótulo à esquerda e valor à direita, alinhados */
.wp-block-woocommerce-cart-order-summary-totals-block,
.wp-block-woocommerce-checkout-order-summary-totals-block{margin-top:8px}
.wp-block-woocommerce-cart-order-summary-totals-block .wc-block-components-totals-item,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:10px 12px 10px 12px;
  border-bottom:1px solid rgba(21,61,122,.06);
}
.wp-block-woocommerce-cart-order-summary-totals-block .wc-block-components-totals-item:last-child,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-item:last-child{border-bottom:none}
.wp-block-woocommerce-cart-order-summary-totals-block .wc-block-components-totals-item__label,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-item__label{
  color:var(--text);
  font-weight:500;
  font-size:14px;
  white-space:nowrap;
  flex-shrink:0;
}
.wp-block-woocommerce-cart-order-summary-totals-block .wc-block-components-totals-item__value,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-item__value{
  color:var(--text);
  font-weight:600;
  font-size:14px;
  white-space:nowrap;
  text-align:right;
  min-width:5ch;
  flex-shrink:0;
}
.wp-block-woocommerce-cart-order-summary-totals-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-weight:600;font-size:15px;color:var(--text)}
.wp-block-woocommerce-cart-order-summary-totals-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-size:1.1rem;font-weight:700;color:var(--brand-blue)}

/* Resumo do pedido: alinhar itens (imagem, descrição e preço na mesma linha) */
.wp-block-woocommerce-cart-order-summary-block .wc-block-components-order-summary-item,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 0;
  min-height:0;
}
.wp-block-woocommerce-cart-order-summary-block .wc-block-components-order-summary-item__description,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__description{
  flex:1;
  min-width:0;
  margin:0;
}
.wp-block-woocommerce-cart-order-summary-block .wc-block-components-order-summary-item__total-price,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__total-price{
  flex-shrink:0;
  align-self:center;
  text-align:right;
  font-weight:700;
  color:var(--brand-blue);
  white-space:nowrap;
}
.wp-block-woocommerce-cart-order-summary-block .wc-block-components-order-summary-item .wc-block-components-product-image,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item .wc-block-components-product-image{
  flex-shrink:0;
  align-self:center;
}

/* Checkout: espaçamento entre campos do endereço (Nome, Sobrenome, País, etc.) */
.wp-block-woocommerce-checkout .wc-block-components-address-form{
  gap:14px 18px !important;
}
.wp-block-woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form,
.wp-block-woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-address-form{
  gap:14px 18px !important;
}

/* Carrinho: esconder Calcule o frete e Formas de pagamento (blocos sem estilização adequada) */
.wp-block-woocommerce-cart-order-summary-shipping-block,
.wp-block-woocommerce-cart-express-payment-block,
.wp-block-woocommerce-cart-accepted-payment-methods-block{display:none !important}

/* Página Política de Privacidade – layout alinhado ao site */
.privacy-policy-page .section .wrap{max-width:800px;margin:0 auto}
.privacy-policy-page .section article.card,
.privacy-policy-page main .wrap .card{
  background:var(--surface);
  border-radius:12px;
  box-shadow:0 2px 12px rgba(15,23,42,.08), 0 1px 3px rgba(15,23,42,.06);
  border:1px solid rgba(21,61,122,.08);
  padding:32px 28px 40px;
  margin:0;
}
.privacy-policy-page .section h1{
  font-size:28px;
  font-weight:700;
  color:var(--brand-blue);
  margin:0 0 8px;
  padding-bottom:16px;
  border-bottom:2px solid rgba(21,61,122,.12);
  letter-spacing:-.02em;
}
.privacy-policy-page .section h2{
  font-size:18px;
  font-weight:700;
  color:var(--brand-blue);
  margin:28px 0 10px;
}
.privacy-policy-page .section h2:first-of-type{margin-top:0}
.privacy-policy-page .section p{
  font-size:15px;
  line-height:1.65;
  color:var(--text);
  margin:0 0 14px;
}
.privacy-policy-page .section ul{
  margin:0 0 14px 22px;
  padding:0;
}
.privacy-policy-page .section li{
  margin-bottom:6px;
  line-height:1.55;
  font-size:15px;
  color:var(--text);
}
.privacy-policy-page .section a{color:var(--brand-blue);font-weight:600}
.privacy-policy-page .section a:hover{text-decoration:underline}

/* Minha Conta - página única (dados, endereços, pagamento) */
.account-panel-page .section .wrap.container{max-width:1200px}
.account-single-wrap{padding:28px 0 40px}
.account-single{background:var(--surface);border-radius:12px;padding:32px 36px;box-shadow:0 1px 3px rgba(0,0,0,.06);border:1px solid rgba(21,61,122,.08)}
@media (max-width:640px){.account-single{padding:20px 18px}}

.account-single__page{max-width:960px}
.account-single__logout{margin:0 0 28px;font-size:14px;color:var(--muted)}
.account-single__logout a{color:var(--brand-blue);font-weight:600;text-decoration:none}
.account-single__logout a:hover{text-decoration:underline}
.account-single__section{margin:0 0 36px;padding:0 0 32px;border-bottom:1px solid #e2e8f0}
.account-single__section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.account-single__section-title{margin:0 0 18px;font-size:18px;font-weight:700;color:var(--text)}

.account-form .woocommerce-form-row{margin-bottom:18px}
.account-form label{display:block;margin-bottom:6px;font-weight:600;font-size:14px;color:var(--text)}
.account-form .input-text{width:100%;max-width:400px;padding:14px 16px;border:1px solid #cbd5e1;border-radius:8px;font-size:16px}
.account-form .input-text:focus{outline:none;border-color:var(--brand-blue);box-shadow:0 0 0 2px rgba(21,61,122,.15)}
.account-form__row--two{display:block;gap:0}
.account-form__row--two .form-row{margin-bottom:18px}
.account-form__row--two .form-row:last-child{margin-bottom:0}
.account-form__row--two .input-text{max-width:none;min-width:0;width:100%;padding:14px 16px;font-size:16px;box-sizing:border-box}
@media (max-width:520px){.account-form__row--two{grid-template-columns:1fr}}
.account-form__description{display:block;margin-top:4px;font-size:13px;color:var(--muted)}
.account-form__fieldset{border:1px solid #e2e8f0;border-radius:8px;padding:20px;margin:24px 0 20px}
.account-form__fieldset legend{font-weight:700;font-size:15px;color:var(--text);padding:0 8px;margin-left:-4px}
.account-form__submit{margin:24px 0 0}
.account-single .button--primary,
.account-single .button.alt,
.account-form .button--primary,
.woocommerce-account .account-single button.woocommerce-Button,
.woocommerce-account .account-single .account-form button[type="submit"],
.woocommerce-account .account-single .account-address-fields button[type="submit"]{background:var(--brand-yellow) !important;color:#0f172a !important;padding:12px 24px;border:none;border-radius:8px;font-weight:700;font-size:15px;cursor:pointer}
.account-single .button--primary:hover,
.account-single .button.alt:hover,
.account-form .button--primary:hover,
.woocommerce-account .account-single button.woocommerce-Button:hover,
.woocommerce-account .account-single .account-form button[type="submit"]:hover,
.woocommerce-account .account-single .account-address-fields button[type="submit"]:hover{filter:brightness(.96)}

.account-form__profile-photo{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #e2e8f0}
.account-form__photo-label{display:block;margin-bottom:10px;font-weight:600;font-size:14px;color:var(--text)}
.account-form__photo-row{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.account-form__photo-preview{width:96px;height:96px;border-radius:50%;overflow:hidden;background:#e2e8f0;flex-shrink:0}
.account-form__photo-img{width:100%;height:100%;object-fit:cover}
.account-form__photo-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:36px;font-weight:700;color:var(--brand-blue);background:#e0e7ff}
.account-form__photo-upload{min-width:0}
.account-form__file{font-size:14px;margin-bottom:6px}
.account-form__photo-hint{display:block;font-size:12px;color:var(--muted)}

.account-address-fields .woocommerce-address-fields__field-wrapper .form-row{margin-bottom:16px}
.account-address-fields label{display:block;margin-bottom:6px;font-weight:600;font-size:14px;color:var(--text)}
.account-address-fields .input-text,.account-address-fields select{width:100%;max-width:400px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:15px}
.account-address-fields .input-text:focus,.account-address-fields select:focus{outline:none;border-color:var(--brand-blue)}

.woocommerce-MyAccount-paymentMethods{width:100%;border-collapse:collapse;margin:0 0 16px}
.woocommerce-MyAccount-paymentMethods th,.woocommerce-MyAccount-paymentMethods td{padding:12px 14px;text-align:left;border-bottom:1px solid #e2e8f0}
.woocommerce-MyAccount-paymentMethods th{font-weight:700;font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}
.woocommerce-MyAccount-paymentMethods td{font-size:15px;color:var(--text)}
.woocommerce-MyAccount-paymentMethods .button{display:inline-block;padding:8px 14px;border-radius:6px;font-size:13px;font-weight:600;text-decoration:none;margin-right:8px}
.woocommerce-MyAccount-paymentMethods .button.delete{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.woocommerce-MyAccount-paymentMethods .button.delete:hover{background:#fee2e2}
.woocommerce-account .woocommerce-info{background:#eff6ff;border-left:4px solid var(--brand-blue);padding:12px 16px;border-radius:0 8px 8px 0;margin:0 0 16px}
.woocommerce-account .woocommerce-PaymentMethods.payment_methods{list-style:none;margin:0 0 20px;padding:0}
.woocommerce-account .woocommerce-PaymentMethod{list-style:none;margin:0 0 12px;padding:12px 16px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}
.woocommerce-account .woocommerce-PaymentMethod label{font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px}
.woocommerce-account .payment_box{margin-top:12px;padding:14px;background:#fff;border-radius:6px;border:1px solid #e2e8f0}
.woocommerce-account #add_payment_method .form-row{margin-top:20px}
.woocommerce-account #add_payment_method .button.alt{background:var(--brand-yellow);color:#0f172a;padding:12px 24px;border:none;border-radius:8px;font-weight:700;cursor:pointer}
.woocommerce-account #add_payment_method .button.alt:hover{filter:brightness(.96)}
.woocommerce-account .account-single .woocommerce h2{margin:0 0 18px;font-size:18px;font-weight:700;color:var(--text)}

/* Footer */
.site-footer{background:#0b2a5a;color:#cbd5e1;margin-top:20px}
.site-footer .wrap{max-width:1200px;margin:0 auto;padding:24px 16px;font-size:14px}
.site-footer__credit{margin:8px 0 0;font-size:12px;opacity:.9}
.site-footer__credit a{color:#94a3b8;text-decoration:none}
.site-footer__credit a:hover{color:#fff;text-decoration:underline}

/* Mobile / tablet */
@media (max-width:992px){
  .site-header .wrap.header-inner{
    grid-template-columns:1fr auto auto;
    grid-template-areas:
      "brand toggle cart"
      "nav nav nav"
      "search search search";
    gap:10px 12px;
  }
  .nav-toggle{display:flex}
  .primary-nav{
    justify-self:stretch;
    display:none;
    background:rgba(0,0,0,.15);
    border-radius:8px;
    padding:6px 10px;
  }
  .primary-nav.is-open{display:block}
  .primary-nav ul{flex-direction:column;align-items:stretch;gap:2px}
  .primary-nav a{display:block;padding:10px 8px;white-space:normal}
  .header-search form{max-width:none;margin-left:0}
}
@media (max-width:768px){
  .hero .wrap{padding:32px 16px 28px}
  .hero h1{font-size:clamp(24px,7vw,36px)}
  .hero p{font-size:16px;margin-bottom:18px}
  .categories{grid-template-columns:1fr}
  .products-grid,.woocommerce ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .section .category-row{flex-wrap:wrap;gap:8px}
  .section .category-row .title{font-size:18px}
  .section{padding:18px 0}
}
@media (max-width:480px){
  .site-brand img{height:30px}
  .products-grid,.woocommerce ul.products{grid-template-columns:1fr}
}
