* {
  box-sizing: border-box;
}

body {

  margin: 0;

  font-family: Arial, sans-serif;

  background: #f4f6f8;

  color: #1f2937;
}

/* =========================
   ENCABEZADO
========================= */

.encabezado {

  width: 100%;

  }

/* =========================
   BARRA MARCA
========================= */

.barra-marca {

  background: #FE3000;

  padding: 8px 8px;

  display: flex;

  justify-content: center;

  align-items: center;
}

/* =========================
   MARCA
========================= */

.marca {

  display: flex;

  align-items: center;

  gap: 24px;
}

/* =========================
   LOGO
========================= */

.logo-imagen {

  width: 260px;

  height: auto;

  display: block;

  flex-shrink: 0;
}

/* =========================
   TEXTOS MARCA
========================= */

.marca-textos {

  display: flex;

  flex-direction: column;

  justify-content: center;
}

/* =========================
   NOMBRE TIENDA
========================= */

.logo-texto {

  font-family: "Baskerville Old Face", serif;

  font-size: 50px;

  font-weight: bold;

  color: white;

  line-height: 1;

  letter-spacing: 0.3px;
}

/* =========================
   SLOGAN
========================= */

.slogan {

  font-family: "Amasis MT Pro Light", serif;

  font-size: 19px;

  color: white;

  margin-top: 10px;

  letter-spacing: 0.2px;
}

/* =========================
   BARRA MENU
========================= */

.barra-menu {

  background: rgba(0,31,63,0.35);

  backdrop-filter: blur(4px);

  position: absolute;

  width: 100%;

  z-index: 20;

  padding: 14px 40px;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 14px;

  flex-wrap: wrap;
}

/* =========================
   BOTONES MENU
========================= */

.barra-menu a {

  color: white;

  text-decoration: none;

  padding: 11px 20px;

  border: 2px solid rgba(255,255,255,0.75);

  border-radius: 999px;

  font-weight: 700;

  background: transparent;

  transition: all 0.2s ease;

  min-width: 180px;

text-align: center;

}

.barra-menu a:hover {

  background: white;

  color: #001f3f;
}

/* =========================
   BOTON WHATSAPP NAV
========================= */

.btn-nav {

  background: #25D366 !important;

  color: white !important;

  border: 2px solid white !important;

  font-weight: 900;
}

.btn-nav:hover {

  background: white !important;

  color: #001f3f !important;

  border-color: white !important;
}

/* =========================
   HERO / BANNER
========================= */

.hero {

  min-height: 430px;

  background-size: cover;

  background-position: center center;

  color: white;

  display: flex;

  justify-content: center;

  align-items: center;

  text-align: center;

  padding: 45px 25px;
}

/* =========================
   BANNERS POR PAGINA
========================= */

.hero-home {

  background:
    linear-gradient(
      rgba(0,31,63,0.78),
      rgba(0,31,63,0.78)
    ),
    url("../img/general/banner-home.jpg");

  background-size: cover;

  background-position: center center;
}

.hero-botas {

  background:
    linear-gradient(
      rgba(0,31,63,0.55),
      rgba(0,31,63,0.55)
    ),
    url("../img/general/banner-botas.jpg");

  background-size: cover;

  background-position: center center;

  background-repeat: no-repeat;
}

.hero-herramientas {

  background:
    linear-gradient(
      rgba(0,31,63,0.55),
      rgba(0,31,63,0.55)
    ),
    url("../img/general/banner-herramientas.jpg");

  background-size: cover;

  background-position: center center;

  background-repeat: no-repeat;
}

.hero-texto {

  max-width: 900px;
}

.hero h1 {

  font-size: 36px;

  margin-bottom: 14px;

  line-height: 1.2;
}

.hero p {

  font-size: 18px;

  line-height: 1.5;
}

/* =========================
   CONTENEDOR BOTONES HERO
========================= */

