@import "tailwindcss";

:root {
  --color-primary: #00a0e1;
  --color-dark: #1877F2;
  --color-accent: #c8102e;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333333;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Header Styles */
.header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header__cont {
  max-width: 1520px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.LogoIso {
  height: 42px;
  width: auto;
  fill: #1877F2;
}

.LogoText {
  height: 32px;
  width: auto;
  fill: #1877F2;
}

.header__menuMobile {
  display: none;
  font-size: 28px;
  color: #1877F2;
  cursor: pointer;
}

.header__catalogo {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #00a0e1;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s;
  user-select: none;
}

.header__catalogo:hover {
  background-color: #0087be;
}

.header__buscador {
  flex: 1;
  max-width: 580px;
  position: relative;
}

.header__buscador form {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.header__buscador input {
  width: 100%;
  padding: 9px 40px 9px 16px;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  font-size: 13px;
  outline: none;
  background-color: #f9fafb;
  transition: all 0.2s;
}

.header__buscador input:focus {
  background-color: #ffffff;
  border-color: #00a0e1;
  box-shadow: 0 0 0 2px rgba(0, 160, 225, 0.2);
}

.header__buscador--lupa {
  position: absolute;
  right: 14px;
  color: #00a0e1;
  font-size: 15px;
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
}

.header__user a, .header__carrito a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1877F2;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s;
}

.header__user a:hover, .header__carrito a:hover {
  color: #00a0e1;
}

.header__user i, .header__carrito i {
  font-size: 20px;
  color: #1877F2;
}

.header__carrito {
  display: flex;
  align-items: center;
  position: relative;
}

.header__carrito--cantidad {
  margin-left: 6px;
}

.total_carrito {
  background-color: #c8102e;
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header Accesos Bar */
.header__accesos {
  background-color: #1877F2;
  color: #ffffff;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
}

.header__accesos--menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__accesos--menu--item a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  font-weight: 600;
  font-style: normal;
  transition: color 0.2s;
}

.header__accesos--menu--item a i {
  font-style: normal;
}

.header__accesos--menu--item a:hover {
  color: #00a0e1;
}

.btnSale {
  background-color: #c8102e !important;
  color: #ffffff !important;
  padding: 4px 10px !important;
  border-radius: 3px;
  font-weight: 800 !important;
}

.btnSale:hover {
  background-color: #a00d24 !important;
}

.btnNuevo {
  background-color: #00a0e1 !important;
  color: #ffffff !important;
  padding: 4px 10px !important;
  border-radius: 3px;
  font-weight: 800 !important;
}

.btnNuevo:hover {
  background-color: #0087be !important;
}

.header__accesos--tool {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__accesos--tool a {
  color: #cbd5e1;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s;
}

.header__accesos--tool a:hover {
  color: #ffffff;
}

/* Banner Portada Swiper */
.cont-portada_a {
  position: relative;
  width: 100%;
  background-color: #1877F2;
  overflow: hidden;
}

.flechas_slider_a {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
  z-index: 20;
}

.flecha_slider {
  width: 44px;
  height: 44px;
  background-color: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s;
  font-size: 20px;
}

.flecha_slider:hover {
  background-color: #00a0e1;
}

.cont-portada_a figure {
  margin: 0;
  width: 100%;
}

.cont-portada_a img {
  width: 100%;
  height: auto;
  display: block;
}

/* Banner Pagos B */
.banner-b {
  width: 100%;
  background-color: #ffffff;
  padding: 0;
  border-bottom: 1px solid #e5e7eb;
}

.banner-b img {
  width: 100%;
  height: auto;
  display: block;
}

/* Zona B: Destacados */
.zona-b {
  max-width: 1520px;
  margin: 0 auto;
  padding: 36px 20px;
}

.zona-b__titulos h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #1877F2;
  margin-bottom: 24px;
  text-transform: uppercase;
  border-left: 4px solid #00a0e1;
  padding-left: 12px;
}

.card__producto--item {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-col: column;
  transition: all 0.25s ease;
  position: relative;
  height: 100%;
}

.card__producto--item:hover {
  border-color: #00a0e1;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.card__producto--item--img {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.card__producto--item--img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.card__producto--item:hover .card__producto--item--img img {
  transform: scale(1.05);
}

.etiquetas__nuevo {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #c8102e;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  z-index: 10;
}

.card__producto--item--info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.card__producto--item--info h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #00a0e1;
  margin: 0 0 4px 0;
  letter-spacing: 0.5px;
}

.card__producto--item--info h3 {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 12px 0;
  line-height: 1.35;
  min-height: 36px;
}

.card__producto--item--info h3 a {
  color: inherit;
  text-decoration: none;
}

.card__producto--item--info h3 a:hover {
  color: #00a0e1;
}

.card__producto--item--info h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #1877F2;
  margin: 0;
}

