:root {
  --vermelho: #d92121;
  --cinza: #f5f5f5;
  --texto: #222;
  --fonte: 'Poppins', sans-serif;
}
* {box-sizing: border-box;}
body {
  margin: 0;
  font-family: var(--fonte);
  background: #f3f4f6;
  color: var(--texto);
}
.container {
  max-width: 1400px;
  margin: auto;
  padding: 0 20px;
}
.site-header {
  background: #0059ad;
  color: #fff;
  padding: 15px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {height: 50px;}
.search {
  display: flex;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
  margin: 0 20px;
}
.search input {
  flex: 1;
  border: none;
  padding: 10px;
  outline: none;
}
.search button {
  background: var(--vermelho);
  border: none;
  color: #fff;
  width: 45px;
  cursor: pointer;
}
.header-actions a {
  color: #fff;
  font-size: 20px;
  margin-left: 15px;
}
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.card-produto {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;

  transition: transform .2s;
}
.card-produto:hover {transform: translateY(-5px);}
.card-produto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-info {
  padding: 15px;
}
.card-info h3 {
  margin: 0 0 10px;
  font-size: 16px;
}
.card-info p {
  margin: 0;
  font-size: 13px;
  color: #666;
}
.card-info .preco {
  color: var(--vermelho);
  font-weight: 600;
  font-size: 18px;
  margin-top: 10px;
}
.btn-comprar {
  display: inline-block;
  background: var(--vermelho);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  margin-top: 10px;
}
.site-footer {
  background: #111;
  color: #bbb;
  text-align: center;
  padding: 25px 0;
  margin-top: 50px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  padding: 15px;
  text-decoration: none;
  color: #111;
}

.product-card:hover {


}

.image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #FFD600;
  color: #000;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
}

.product-title {
  font-size: 16px;
  font-weight: 800;
  margin: 10px 0 5px;
  min-height: 34px;
  line-height: 1.2;
}

.short-desc {
  color: #737373;
    font-size: 13px;
    margin-bottom: 5px;
    font-weight: 100;
	margin-bottom: 10px;
	margin-top: 0px;
	min-height: 64px;
}

.sku {
  font-weight: 600;
  font-size: 14px;
  color: #000;
  margin-bottom: 10px;
}

.price-box {
  margin-top: 22px;
}

.current-price {
  font-size: 24px;
  font-weight: 800;
  color: #fa0000;
  letter-spacing: -1px;
}

.current-price span {
  font-size: 14px;
  margin-left: 2px;
  font-weight:400;
}

.old-price {
  font-size: 14px;
  color: #000;
  font-weight:400;
  text-decoration: line-through;
  margin-top: -2px;
  padding-left: 1.5px;
}

.buy-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #ff0000;
  border: none;
  border-radius: 8px;
  color: #fff;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.buy-btn i {
  font-size: 1.2rem;
}

.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  background: #e00000;
}
.buy-btn .fa-layers {
  position: relative;
  font-size: 1.2rem;
  line-height: 1;
}

.buy-btn .fa-cart-shopping {
  position: relative;
  z-index: 1;
}

.buy-btn .fa-plus {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 0.6rem;
  z-index: 2;
}
/* garante o aspeto do ícone estilo Mauser (branco, centrado) */
.icon-cart-plus {
  width: 26px;
  height: 26px;
  display: block;
  color: #fff;          /* stroke branco */
  pointer-events: none; /* clique passa para o botão */
}
.cart-icon {
  width: 28px;   /* antes 26px */
  height: 28px;
  display: block;
  margin: auto;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.search-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #222;
  transition: background 0.2s;
}

.search-card:hover {
  background: #f9f9f9;
}

.search-card img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.search-card .info .title {
  font-weight: 600;
  font-size: 0.95rem;
}

.search-card .info .price {
  color: #c00;
  font-size: 0.9rem;
  font-weight: 600;
}
/* === Search compacta + dropdown === */
.site-header .search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ddd;
  width: 320px;            /* <- muda aqui a largura */
  max-width: 100%;
  position: relative;
}

.site-header .search input {
  flex: 1;
  border: 0;
  padding: 8px 10px;
  font-size: 0.95rem;
  outline: none;
}

.site-header .search button {
  background: #d80000;
  color: #fff;
  border: 0;
  padding: 8px 12px;
  cursor: pointer;
  transition: 0.2s;
}
.site-header .search button:hover { background: #b40000; }

/* Dropdown */
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  max-height: 420px;
  overflow-y: auto;
  display: none;
  z-index: 99999; /* antes estava 9999 */
}
.search {
  overflow: visible !important;
  position: relative;
}