.hero-botones {

  margin-top: 25px;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 18px;

  flex-wrap: wrap;
}

/* =========================
   BOTON PRINCIPAL
========================= */

.btn-principal {

  display: inline-block;

  background: #FE3000;

  color: white;

  padding: 14px 30px;
  
  border: 2px solid white;

  border-radius: 999px;

  text-decoration: none;

  font-weight: bold;

  font-size: 16px;

  min-width: 260px;

text-align: center;

  box-shadow:
    0 5px 14px rgba(0,0,0,0.20);

  transition: all 0.2s ease;

}

.btn-principal:hover {

  background: white;

  color: #001f3f;
}

/* =========================
   BOTON SECUNDARIO HERO
========================= */

.btn-secundario {

  display: inline-block;

  background: #FE3000;

  color: white;

  padding: 14px 30px;

  border-radius: 999px;

  text-decoration: none;

  font-weight: bold;

  font-size: 16px;

  border: 2px solid white;

  box-shadow:
    0 5px 14px rgba(0,0,0,0.20);

  transition: all 0.2s ease;
  min-width: 260px;

text-align: center;
}

.btn-secundario:hover {

  background: white;

  color: #001f3f;
}

/* =========================
   BENEFICIOS
========================= */

.beneficios {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;

  padding: 30px 60px;
}

.beneficio {

  background: white;

  text-align: center;

  padding: 22px;

  border-radius: 14px;

  font-weight: bold;

  border-top: 5px solid #FE3000;

  box-shadow:
    0 4px 12px rgba(0,0,0,0.08);
}

/* =========================
   PRODUCTOS
========================= */

.productos {

  padding: 50px 60px;
}

.productos h2,
.como-comprar h2 {

  text-align: center;

  font-size: 34px;

  margin-bottom: 10px;

  color: #001f3f;
}

/* =========================
   INTRO CATEGORIA
========================= */

.intro-categoria {

  text-align: center;

  color: #6b7280;

  margin-bottom: 35px;

  font-size: 17px;
}

/* =========================
   CABECERA SEGURIDAD
========================= */

.cabecera-seguridad {

  background: #001f3f;

  padding: 32px 25px;

  border-radius: 22px;

  margin-bottom: 45px;

  border-left: 10px solid #FE3000;

  box-shadow:
    0 8px 24px rgba(0,0,0,0.15);

  text-align: center;
}

/* TITULO */

.cabecera-seguridad h2 {

  color: white !important;

  margin: 0;

  font-size: 38px;

  font-weight: 900;

  letter-spacing: 0.5px;

  text-transform: uppercase;
}

/* SUBTITULO */

.intro-categoria-seguridad {

  color: #E5E7EB;

  margin-top: 14px;

  margin-bottom: 0;

  font-size: 18px;

  font-weight: 500;

  letter-spacing: 0.3px;
}

/* =========================
   GRID PRODUCTOS
========================= */

.grid-productos {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 28px;
}

/* =========================
   TARJETA PRODUCTO
========================= */

.card {

  background: white;

  border-radius: 18px;

  overflow: hidden;

  box-shadow:
    0 6px 18px rgba(0,0,0,0.10);

  transition: transform 0.2s ease;
}

.card:hover {

  transform: translateY(-5px);
}

/* =========================
   IMAGEN PRODUCTO
========================= */

.card img {

  width: 100%;

  height: 320px;

  object-fit: contain;

  background: white;

  padding: 10px;
}

/* =========================
   TEXTOS PRODUCTO
========================= */

.card h3 {

  padding: 10px 18px 2px;

  margin: 0;

  font-size: 22px;

  line-height: 1.2;
}

.descripcion {

  padding: 0 18px 12px;

  margin: 0;

  color: #6b7280;

  line-height: 1.35;
}

.precio {

  padding: 0 18px 2px;

  margin: 0;

  font-size: 25px;

  font-weight: bold;

  color: #001f3f;

  line-height: 1.2;
}

