@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --blue: #0066AC;
  --blue-dark: #004f87;
  --blue-light: #e8f3fb;
  --white: #ffffff;
  --black: #000000;
  --text: #333333;
  --text-light: #666666;
  --gray: #a1a1a1;
  --gray-light: #f5f5f5;
  --border: #e0e0e0;
  --green-wa: #25D366;
  --green-wa-dark: #1ebe57;
  --red: #e02020;
  --gold: #f0a500;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Raleway', sans-serif; color: var(--text); background: var(--white); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; font-family: 'Raleway', sans-serif; border: none; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  padding: 6px 0;
  text-align: center;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--gold); }

/* ===== HEADER ===== */
.header {
  background: var(--white);
  border-bottom: 2px solid var(--blue);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-wrap img { height: 100px; width: auto; object-fit: contain; }
.logo-name { font-size: 20px; font-weight: 800; color: var(--blue); line-height: 1.1; display: none; }

.search-wrap { flex: 1; max-width: 520px; margin: 0 auto; }
.search-wrap form { display: flex; border: 2px solid var(--blue); border-radius: 4px; overflow: hidden; }
.search-wrap input {
  flex: 1; padding: 10px 14px; border: none; outline: none;
  font-size: 14px; font-family: 'Raleway', sans-serif;
}
.search-wrap button {
  background: var(--blue); color: var(--white); padding: 10px 16px;
  font-size: 15px; transition: background 0.2s;
}
.search-wrap button:hover { background: var(--blue-dark); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-wa-header {
  background: var(--blue); color: var(--white);
  padding: 10px 16px; border-radius: 4px; font-weight: 700;
  font-size: 13px; display: flex; align-items: center; gap: 7px;
  transition: background 0.2s;
}
.btn-wa-header:hover { background: var(--blue-dark); }
.btn-wa-header i { font-size: 16px; }
.store-badge {
  background: var(--blue); color: var(--white);
  padding: 10px 14px; border-radius: 4px; font-weight: 700; font-size: 13px;
}
.hamburger { display: none; font-size: 24px; color: var(--blue); cursor: pointer; background: none; }

/* ===== NAVIGATION ===== */
.navbar { background: var(--blue); }
.navbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: stretch;
}
.navbar ul { display: flex; align-items: stretch; }
.navbar > .navbar-inner > ul > li { position: relative; }
.navbar > .navbar-inner > ul > li > a {
  display: block; color: var(--white); font-weight: 700; font-size: 13px;
  padding: 13px 14px; text-transform: uppercase; transition: background 0.2s;
  white-space: nowrap;
}
.navbar > .navbar-inner > ul > li > a:hover,
.navbar > .navbar-inner > ul > li:hover > a { background: var(--blue-dark); }
.navbar > .navbar-inner > ul > li > a .arrow { font-size: 10px; margin-left: 4px; }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15); z-index: 999;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.2s;
}
.navbar > .navbar-inner > ul > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 11px 16px; font-size: 13px; color: var(--text);
  border-bottom: 1px solid var(--border); transition: background 0.15s, color 0.15s;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--blue-light); color: var(--blue); }