/* Zona C: Policarbonatos */
.zona-c {
  width: 100%;
  margin: 10px auto 30px;
  padding: 0 20px;
  max-width: 1520px;
}

.zona-c img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Banner A: Sistemas */
.banner-a {
  max-width: 1520px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.banner-a h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #1877F2;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-left: 4px solid #00a0e1;
  padding-left: 12px;
}

.banner-a__cont {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.banner-a__cont--item {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: all 0.2s;
  cursor: pointer;
  height: 75px;
}

.banner-a__cont--item:hover {
  border-color: #00a0e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.banner-a__cont--item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Footer Styles */
.ivapie {
  background-color: #f3f4f6;
  text-align: center;
  padding: 8px 10px;
  font-size: 11px;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
}

#pie {
  background-color: #1877F2;
  color: #ffffff;
}

.menu_b {
  border-bottom: 1px solid #1877F2;
  padding: 14px 20px;
}

.menu_b ul {
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.menu_b li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu_b a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.menu_b a:hover {
  color: #ffffff;
}

.menu_b .separador {
  color: #334155;
}

.pie__cont {
  max-width: 1520px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.pie__cont--item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pie__cont--item--contacto {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pie__cont--item--contacto i {
  font-size: 26px;
  color: #00a0e1;
}

.pie__cont--item--contacto h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 2px 0;
  color: #ffffff;
}

.pie__cont--item--contacto a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 12px;
}

.pie__cont--item--contacto a:hover {
  color: #00a0e1;
}

.redes_pie {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.redes_pie a {
  color: #94a3b8;
  font-size: 20px;
  transition: color 0.2s;
}

.redes_pie a:hover {
  color: #00a0e1;
}

.wp-pie a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25d366;
  color: #ffffff !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 13px;
  text-decoration: none;
}

/* Small Subpie */
.small {
  background-color: #125ec4;
  color: #94a3b8;
  padding: 14px 20px;
  font-size: 11px;
}

.small__subpie {
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.small__subpie__firma {
  display: flex;
  align-items: center;
  gap: 16px;
}

.small__subpie__firma img {
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

/* WhatsApp Floating Button */
.cont-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  font-size: 30px;
  transition: transform 0.2s;
}

.cont-chat:hover {
  transform: scale(1.1);
}

/* Lateral Mobile & Catalogo Menu */
.lateral-sm {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1000;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}

.lateral-sm.abierto {
  left: 0;
}

.lateral-bg {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 999;
  display: none;
}

.lateral-bg.abierto {
  display: block;
}

.cont-menu_lateral_responsive {
  padding: 20px;
}

.cont-menu_lateral_responsive .login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

.cont-menu_lateral_responsive .login a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1877F2;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.lateral-sm__cerrar {
  font-size: 22px;
  color: #64748b;
  cursor: pointer;
}

.menu-a_lateral {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.menu-a_lateral li {
  margin-bottom: 10px;
}

.menu-a_lateral a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1f2937;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 0;
}

.item-titulo-destacado {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #00a0e1;
  padding: 10px 0;
  border-top: 1px solid #e5e7eb;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .header__menuMobile {
    display: block;
  }
  .header__catalogo {
    display: none;
  }
  .header__buscador {
    display: none;
  }
  .header__accesos--tool {
    display: none;
  }
}
-e 
.remodal, .remodal-wrapper, .remodal-overlay, #vtnvideo { display: none !important; visibility: hidden !important; pointer-events: none !important; }