/* =========================
   TEXTO ENVIO GRATIS
========================= */

.envio-info {

  padding: 0 18px 10px;

  margin: 0;

  font-size: 14px;

  font-weight: bold;

  font-style: italic;

  color: #0C7227;

  line-height: 1.2;

  letter-spacing: 0.2px;
}

/* =========================
   BOTON WHATSAPP PRODUCTO
========================= */

.btn-whatsapp {

  display: block;

  margin: 15px 18px 18px;

  background: #25D366;

  color: white;

  text-align: center;

  padding: 14px;

  border-radius: 10px;

  text-decoration: none;

  font-weight: bold;

  transition: 0.2s;
}

.btn-whatsapp i {

   color: #001f3f;

  font-size: 24px;

  margin-right: 8px;

  vertical-align: middle;
}

.btn-whatsapp:hover {

  transform: scale(1.02);
}

.btn-whatsapp:hover {

  transform: scale(1.02);
}

/* =========================
/* =========================
   COMO COMPRAR
========================= */

.como-comprar {

  background: white;

  padding: 55px 60px;
}

/* CABECERA */

.cabecera-comprar {

  margin-bottom: 38px;
}

/* TITULO COMO COMPRAR */

.cabecera-comprar h2 {

  color: white !important;

  margin: 0;

  font-size: 36px;

  font-family: "Segoe UI", sans-serif;

  font-weight: 700;

  letter-spacing: 0.3px;

  line-height: 1.2;

  text-transform: none !important;
}



/* PASOS */

.pasos {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 26px;
}

.pasos div {

  position: relative;

  background: #FE3000;

  color: white;

  padding: 26px 18px;

  text-align: center;

  border-radius: 22px;

  font-weight: 600;

  font-size: 17px;

  font-family: "Segoe UI", sans-serif;

  line-height: 1.35;

  border: 3px solid #001f3f;

  box-shadow:
    0 6px 16px rgba(0,0,0,0.12);
}

/* FLECHAS ENTRE PASOS */

.pasos div:not(:last-child)::after {

  content: "➜";

  position: absolute;

  right: -24px;

  top: 50%;

  transform: translateY(-50%);

  color: #001f3f;

  font-size: 26px;

  font-weight: 900;

  z-index: 5;
}

/* =========================
   FOOTER
========================= */

.footer {

  background: #001f3f;

  color: white;

  text-align: center;

  padding: 35px;
}

.footer h3 {

  margin: 0;

  font-size: 26px;
}

/* =========================
   DESCRIPCION SEGURIDAD
========================= */

.descripcion-seguridad {

  color: #B45309;

  font-size: 15px;

  font-weight: 700;

  font-style: italic;

  letter-spacing: 0.2px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

  .barra-marca {

    padding: 18px 20px;
  }

  .marca {

    flex-direction: column;

    text-align: center;
  }

  .logo-imagen {

    width: 95px;
  }

  .logo-texto {

    font-size: 30px;
  }

  .slogan {

    font-size: 15px;
  }

  .barra-menu {

    padding: 14px 20px;
  }

  .hero h1 {

    font-size: 29px;
  }

  .hero p {

    font-size: 16px;
  }

  .hero-botones {

    flex-direction: column;
  }

  .beneficios,
  .grid-productos,
  .pasos {

    grid-template-columns: 1fr;

    padding-left: 25px;
    padding-right: 25px;
  }

  .productos,
  .como-comprar {

    padding: 40px 25px;
  }

  .cabecera-seguridad h2 {

    font-size: 28px;
  }

  .intro-categoria-seguridad {

    font-size: 16px;
  }
}
/* =========================
   MENU CATEGORIAS HERRAMIENTAS
========================= */

.menu-categorias {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 14px;

  flex-wrap: wrap;

  margin-top: 30px;
}