/* Mobile nav */
.mobile-nav {
  display: none; background: var(--white); border-top: 2px solid var(--blue);
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.mobile-nav.open { max-height: 600px; overflow-y: auto; }
.mobile-nav ul { padding: 10px 0; }
.mobile-nav ul li a {
  display: block; padding: 12px 20px; font-size: 14px; font-weight: 600;
  color: var(--text); border-bottom: 1px solid var(--border);
}
.mobile-nav ul li a:hover { color: var(--blue); background: var(--blue-light); }

/* ===== HERO SLIDER ===== */
.hero { position: relative; overflow: hidden; background: #111; }
.hero-slides { display: flex; transition: transform 0.6s ease; height: 420px; }
.hero-slide {
  min-width: 100%; height: 420px; position: relative; overflow: hidden;
  display: flex; align-items: center; background-size: cover; background-position: center;
}
.hero-slide-1 { background: linear-gradient(135deg, #0a2040 0%, #0066AC 60%, #003366 100%); }
.hero-slide-2 { background: linear-gradient(135deg, #1a1a1a 0%, #333 60%, #1a1a1a 100%); }
.hero-slide-3 { background: linear-gradient(135deg, #002244 0%, #0055aa 60%, #002244 100%); }
.hero-slide-content {
  max-width: 1280px; margin: 0 auto; padding: 0 40px; width: 100%; position: relative; z-index: 2;
}
.hero-slide-content h2 {
  font-size: 42px; font-weight: 800; color: var(--white);
  line-height: 1.1; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-slide-content h2 span { color: var(--gold); }
.hero-slide-content p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.btn-hero {
  background: var(--gold); color: var(--black); padding: 13px 30px;
  border-radius: 4px; font-weight: 800; font-size: 14px; display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.hero-gun-img {
  position: absolute; right: 5%; bottom: 0; height: 90%;
  object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}
.hero-nav {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5);
  cursor: pointer; transition: background 0.2s, transform 0.2s; border: none;
}
.hero-dot.active { background: var(--white); transform: scale(1.3); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.45); color: #fff; border: none;
  width: 42px; height: 42px; border-radius: 50%; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s; z-index: 5;
}
.hero-arrow:hover { background: rgba(0,0,0,0.75); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }

/* ===== TRUST BADGES ===== */
.trust-bar { background: var(--gray-light); border-bottom: 1px solid var(--border); padding: 14px 20px; }
.trust-bar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 10px;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item i { font-size: 26px; color: var(--blue); }
.trust-item-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); }
.trust-item-text span { font-size: 11px; color: var(--text-light); }

/* ===== PRODUCT SECTIONS ===== */
.section { padding: 36px 20px; max-width: 1280px; margin: 0 auto; }
.section-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px;
  border-bottom: 3px solid var(--blue); padding-bottom: 10px;
}
.section-title { font-size: 22px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 8px; }
.section-title::before { content: ''; display: block; width: 5px; height: 22px; background: var(--blue); border-radius: 3px; }
.btn-ver-todas {
  background: var(--blue); color: var(--white); padding: 8px 18px;
  border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase;
  transition: background 0.2s;
}
.btn-ver-todas:hover { background: var(--blue-dark); }

/* ===== CAROUSEL ===== */
.carousel-wrap { position: relative; }
.carousel-track-outer { overflow: hidden; }
.carousel-track { display: flex; gap: 14px; transition: transform 0.4s ease; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--blue); color: var(--white);
  width: 34px; height: 34px; border-radius: 50%; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s; z-index: 10; border: none;
}
.carousel-arrow:hover { background: var(--blue-dark); }
.carousel-arrow.prev { left: -17px; }
.carousel-arrow.next { right: -17px; }

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 4px;
  min-width: calc(20% - 12px); flex-shrink: 0; position: relative;
  transition: box-shadow 0.25s, transform 0.25s; overflow: hidden;
}
.product-card:hover { box-shadow: 0 8px 28px rgba(0,102,172,0.18); transform: translateY(-3px); }
.product-card-badge {
  position: absolute; top: 10px; left: 10px; background: var(--red);
  color: var(--white); font-size: 10px; font-weight: 800; padding: 3px 8px;
  border-radius: 2px; text-transform: uppercase; z-index: 2;
}
.product-card-badge.badge-inox { background: #555; }
.product-card-badge.badge-premium { background: var(--gold); color: var(--black); }
.product-card-badge.badge-classico { background: var(--text); }
.product-card-badge.badge-tatico { background: #444; }
.product-card-badge.badge-exclusivo { background: #7b2cbf; }
.product-card-img {
  height: 165px; display: flex; align-items: center; justify-content: center;
  padding: 12px; background: #fafafa; border-bottom: 1px solid var(--border);
  overflow: hidden; position: relative;
}
.product-card-img img {
  max-height: 140px; max-width: 100%; object-fit: contain;
  transition: transform 0.3s;
}
.product-card-img img[alt] { font-size: 0; }
.product-card-img img::before {
  content: '\f05b'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  font-size: 36px; color: #ccc; display: flex; align-items: center;
  justify-content: center; width: 100%; height: 140px;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 12px; }
.product-card-cat { font-size: 10px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }
.product-card-name {
  font-size: 13px; font-weight: 700; color: var(--text);
  margin: 5px 0 8px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 52px;
}
.product-card-price { font-size: 17px; font-weight: 800; color: var(--blue); margin-bottom: 10px; }
.product-card-price.consulte { font-size: 14px; color: var(--text-light); }
.btn-detalhes {
  width: 100%; background: var(--blue); color: var(--white);
  padding: 9px; font-size: 12px; font-weight: 700; text-transform: uppercase;
  border-radius: 3px; transition: background 0.2s; letter-spacing: 0.5px;
  display: block; text-align: center;
}
.btn-detalhes:hover { background: var(--blue-dark); }

/* ===== CATALOG GRID ===== */
.catalog-section { max-width: 1280px; margin: 0 auto; padding: 30px 20px; }
.cat-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cat-filter-btn {
  padding: 8px 16px; border: 2px solid var(--blue); border-radius: 20px;
  font-size: 13px; font-weight: 700; color: var(--blue); background: var(--white);
  cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 6px;
}
.cat-filter-btn:hover, .cat-filter-btn.active { background: var(--blue); color: var(--white); }
.count-badge {
  background: rgba(255,255,255,0.3); color: inherit;
  font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 10px;
  min-width: 20px; text-align: center;
}
.cat-filter-btn.active .count-badge { background: rgba(255,255,255,0.35); }

/* Brand filters */
.marca-filters {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  margin-bottom: 28px; padding: 14px 16px;
  background: var(--gray-light); border-radius: 8px;
  border: 1px solid var(--border);
}
.marca-label { font-size: 12px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.marca-filter-btn {
  padding: 5px 14px; border: 1.5px solid #bbb; border-radius: 14px;
  font-size: 12px; font-weight: 700; color: var(--text-light); background: var(--white);
  cursor: pointer; transition: all 0.2s;
}
.marca-filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.marca-filter-btn.active { background: var(--blue-dark); color: var(--white); border-color: var(--blue-dark); }

.products-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.products-grid .product-card { min-width: unset; }

/* ===== WHY BUY ===== */
.why-buy { background: var(--gray-light); padding: 50px 20px; }
.why-buy-inner { max-width: 1280px; margin: 0 auto; }
.why-buy h2 { font-size: 26px; font-weight: 800; margin-bottom: 32px; color: var(--text); text-align: center; }
.why-buy h2 span { color: var(--blue); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { background: var(--white); padding: 28px 20px; border-radius: 6px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
.why-item i { font-size: 40px; color: var(--blue); margin-bottom: 14px; display: block; }
.why-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.why-item p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ===== PRODUCT DETAIL ===== */
.breadcrumb { font-size: 12px; color: var(--gray); margin-bottom: 24px; }
.breadcrumb a { color: var(--blue); }
.breadcrumb span { margin: 0 6px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.product-gallery { position: sticky; top: 100px; }
.product-main-img {
  border: 1px solid var(--border); border-radius: 6px; padding: 20px;
  display: flex; align-items: center; justify-content: center; min-height: 360px; background: #fafafa;
}
.product-main-img img { max-height: 320px; object-fit: contain; }
.product-info-category { font-size: 12px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.product-info h1 { font-size: 24px; font-weight: 800; color: var(--text); line-height: 1.25; margin-bottom: 16px; }
.product-price-box { margin-bottom: 20px; }
.product-price { font-size: 34px; font-weight: 800; color: var(--blue); }
.product-price.consulte { font-size: 20px; color: var(--text-light); }
.product-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; }
.btn-comprar-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--green-wa); color: var(--white); padding: 15px 30px;
  border-radius: 5px; font-size: 15px; font-weight: 800; transition: background 0.2s;
  width: 100%; margin-bottom: 12px;
}
.btn-comprar-wa:hover { background: var(--green-wa-dark); }
.btn-comprar-wa i { font-size: 20px; }
.product-tabs { margin-top: 32px; }
.tab-buttons { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 20px; }
.tab-btn {
  padding: 10px 20px; font-size: 14px; font-weight: 700; background: none;
  color: var(--gray); border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn.active { color: var(--blue); border-color: var(--blue); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table tr:nth-child(even) td { background: var(--gray-light); }
.specs-table td { padding: 10px 14px; border: 1px solid var(--border); }
.specs-table td:first-child { font-weight: 700; color: var(--text); width: 42%; }

/* ===== FOOTER ===== */
.footer { background: var(--black); color: #ccc; padding: 50px 20px 20px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-logo img { height: 70px; margin-bottom: 14px; filter: brightness(10); }
.footer-logo p { font-size: 13px; line-height: 1.7; color: #aaa; }
.footer h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid #333; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { font-size: 13px; color: #aaa; transition: color 0.2s; }
.footer ul li a:hover { color: var(--gold); }
.footer-contact p { font-size: 13px; color: #aaa; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.footer-contact i { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: var(--green-wa); font-weight: 600; }
.footer-bottom {
  max-width: 1280px; margin: 30px auto 0; padding-top: 18px;
  border-top: 1px solid #222; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: #666; }
.payment-icons { display: flex; gap: 10px; align-items: center; }
.payment-icon {
  background: #fff; border-radius: 4px; padding: 3px 8px;
  font-size: 11px; font-weight: 700; color: var(--black);
}

/* ===== FLOATING WA BUTTON ===== */
.float-wa {
  position: fixed; bottom: 28px; left: 24px; z-index: 9999;
  background: var(--green-wa); color: var(--white); border-radius: 50%;
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 4px 18px rgba(37,211,102,0.5);
  transition: transform 0.2s, box-shadow 0.2s; animation: float-pulse 2.5s infinite;
}
.float-wa:hover { transform: scale(1.12); box-shadow: 0 6px 24px rgba(37,211,102,0.7); }
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.8); }
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white); padding: 36px 20px; text-align: center;
}
.page-header h1 { font-size: 28px; font-weight: 800; }
.page-header p { font-size: 14px; opacity: 0.85; margin-top: 6px; }

/* ===== COOKIE NOTICE ===== */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.92);
  color: #fff; padding: 16px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; z-index: 9998; flex-wrap: wrap;
}
.cookie-bar p { font-size: 13px; line-height: 1.5; }
.cookie-bar a { color: var(--gold); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie {
  padding: 9px 20px; border-radius: 4px; font-size: 13px;
  font-weight: 700; cursor: pointer; transition: opacity 0.2s;
}
.btn-accept { background: var(--green-wa); color: var(--white); }
.btn-reject { background: transparent; color: #ccc; border: 1px solid #555; }
.btn-cookie:hover { opacity: 0.85; }

/* ===== LOADING ===== */
.loading-spinner { text-align: center; padding: 60px; color: var(--gray); font-size: 14px; }
.loading-spinner i { font-size: 36px; color: var(--blue); display: block; margin-bottom: 12px; animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ===== NOT FOUND ===== */
.not-found { text-align: center; padding: 80px 20px; }
.not-found h2 { font-size: 28px; color: var(--text); margin-bottom: 12px; }
.not-found p { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .product-card { min-width: calc(25% - 11px); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .navbar { display: none; }
  .hamburger { display: block; }
  .mobile-nav { display: block; }
  .hero-slide-content h2 { font-size: 30px; }
  .hero-gun-img { opacity: 0.2; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .product-card { min-width: calc(33.3% - 10px); }
}
@media (max-width: 680px) {
  .header-inner { flex-wrap: wrap; }
  .search-wrap { order: 3; max-width: 100%; width: 100%; }
  .hero-slides, .hero-slide { height: 300px; }
  .hero-slide-content h2 { font-size: 24px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { min-width: calc(50% - 7px); }
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 18px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
