:root {
  --logo-red: #cc0000;
  --logo-gray: #aeabaa;
  --primary-color: #ff6b35;
  --secondary-color: #f7931e;
  --accent-color: #ffd23f;
  --gray-dark: #2d3748;
  --gray-light: #f7fafc;
}

/* Reset para garantir topo limpo */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gray-dark);
  overflow-x: hidden;
}

/* Reset small elements used by this theme extension */
.perfilmil-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top bar - contatos e redes sociais */
.top-bar {
  background: #1a1a1a;
  color: #fff;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 3px solid var(--logo-red);
}
.top-bar .perfilmil-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.top-bar-left {
  display: flex;
  gap: 25px;
  align-items: center;
}
.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-bar-contact i {
  color: var(--logo-red);
}
.top-bar-right {
  display: flex;
  gap: 15px;
  align-items: center;
}
.social-links-top {
  display: flex;
  gap: 10px;
}
.social-links-top a {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s;
  font-size: 14px;
}
.social-links-top a:hover {
  background: var(--logo-red);
  transform: translateY(-3px);
}

/* Header - fundo branco/cinza claro para harmonizar com logo vermelho */
header.site-header {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.logo {
  height: 60px;
  width: auto;
  display: block;
}

/* Nav Actions (busca + carrinho) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-box {
  position: relative;
}

.search-box form {
  display: flex;
  align-items: center;
  gap: 0;
}

.search-box input[type="search"] {
  padding: 10px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 25px 0 0 25px;
  width: 280px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.search-box input[type="search"]:focus {
  outline: none;
  border-color: var(--logo-red);
}

.search-box button[type="submit"] {
  background: var(--logo-red);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.search-box button[type="submit"]:hover {
  background: #a00000;
}

.cart-btn {
  background: var(--logo-red);
  color: #fff !important;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-size: 14px;
}

.cart-btn:hover {
  background: #a00000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 0, 0, 0.35);
}

.cart-btn i {
  font-size: 16px;
}

/* Banner Section com Carousel e Menu de Categorias */
.banner-section {
  padding: 0;
  margin-bottom: 60px;
  background: #f9f9f9;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.banner-section .perfilmil-container {
  display: flex;
  gap: 0;
  padding: 0;
  max-width: 100%;
  position: relative;
}

/* Menu de Categorias (Lado Esquerdo) - FIXO SOBREPOSTO */
.categories-menu {
  width: 280px;
  background: #fff;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  border-radius: 0 0 12px 0;
  position: absolute;
  left: 0;
  top: 0;
}
.categories-header {
  background: var(--logo-red);
  color: #fff;
  padding: 18px 20px;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  z-index: 1001;
}
.categories-header:hover {
  background: #a00000;
}
.categories-header i {
  font-size: 18px;
}
.categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
}
.categories-list li {
  border-bottom: 1px solid #f0f0f0;
}
.categories-list li:last-child {
  border-bottom: none;
  border-radius: 0 0 12px 0;
}
.categories-list li a {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  gap: 10px;
}
.categories-list li a:hover {
  background: #f8f8f8;
  color: var(--logo-red);
  padding-left: 25px;
}
.categories-list li a i {
  font-size: 12px;
  color: var(--logo-red);
}

/* Mega Menu */
.mega-menu-wrapper {
  position: absolute;
  top: 58px;
  left: 0;
  width: 90vw;
  max-width: 1400px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border-radius: 0 12px 12px 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  border-top: 4px solid var(--logo-red);
  margin-left: 20px;
}

/* Mega Menu para páginas internas (sempre visível) */
.mega-menu-internal {
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
  border-bottom: 3px solid #e5e5e5;
  padding: 0;
}
.mega-menu-internal .mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 300px;
  gap: 0;
  padding: 25px;
}
.categories-menu:hover + .mega-menu-wrapper,
.mega-menu-wrapper:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 600px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}
.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 300px;
  gap: 0;
  padding: 25px;
}
.mega-menu-column {
  padding: 0 15px;
  border-right: 1px solid #f0f0f0;
}
.mega-menu-column:last-of-type {
  border-right: none;
}
.mega-menu-column h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--gray-dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.mega-menu-column h3 i {
  color: var(--logo-red);
  font-size: 16px;
}
.mega-menu-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-menu-column ul li {
  margin-bottom: 10px;
}
.mega-menu-column ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
  padding: 6px 0;
}
.mega-menu-column ul li a:hover {
  color: var(--logo-red);
  padding-left: 8px;
}
.mega-menu-column ul li a i {
  font-size: 10px;
  color: var(--logo-red);
  opacity: 0.6;
}