.menu-categorias a {

  background: #001f3f;

  color: white;

  text-decoration: none;

  padding: 12px 20px;

  border-radius: 999px;

  font-weight: 700;

  border: 2px solid #FE3000;

  transition: all 0.2s ease;
}

.menu-categorias a:hover {

  background: #FE3000;

  color: white;

  transform: translateY(-2px);
}

.footer-redes {

  margin-top: 18px;
}

.footer-redes p {

  margin: 9px 0;

  font-size: 16px;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 10px;
}

.footer-redes i {

  font-size: 22px;

  color: #FE3000;
}

.btn-nav i {

  color: #001f3f;

  font-size: 20px;

  margin-right: 8px;
}

.cabecera-subcategoria {

  background: #e9eef7;

  border-left: 8px solid #FE3000;

  padding: 24px 22px;

  border-radius: 18px;

  margin: 35px 0 28px;

  text-align: center;

  box-shadow:
    0 5px 15px rgba(0,0,0,0.08);
}

.cabecera-subcategoria h3 {

  margin: 0;

  color: #001f3f;

  font-size: 30px;

  font-weight: 800;
}

.cabecera-subcategoria p {

  margin: 10px 0 0;

  color: #374151;

  font-size: 17px;

  line-height: 1.4;
}

.descripcion-herramienta {

  font-size: 15px;

  line-height: 1.45;

  min-height: 95px;

  color: #374151;
}

.card-herramienta h3 {

  font-size: 24px;

  color: #001f3f;

  font-weight: 800;

  padding-bottom: 10px;
}

.caracteristicas-herramienta {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 12px;

  padding: 0 18px 14px;
}

.caracteristica {

  border: 1px solid #d8dee9;

  border-radius: 14px;

  padding: 14px;

  text-align: center;

  background: #f8fafc;
}

.caracteristica i {

  font-size: 24px;

  color: #001f3f;

  margin-bottom: 8px;
}

.caracteristica span {

  display: block;

  font-size: 14px;

  color: #374151;
}

.caracteristica strong {

  display: block;

  font-size: 18px;

  color: #001f3f;

  margin-top: 4px;
}

.precio-herramienta {

  color: #FE3000;

  font-size: 28px;
}

.envio-info-herramienta {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 22px;

  flex-wrap: wrap;

  margin: 10px 0 18px;

  color: #001f3f;

  font-size: 15px;

  font-weight: 700;
}

.envio-info-herramienta span {

  display: flex;

  align-items: center;

  gap: 8px;
}

.envio-info-herramienta i {

  color: #001f3f;

  font-size: 17px;
}

.card-herramienta .btn-whatsapp i {

  color: #001f3f;

  margin-right: 8px;

   font-size: 24px;
}


/* =========================
   BUSCADOR HERRAMIENTAS
========================= */

.buscador-herramientas {

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.buscador-herramientas input {

  width: 420px;
  max-width: 100%;
  padding: 15px 20px;
  border-radius: 999px;
  border: 3px solid #001f3f;
  font-size: 16px;
  outline: none;
}

.buscador-herramientas button {

  background: #FE3000;
  color: white;
  border: 2px solid white;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.oculto-filtro {

  display: none !important;
}

/* =========================
   VISOR DE IMAGEN
========================= */

.img-producto {

  cursor: zoom-in;

  transition: transform 0.2s ease;
}

.img-producto:hover {

  transform: scale(1.03);
}

.visor-imagen {

  display: none;

  position: fixed;

  z-index: 99999;

  left: 0;

  top: 0;

  width: 100%;

  height: 100%;

  background: rgba(0,0,0,0.88);

  justify-content: center;

  align-items: center;

  padding: 30px;
}

.visor-imagen img {

  max-width: 92%;

  max-height: 92%;

  border-radius: 18px;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.5);
}

.cerrar-visor {

  position: absolute;

  top: 20px;

  right: 35px;

  color: white;

  font-size: 50px;

  font-weight: bold;

  cursor: pointer;
}