/* Cartão de resultado */
.search-card {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #f2f2f2;
  text-decoration: none;
  color: #222;
  transition: background .15s ease;
}
.search-card:last-child { border-bottom: 0; }
.search-card:hover { background: #fafafa; }

.search-card img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f5f5;
}

.search-card .info { display: grid; gap: 4px; align-content: center; }
.search-card .title { font-weight: 600; font-size: .95rem; line-height: 1.2; }
.search-card .price { color: #c00; font-size: .92rem; font-weight: 700; }
.search-card .price .old { color:#6b7280; text-decoration: line-through; font-weight: 500; margin-left: 6px; }


/* Ícone de cópia do SKU */
.copy-icon {
  font-size: 0.9rem;
  color: #aaa;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s ease;
}

.sku-line:hover .copy-icon {
  opacity: 1;
  color: #666;
}

.copy-icon.copied {
  color: #e00;
  animation: blinkRed 0.4s ease;
}

@keyframes blinkRed {
  0% { transform: scale(1); color: #e00; }
  50% { transform: scale(1.3); color: #ff3333; }
  100% { transform: scale(1); color: #e00; }
}
/* --- Ícone de cópia de SKU --- */
.copy-icon {
  font-size: 0.9rem;
  color: #aaa;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s ease;
}

.sku-line:hover .copy-icon {
  opacity: 1;
  color: #666;
}

.copy-icon.copied {
  color: #e00;
  animation: blinkRed 0.4s ease;
}

@keyframes blinkRed {
  0% { transform: scale(1); color: #e00; }
  50% { transform: scale(1.3); color: #ff3333; }
  100% { transform: scale(1); color: #e00; }
}
/* Estilo dos links do título do produto */
.product-title-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.product-title-link:hover .product-title {
  color: var(--vermelho, #c00);
}

.product-title {
  font-size: 18px;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.5px;
  margin: 8px 0;
  transition: color 0.2s ease;
}
.carrinho-page {
  margin: 40px auto;
  max-width: 900px;
}

.carrinho-tabela {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.carrinho-tabela th,
.carrinho-tabela td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.carrinho-tabela img.mini-img {
  width: 60px;
  height: auto;
  border-radius: 6px;
}

.carrinho-tabela input.qtd {
  width: 60px;
  text-align: center;
}

.btn-finalizar {
  display: inline-block;
  margin-top: 20px;
  background: #c20000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.total-final {
  margin-top: 15px;
  font-size: 1.2em;
  text-align: right;
}

.remover {
  background: none;
  border: none;
  color: #c20000;
  cursor: pointer;
  font-size: 1.1em;
}

/* === MINI CARRINHO HEADER === */
.cart-menu {
  position: relative;
}

/* Mini janela */
.cart-preview {
  position: absolute;
  right: 0;
  top: 45px;
  width: 360px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
  display: none;
  z-index: 10000;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease;
}

/* Faixa invisível entre o ícone e o menu (para não perder hover) */
.cart-menu::before {
  content: "";
  position: absolute;
  top: 25px;
  right: 0;
  width: 100%;
  height: 25px;
  background: transparent;
}

/* Mostrar ao hover */
.cart-menu:hover .cart-preview,
.cart-preview:hover {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

/* Delay para o fecho suave */
.cart-menu .cart-preview {
  pointer-events: auto;
  transition-delay: 0s;
}

.cart-menu:not(:hover) .cart-preview {
  transition-delay: 0.3s;
}

/* Itens do mini carrinho */
.cp-items {
  max-height: 360px;
  overflow: auto;
}

.cp-item {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f1f1;
}

.cp-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.cp-item .cp-name {
  font-weight: 600;
  line-height: 1.2;
  font-size: .9rem;
}

.cp-item .cp-meta {
  color: #666;
  font-size: .85rem;
  margin-top: 2px;
}

.cp-footer {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid #eee;
}

.cp-total {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
}

.cp-total span {
  color: #666;
  margin-right: 6px;
}

.cp-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.cp-buttons a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
}

.cp-go {
  background: #c20000;
}

.cp-checkout {
  background: #0d9488;
}
/* ===========================
   SLIDER PRINCIPAL (home)
   Versão alinhada com .slide-wrapper + .slide-img
=========================== */

.slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #000;
  z-index: 0;
}

/* altura responsiva do bloco dos slides */
.slides {
  position: relative;
  width: 100%;
  height: clamp(260px, 36vw, 360px); /* podes subir/descer o 520 se quiseres mais alto/baixo */
}

/* cada slide (wrapper) */
.slides .slide-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.slides .slide-wrapper.active {
  opacity: 1;
  z-index: 1;
}

/* imagem do slide */
.slides .slide-wrapper img,
.slides .slide-img {
  width: 100%;
  height: 100%;
  display: block;
  object-position: center;
}

/* textos por cima da imagem (já usados no bsauto.css, mas reforço aqui) */
.slide-text-container {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 7%;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0,0,0,.7);
  z-index: 2;
}

.slide-text-container .t1 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.slide-text-container .t2 {
  font-size: clamp(16px, 2vw, 22px);
  margin-bottom: 6px;
}

.slide-text-container .t3 {
  font-size: clamp(14px, 1.6vw, 18px);
}

/* botão opcional no slide */
.slide-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 9px 22px;
  border-radius: 40px;
  background: #ff0000;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

/* temas: posição do texto */
.theme-1 { text-align: left;  align-items: flex-start;  }
.theme-2 { text-align: center;align-items: center;      }
.theme-3 { text-align: right; align-items: flex-end;    }
.theme-4 { text-align: center;align-items: center;      }

/* Botões de navegação */
.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.slide-nav:hover {
  background: rgba(0,0,0,0.75);
}

.slide-nav.prev { left: 15px; }
.slide-nav.next { right: 15px; }

/* --- Responsivo --- */
@media (max-width: 1024px) {
  .slides { height: 420px; }
}

@media (max-width: 768px) {
  .slides { height: 320px; }
}

@media (max-width: 480px) {
  .slides { height: 240px; }
}
/* ============================
   Animações dos textos do slide
============================ */

/* Estado inicial (antes de .active) */
.slide-text-container .t1,
.slide-text-container .t2,
.slide-text-container .t3,
.slide-text-container .t4,
.slide-text-container .t5,
.slide-text-container .t6,
.slide-text-container .slide-btn {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .9s ease, transform .9s ease;
}

/* Quando o slide está ativo → anima */
.slide-wrapper.active .t1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .2s;
}

.slide-wrapper.active .t2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .45s;
}

.slide-wrapper.active .t3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .7s;
}
.slide-wrapper.active .t4 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .2s;
}

.slide-wrapper.active .t5 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .45s;
}

.slide-wrapper.active .t6 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .7s;
}

.slide-wrapper.active .slide-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .95s;
}
@keyframes slideLeft {
  0% { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeZoom {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.tema-efeito-1 {
  animation: slideLeft 0.5s ease-out forwards;
  font-size: 50px;
}
.tema-efeito-2 {
  animation: slideRight 0.5s ease-out forwards;
  font-size: 10px;
}
.tema-efeito-3 {
  animation: slideDown 0.5s ease-out forwards;
  font-size: 10px;
}
.tema-efeito-4 {
  animation: slideUp 0.5s ease-out forwards;
  font-size: 30px;
}
.tema-efeito-5 {
  animation: fadeZoom 0.8s ease-out forwards;
  font-size: 30px;
 }
.tema-efeito-6 {
  animation: fadeIn 0.8s ease-out forwards;
  font-size: 30px;
}

/* Texto 1 */
.slide-text-container .t1 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
}

/* Texto 2 */
.slide-text-container .t2 {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin-top:-10px;
}

/* Texto 3 */
.slide-text-container .t3 {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-top:20px;
}

/* Texto 4 */
.slide-text-container .t4 {
  font-size: 30px;
  font-weight: 500;
  color: #fff;
}

/* Texto 5 */
.slide-text-container .t5 {
  font-size: 18px;
  margin-top: 20px;
  color:#ff0000;
   text-shadow: 1px 1px 3px #000000;
}

/* Texto 6 */
.slide-text-container .t6 {
  font-size: 18px;
  color: #fff;
  animation: fadeZoom 0.8s ease-out forwards;
}
.img-wrapper {
  position: relative;
  width: 100%;
  height: auto;
}

.img-wrapper img {
  width: 100%;
  border-radius: 14px 14px 0 0;
  display: block;
}

.etiqueta-retoma {
  position: absolute;
    bottom: 0px;
    left: 0px;
    background: #ff0000;
    color: #fff;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 400;
    border-radius: 0px 6px 0 0;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