/* Mega Menu - Featured Area */
.mega-menu-featured {
  background: linear-gradient(
    135deg,
    rgba(204, 0, 0, 0.05),
    rgba(204, 0, 0, 0.1)
  );
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(204, 0, 0, 0.1);
}
.mega-menu-featured img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.featured-content h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--gray-dark);
  margin-bottom: 8px;
}
.featured-content p {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
}
.btn-featured {
  display: inline-block;
  background: var(--logo-red);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-featured:hover {
  background: #a00000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 0, 0, 0.3);
}

/* Banner Carousel */
.banner-carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
  max-height: 450px;
  z-index: 1;
}
.carousel-container {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

/* Overlay de Tela Mosquiteira - Padrão de Quadrados */
.carousel-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  background-image: 
    linear-gradient(0deg, rgba(30, 30, 30, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 30, 30, 0.08) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.7;
}

/* Overlay adicional para dar efeito de profundidade */
.carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.03) 100%);
}
.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s;
}
.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

/* Conteúdo dos Slides - Texto preto com borda branca suave */
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #1a1a1a;
  z-index: 5;
  max-width: 700px;
  padding: 0 20px;
}
.slide-content h2 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: -0.5px 0.5px 0 #fff, -1px 0.5px 0 #fff, -0.5px 1px 0 #fff,
    -1px 1px 0 #fff, 0 0.5px 0 #fff, -0.5px 0 0 #fff, 0 1px 0 #fff,
    -1px 0 0 #fff;
  line-height: 1.2;
}
.slide-content p {
  font-size: 20px;
  margin-bottom: 30px;
  text-shadow: -0.5px 0.5px 0 #fff, -1px 0.5px 0 #fff, -0.5px 1px 0 #fff,
    0 0.5px 0 #fff, -0.5px 0 0 #fff;
  display: inline-block;
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  border-radius: 6px;
  color: #1a1a1a;
  text-shadow: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.slide-cta {
  display: inline-block;
  background: var(--logo-red);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(204, 0, 0, 0.4);
  font-size: 16px;
}
.slide-cta:hover {
  background: #a00000;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(204, 0, 0, 0.6);
}

/* Controles do Carousel */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.carousel-control:hover {
  background: var(--logo-red);
}
.carousel-control.prev {
  left: 20px;
}
.carousel-control.next {
  right: 20px;
}

/* Indicadores (dots) */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #fff;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.indicator.active,
.indicator:hover {
  background: #fff;
  transform: scale(1.2);
}

/* Hero - remover pois foi substituído pelo banner */
.perfilmil-hero {
  display: none;
}

/* Seção de Benefícios - Design Moderno e Discreto */
.benefits-section {
  padding: 10px 20px;
  background: #FFFFFF; /* cinza bem claro para não destoar */
  margin-bottom: 32px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* lado a lado no desktop */
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: #f6f6f7;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  padding: 24px 18px 18px 18px;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow 0.2s;
}

.benefit-flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}
.benefit-icon {
  font-size: 2.2em;
  color: #aeabaa;
  min-width: 44px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.benefit-title {
  font-size: 1.18em;
  font-weight: 600;
  color: #333;
  margin: 0;
  text-align: left;
}
.benefit-desc {
  font-size: 0.98em;
  color: #666;
  margin: 10px 0 0 0;
  text-align: left;
}
/* remove barra vermelha lateral para um visual mais neutro */
.benefit-card::before {
  display: none;
}

.benefit-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  border-color: #d1d5db;
}

/* sem efeitos fortes de destaque */

.benefit-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: #ededed; /* tom de cinza suave */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #6b7280; /* ícone em cinza, sem vermelho */
  transition: opacity 0.2s ease;
}

.benefit-card:hover .benefit-icon {
  opacity: 0.9;
}

.benefit-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #374151; /* cinza escuro neutro */
  margin: 0 0 2px 0;
  line-height: 1.3;
}

.benefit-card p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* Responsivo para benefícios */
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-card {
    padding: 16px 14px;
  }
}

/* Products grid: default 4 columns, responsive */
.products-section {
  padding: 60px 20px;
}
.section-header {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--logo-red), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Product Card com altura fixa e botão no rodapé */
.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.35s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}
.product-image {
  height: 260px;
  background: var(--gray-light);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-image img {
  transform: scale(1.12);
}
.product-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: linear-gradient(135deg, var(--logo-red), #e00000);
  color: #fff;
  padding: 6px 12px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 700;
}
.product-discount {
  position: absolute;
  right: 12px;
  top: 12px;
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #fff;
  padding: 6px 10px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
}
.quick-view {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}
.product-card:hover .quick-view {
  opacity: 1;
}
.quick-view-btn {
  background: #fff;
  color: var(--gray-dark);
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}
.quick-view-btn:hover {
  background: var(--logo-red);
  color: #fff;
}

/* Conteúdo do card com flex-grow para empurrar botão para baixo */
.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-dark);
}
.product-title a {
  color: var(--gray-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.product-title a:hover {
  color: var(--logo-red);
}

/* Rating de Estrelas */
.product-rating-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.perfilmil-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 16px;
}
.perfilmil-rating i {
  color: #fbbf24;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.perfilmil-rating .far {
  color: #e5e7eb;
}
.rating-score {
  font-size: 13px;
  font-weight: 700;
  color: #718096;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 6px;
}

.product-description {
  color: #718096;
  font-size: 14px;
  margin-bottom: 14px;
  flex-grow: 1;
}
.price-rating {
  margin-bottom: 12px;
}
.price {
  font-size: 22px;
  font-weight: 900;
  color: var(--logo-red);
}
.old-price {
  font-size: 13px;
  color: #cbd5e0;
  text-decoration: line-through;
}

/* Badges de Garantia e Frete - altura mínima para consistência */
.product-features {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #718096;
  margin-bottom: 14px;
  padding: 8px;
  background: var(--gray-light);
  border-radius: 10px;
  min-height: 38px;
  align-items: center;
}

/* Botão Comprar - fixo no rodapé, 90% de largura, cores estimulantes */
.buy-button {
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #28a745;
  color: #fff;
  border: none;
  padding: 16px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin-top: auto;
}
.buy-button:hover {
  background: #218838;
  transform: translateY(0);
  box-shadow: none;
  color: #fff;
  text-decoration: none;
}
.buy-button i {
  font-size: 16px;
}

/* Footer basics */
footer.site-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 60px 20px 0;
  margin-top: 80px;
}
.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col p {
  color: #b0b0b0;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.footer-col ul li a:hover {
  color: #fff;
  padding-left: 8px;
}
.footer-col ul li a i {
  color: var(--logo-red);
  font-size: 12px;
}
.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}
.payment-methods {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.payment-methods img {
  height: 30px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.payment-methods img:hover {
  opacity: 1;
}
.social-footer {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-footer a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s;
  font-size: 18px;
}
.social-footer a:hover {
  background: var(--logo-red);
  transform: translateY(-5px) scale(1.1);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  text-align: center;
  color: #888;
  font-size: 13px;
}
.footer-bottom a {
  color: var(--logo-red);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.footer-bottom a:hover {
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .perfilmil-hero h1 {
    font-size: 34px;
  }
  .slide-content h2 {
    font-size: 36px;
  }
  .slide-content p {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .top-bar .perfilmil-container {
    flex-direction: column;
    text-align: center;
  }
  .top-bar-left {
    flex-direction: column;
    gap: 8px;
  }
  header.site-header .perfilmil-container {
    flex-direction: column;
    gap: 15px;
  }
  .nav-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .search-box input[type="search"] {
    width: 100%;
    max-width: 240px;
  }
  .cart-btn {
    font-size: 13px;
    padding: 10px 18px;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-col {
    text-align: center;
  }
  .footer-logo {
    margin: 0 auto 20px;
  }
  .social-footer {
    justify-content: center;
  }
  .payment-methods {
    justify-content: center;
  }
  /* Banner mobile */
  .banner-section {
    width: 100%;
    margin-left: 0;
  }
  .banner-section .perfilmil-container {
    flex-direction: column;
  }
  .categories-menu {
    width: 100%;
    border-radius: 0;
    position: relative;
  }
  .mega-menu-wrapper {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
  }
  .mega-menu-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mega-menu-column {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
  }
  .mega-menu-column:last-child {
    border-bottom: none;
  }
  .mega-menu-featured {
    margin-top: 15px;
  }
  .carousel-container {
    height: 350px;
  }
  .slide-content h2 {
    font-size: 28px;
  }
  .slide-content p {
    font-size: 16px;
  }
  .carousel-control {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .carousel-control.prev {
    left: 10px;
  }
  .carousel-control.next {
    right: 10px;
  }
}
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .carousel-container {
    height: 300px;
  }
  .slide-content h2 {
    font-size: 24px;
  }
  .slide-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .slide-cta {
    padding: 12px 28px;
    font-size: 14px;
  }
}

/* ========================================
   BOTÕES ADICIONAR AO CARRINHO - GLOBAL
======================================== */
.button.product_type_simple,
.button.product_type_variable,
.button.add_to_cart_button,
.added_to_cart.wc-forward {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px !important;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.button.product_type_simple:hover,
.button.product_type_variable:hover,
.button.add_to_cart_button:hover,
.added_to_cart.wc-forward:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4) !important;
}

.button.product_type_simple::before,
.button.add_to_cart_button::before {
    content: '\f07a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.added_to_cart.wc-forward::before {
    content: '\f06e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* Parcelamento na homepage */
.product-installment-home {
    font-size: 11px;
    color: #6c757d;
    margin-top: 4px;
    display: block;
}

.product-installment-home i {
    margin-right: 4px;
    color: #3498db;
}

/* ==========================================
   TOAST ADICIONAR AO CARRINHO - MODERNO
   ========================================== */
.perfilmil-add-cart-toast {
    position: fixed;
    top: 100px;
    right: -450px;
    width: 420px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 24px;
    z-index: 99999;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 5px solid #28a745;
}

.perfilmil-add-cart-toast.show {
    right: 30px;
}

.perfilmil-add-cart-toast .toast-icon {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.perfilmil-add-cart-toast .toast-content {
    margin-left: 70px;
    margin-bottom: 20px;
}

.perfilmil-add-cart-toast .toast-content strong {
    display: block;
    font-size: 18px;
    color: #2d3436;
    margin-bottom: 6px;
    font-weight: 700;
}

.perfilmil-add-cart-toast .toast-content p {
    margin: 0;
    font-size: 14px;
    color: #636e72;
    line-height: 1.5;
}

.perfilmil-add-cart-toast .toast-actions {
    display: flex;
    gap: 10px;
    margin-left: 70px;
}

.perfilmil-add-cart-toast .toast-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.perfilmil-add-cart-toast .toast-btn-cart {
    background: #28a745;
    color: #fff;
}

.perfilmil-add-cart-toast .toast-btn-cart:hover {
    background: #218838;
    transform: translateY(-2px);
}

.perfilmil-add-cart-toast .toast-btn-continue {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.perfilmil-add-cart-toast .toast-btn-continue:hover {
    background: #e9ecef;
}

.perfilmil-add-cart-toast .toast-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 28px;
    color: #adb5bd;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.perfilmil-add-cart-toast .toast-close:hover {
    color: #495057;
}

/* Responsivo */
@media (max-width: 768px) {
    .perfilmil-add-cart-toast {
        width: calc(100% - 40px);
        right: -100%;
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .perfilmil-add-cart-toast.show {
        right: auto;
        bottom: 20px;
    }
}

/* =================================================================
   TOAST DE ERRO
   ================================================================= */
.perfilmil-error-toast {
    position: fixed;
    top: 100px;
    right: -500px;
    width: 380px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 999999;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid #dc3545;
}

.perfilmil-error-toast.show {
    right: 30px;
}

.perfilmil-error-toast .toast-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 22px;
}

.perfilmil-error-toast .toast-content {
    flex: 1;
}

.perfilmil-error-toast .toast-content strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 4px;
}

.perfilmil-error-toast .toast-content p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.perfilmil-error-toast .toast-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8f9fa;
    border: none;
    color: #6c757d;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perfilmil-error-toast .toast-close:hover {
    background: #e9ecef;
    color: #495057;
}

@media (max-width: 768px) {
    .perfilmil-error-toast {
        width: calc(100% - 40px);
        right: -100%;
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .perfilmil-error-toast.show {
        right: auto;
        bottom: 20px;
    }
}
