/* =========================================================
   NAGA ONLINE - STYLE.CSS ORDENADO
   Estructura:
   01 Base
   02 Botones / Cards
   03 Navbar
   04 Buscador predictivo
   05 Filtros superiores
   06 Layout general
   07 Sidebar categorias
   08 Catalogo / productos
   09 Producto individual
   10 Productos similares
   11 Home
   12 Banners / slider
   13 Consejos
   14 Paginas institucionales
   15 Contacto
   16 Admin
   17 Calidad catalogo
   18 Error 404
   19 WhatsApp flotante
   20 Footer
   21 Responsive tablet
   22 Responsive celular
========================================================= */

/* =========================
   01 BASE GENERAL
========================= */
html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f3f5f4;
  color: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

/* =========================
   02 BOTONES / CARDS
========================= */
.card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.table-card,
.admin-table-wrap {
  overflow-x: auto;
}

.btn {
  background: #39b54a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 7px;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  background: #2e9b3d;
}

.btn-outline {
  background: #fff;
  color: #39b54a;
  border: 1px solid #39b54a;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: #39b54a;
  color: #fff;
}

.search {
  padding: 12px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 7px;
  box-sizing: border-box;
}

/* =========================
   03 NAVBAR CORPORATIVO
========================= */
.navbar {
  background: #fff;
  color: #111;
  height: 100px;
  padding: 0 42px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 32px;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    136deg,
    #39b54a 0%,
    #39b54a 45%,
    #b71c1c 45%,
    #b71c1c 55%,
    #254a9b 55%,
    #254a9b 100%
  );
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo img {
  height: 72px;
  width: auto;
  display: block;
}

.navbar-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38px;
}

.nav-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #222;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f4f2;
  color: #39b54a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.nav-contact-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-contact-label {
  font-size: 10px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 3px;
}

.nav-contact-value {
  font-size: 13px;
  color: #111;
  font-weight: 700;
}

.nav-contact-item .fa-whatsapp {
  color: #25D366;
}

.nav-contact-item .fa-instagram {
  color: #E1306C;
}

.navbar-menu-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 6px;
  background: #f7f9f8;
  border: 1px solid #e1e5ea;
  border-radius: 999px;
}

.navbar-menu a {
  color: #222;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 13px;
  border-radius: 999px;
  transition: all .18s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.navbar-menu a i {
  font-size: 13px;
  color: #4fcf5f;
  transition: all .18s ease;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  background: #4fcf5f;
  color: #fff;
  box-shadow: 0 5px 14px rgba(57,181,74,.22);
}

.navbar-menu a:hover i,
.navbar-menu a.active i {
  color: #fff;
}

.navbar-login-mini {
  height: 42px;
  min-width: 42px;
  padding: 0 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2fb344;
  background: transparent;
  font-size: 15px;
  text-decoration: none;
  transition: .2s ease;
}

.navbar-login-mini:hover {
  background: #2fb344;
  color: #fff;
}

/* =========================
   04 BUSCADOR PREDICTIVO
========================= */
.buscador-wrap {
  position: relative;
  width: 100%;
  overflow: visible !important;
}

#buscador {
  width: 100%;
  height: 38px;
  box-sizing: border-box;
}

#resultados-buscador {
  display: none;
  position: absolute;
  top: 44px;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0 0 12px 12px;
  z-index: 999999;
  max-height: 360px;
  overflow-y: auto;
  box-shadow: 0 12px 25px rgba(0,0,0,.18);
}

.buscador-item {
  display: block;
  padding: 11px 14px;
  color: #111;
  text-decoration: none;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.buscador-item:hover {
  background: #eef2ee;
}

.buscador-nombre {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.buscador-item small {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 12px;
}

/* =========================
   05 FILTROS SUPERIORES
========================= */
.catalog-sticky {
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  z-index: 99990;
  background: #f3f5f4;
  padding: 12px 30px;
  box-sizing: border-box;
  overflow: visible !important;
}

.catalog-sticky .filters-card {
  max-width: 1055px;
  margin: 0 auto;
  overflow: visible !important;
}

.filters-card {
  padding: 14px;
  margin-bottom: 0;
}

.filters-grid {
  display: grid;
  grid-template-columns: 1fr 220px 220px 85px;
  gap: 10px;
  align-items: start;
}

/* =========================
   06 LAYOUT GENERAL
========================= */
.catalog-layout {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 200px 30px 30px;
  box-sizing: border-box;
  flex: 1;
}

.catalog-main {
  margin-left: 255px;
  min-width: 0;
}

.catalog-main.no-sidebar {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
}

/* =========================
   07 SIDEBAR CATEGORIAS
========================= */
.sidebar-categorias {
  position: fixed;
  top: 200px;
  left: 45px;
  width: 190px;
  height: calc(100vh - 200px);
  overflow-y: auto;
  background: #fff;
  z-index: 9990;
  padding: 18px 12px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.sidebar-categorias h3 {
  margin: 0 0 15px;
  font-size: 28px;
  font-weight: 700;
  color: #111;
}

.cat-group {
  margin-bottom: 8px;
}

.cat-parent {
  cursor: pointer;
  padding: 11px 12px;
  background: #f5f5f5;
  border: 1px solid #ececec;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  transition: .2s;
}

.cat-parent:hover {
  background: #ebebeb;
}

.cat-children {
  display: none;
  margin-top: 6px;
  padding-left: 8px;
}

.cat-link.hija {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  margin-bottom: 2px;
  text-decoration: none;
  color: #444;
  font-size: 13px;
  border-radius: 6px;
  transition: .2s;
}

.cat-link.hija:hover {
  background: #f3f5f7;
  color: #111;
}

.cat-link.hija small {
  color: #888;
  font-size: 11px;
}

.cat-link.active {
  background: #39b54a;
  color: #fff;
  font-weight: 600;
}

.cat-link.active small {
  color: rgba(255,255,255,.85);
}

.sidebar-categorias::-webkit-scrollbar {
  width: 6px;
}

.sidebar-categorias::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 10px;
}

.sidebar-categorias::-webkit-scrollbar-thumb:hover {
  background: #bdbdbd;
}

/* =========================
   08 CATALOGO / PRODUCTOS
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  gap: 24px;
  justify-content: start;
}

.product-card {
  width: 300px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 390px;
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.product-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.product-img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
}

.product-card h3 {
  font-size: 16px;
  line-height: 1.3;
  min-height: 62px;
  margin: 0 0 10px;
}

.sku {
  font-size: 13px;
  color: #555;
  margin: 0 0 5px;
}

.brand {
  font-size: 13px;
  color: #111;
  font-weight: bold;
  margin: 0 0 10px;
}

.price {
  font-size: 22px;
  font-weight: 400;
  color: #222;
  margin: auto 0 15px;
}

.precio-sin-imp {
  margin-top: 8px;
  font-size: 13px;
  color: #777;
  font-weight: 400;
}

.results-count {
  margin: 0 0 22px;
  color: #555;
  font-size: 15px;
}

.pagination {
  margin: 38px 0 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  clear: both;
}

.page-btn,
.page-dots {
  min-width: 40px;
  height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: #fff;
  color: #222;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 5px 16px rgba(0,0,0,.07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.page-dots {
  min-width: 22px;
  padding: 0 4px;
  background: transparent;
  box-shadow: none;
  color: #777;
}

.page-btn:hover,
.page-btn.active,
.page-btn.next {
  background: #4fcf5f;
  color: #fff;
  box-shadow: 0 6px 16px rgba(79,207,95,.25);
}

.page-btn.next {
  padding: 0 18px;
}

/* =========================
   09 PAGINA PRODUCTO
========================= */
.product-page {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 1fr);
  gap: 32px;
  padding: 28px;
  margin-bottom: 28px;
  box-sizing: border-box;
  overflow: hidden;
}

.main-product-image {
  border: 1px solid #e3e6ef;
  border-radius: 8px;
  width: 100%;
  height: 345px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.main-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 25px;
  box-sizing: border-box;
}

.thumb-product-image {
  margin-top: 20px;
  width: 95px;
  height: 95px;
  border: 1px solid #e3e6ef;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
}

.product-summary h1 {
  font-size: 20px;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.product-summary h3 {
  font-size: 15px;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.product-meta span {
  padding: 8px 12px;
  background: #f6f8f7;
  border: 1px solid #e1e5ea;
  border-radius: 999px;
  font-size: 13px;
  color: #444;
}

.product-price-box {
  margin-top: 18px;
  width: 55%;
  max-width: 420px;
  border: 1px solid #e3e6ef;
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 22px;
  font-weight: 400;
  color: #222;
  box-sizing: border-box;
}

.product-price-box-pro {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f8faf9;
  border: 1px solid #dfe5df;
}

.product-price-box-pro .price-label {
  font-size: 13px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: .7px;
  font-weight: 600;
}

.product-price-box-pro strong {
  font-size: 30px;
  font-weight: 500;
  color: #222;
}

.product-icons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 28px;
}

.product-description-box {
  padding: 28px;
}

.product-description-box h2 {
  margin-top: 0;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25D366;
  text-decoration: none;
}

.whatsapp-link i {
  font-size: 30px;
}

.whatsapp-link span {
  font-size: 13px;
  color: #555;
  font-weight: 400;
}

/* =========================
   10 PRODUCTOS SIMILARES
========================= */
.similar-products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.similar-product-card {
  background: #fff;
  border: 1px solid #e3e6ef;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

.similar-product-card a {
  text-decoration: none;
  color: inherit;
}

.similar-product-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.similar-product-img img {
  max-width: 100%;
  max-height: 135px;
  object-fit: contain;
}

.similar-product-info h3 {
  margin: 14px 0 10px;
  font-size: 15px;
  line-height: 1.25;
  color: #111;
}

.similar-product-info p {
  margin: 0;
  font-size: 13px;
  color: #555;
}

/* =========================
   11 HOME
========================= */
.home-naga {
  text-align: center;
  padding: 18px 45px 38px;
}

.home-logo-box img {
  max-width: 420px;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
}

.home-logo-box p,
.home-logo-box h2 {
  font-family: 'Lato', Arial, sans-serif;
}

.home-logo-box p {
  font-size: 22px;
  margin: 0;
  font-style: italic;
  font-weight: 400;
}

.home-logo-box h2 {
  font-size: 22px;
  margin: 0 0 18px;
  font-weight: 400;
}

.home-sales-box {
  margin: 12px auto 0;
  max-width: 780px;
  padding: 20px 22px;
  border: 1px solid #e1e5ea;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.home-sales-box h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 500;
  color: #111;
}

.home-sales-box p {
  margin: 0 0 6px;
  font-size: 16px;
  color: #555;
}

.home-sales-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.home-categories {
  max-width: 930px;
  margin: 0 auto 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 34px;
}

.home-category {
  text-decoration: none;
  color: #222;
}

.home-category img {
  width: 100%;
  height: 145px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #dfe3ef;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  padding: 12px;
  box-sizing: border-box;
}

.home-category span {
  display: block;
  margin-top: 12px;
  font-size: 28px;
  font-weight: 400;
}

.home-category:hover span {
  color: #39b54a;
}

.home-service h3 {
  font-size: 22px;
  margin: 15px 0 8px;
  text-align: center;
}

.home-service p {
  font-size: 22px;
  margin: 0;
  text-align: center;
}

.home-brands-box {
  margin: 35px auto 0;
  max-width: 780px;
  padding: 28px 24px;
  border: 1px solid #e1e5ea;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.home-brands-box h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 500;
  color: #111;
}

.home-brands-box p {
  margin: 0 0 22px;
  font-size: 16px;
  color: #555;
}

.home-brands-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.home-brands-list span {
  padding: 9px 16px;
  border: 1px solid #e1e5ea;
  border-radius: 999px;
  font-size: 14px;
  color: #333;
  background: #f8faf9;
}

.home-brands-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  align-items: center;
}

.brand-logo {
  height: 72px;
  padding: 14px 18px;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.brand-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  opacity: .95;
}

.brand-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.service-page-box {
  padding: 36px;
}

.service-intro {
  max-width: 850px;
  margin: 0 auto 28px;
  text-align: center;
  color: #444;
  font-size: 18px;
  line-height: 1.6;
}

.service-note-box {
  margin-top: 28px;
  background: #f8fafc;
  border-left: 5px solid #35c957;
  border-radius: 12px;
  padding: 18px 22px;
  color: #333;
  line-height: 1.55;
}

/* =========================
   12 BANNERS / SLIDER
========================= */
.home-banners {
  max-width: 1400px;
  margin: 0 auto 25px;
}

.hero-banner,
.hero-banner img {
  width: 100%;
}

.hero-banner img,
.slide img {
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.slider-banner {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 30px;
  overflow: hidden;
  border-radius: 14px;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

.slider-prev {
  left: 15px;
}

.slider-next {
  right: 15px;
}

.slider-dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

.slider-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 4px;
  cursor: pointer;
}

.slider-dot.active {
  background: #00b050;
}

/* =========================
   13 CONSEJOS
========================= */
.home-consejos {
  margin: 0;
}

.home-consejos h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 32px;
}

.consejos-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 0 130px;
}

.consejo-home-card,
.consejo-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 4px 15px rgba(0,0,0,.05);
  border: 1px solid #eceff3;
  transition: .2s;
}

.consejo-home-card {
  padding: 25px;
}

.consejo-home-card:hover,
.consejo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,.10);
  border-color: #39b54a;
}

.consejo-home-card h3 {
  font-size: 22px;
  margin: 0 0 15px;
  color: #222;
}

.consejo-home-card p {
  color: #666;
  line-height: 1.6;
}

.home-consejos-footer {
  text-align: center;
  margin-top: 30px;
}

.container-consejos {
  max-width: 1400px;
  margin: 120px auto 60px;
  padding: 0 25px;
}

.consejos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.consejo-card {
  overflow: hidden;
}

.consejo-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
}

.consejo-card-content {
  padding: 18px;
}

.consejo-card h2,
.consejo-card h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 12px;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.consejo-card h2 a,
.consejo-card h3 a {
  color: #222;
  text-decoration: none;
}

.consejo-card:hover h2,
.consejo-card:hover h3,
.consejo-card h2 a:hover,
.consejo-card h3 a:hover {
  color: #39b54a;
}

.consejo-card p {
  color: #666;
  line-height: 1.5;
  font-size: 14px;
  margin: 0 0 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.consejo-card .btn {
  padding: 10px 18px;
  margin-top: auto;
}

.container-consejo {
  max-width: 1100px;
  margin: 120px auto 60px;
  padding: 0 25px;
}

.articulo-consejo {
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

.articulo-consejo h1 {
  font-size: 42px;
  margin-bottom: 25px;
}

.consejo-imagen {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 30px;
}

.relacionados {
  margin-top: 40px;
}

.relacionados-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.relacionado-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,.05);
  transition: .2s;
}

.relacionado-card:hover {
  color: #39b54a;
  transform: translateY(-3px);
}

/* =========================
   14 PAGINAS INSTITUCIONALES
========================= */
.page-box {
  padding: 42px 46px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-box h1 {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 500;
  color: #111;
  text-align: center;
}

.page-box > p {
  max-width: 780px;
  margin: 0 auto 18px;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  text-align: center;
}

.empresa-titulo,
.page-box h1.empresa-titulo {
  font-family: 'Sansation', Arial, sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-detail-grid,
.company-values-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-detail-item,
.company-value-item {
  border: 1px solid #e3e6ef;
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

.service-detail-item i,
.company-value-item i {
  font-size: 42px;
  color: #39b54a;
  margin-bottom: 16px;
}

.service-detail-item h3,
.company-value-item h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #111;
}

.service-detail-item p,
.company-value-item p {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.45;
}

.page-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================
   15 CONTACTO
========================= */
.contact-page-box {
  padding: 34px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e3e6ef;
  border-radius: 14px;
  padding: 22px;
}

.contact-item i {
  color: #35c957;
  font-size: 28px;
  min-width: 32px;
  margin-top: 4px;
}

.contact-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.contact-item p {
  margin: 4px 0;
  color: #444;
  font-size: 15px;
}

.contact-actions-inline {
  margin-top: 26px;
  justify-content: center;
}

.contact-map-box {
  margin-top: 30px;
  background: #f8fafc;
  border: 1px solid #e3e6ef;
  border-radius: 14px;
  padding: 24px;
}

.contact-map-box h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.contact-map-box h2 i {
  color: #35c957;
  margin-right: 8px;
}

.contact-map-box iframe {
  border-radius: 14px;
  display: block;
}

/* =========================
   16 ADMIN
========================= */
.admin-dashboard {
  max-width: 1400px;
  margin: 50px auto;
  padding: 0 24px;
}

.admin-header {
  background: #fff;
  border-radius: 16px;
  padding: 26px 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-header h1 {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 500;
  color: #111;
}

.admin-header p {
  margin: 0;
  color: #666;
  font-size: 15px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.admin-card {
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 14px;
  padding: 20px 18px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: all .18s ease;
}

.admin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
  border-color: #4fcf5f;
}

.admin-card i {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f1f8f2;
  color: #4fcf5f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.admin-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 500;
}

.admin-card p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

.admin-table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
}

.admin-page {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 24px;
}

.password-box {
  display: flex;
  gap: 8px;
}

.password-box .search {
  flex: 1;
}

.toggle-pass {
  background: #f1f4f2;
  border: 1px solid #ccc;
  border-radius: 7px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
}

.toggle-pass:hover {
  background: #e1e5ea;
}

/* =========================
   17 CALIDAD CATALOGO
========================= */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.quality-card {
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}

.quality-card h3 {
  margin: 0 0 14px;
  font-size: 16px;
  color: #444;
}

.quality-card strong {
  font-size: 34px;
  color: #35c957;
}

/* =========================
   18 ERROR 404
========================= */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-sizing: border-box;
}

.error-box {
  max-width: 520px;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 45px 35px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.error-box h1 {
  margin: 0;
  font-size: 82px;
  color: #4fcf5f;
  font-family: 'Sansation', Arial, sans-serif;
}

.error-box h2 {
  margin: 8px 0 12px;
  font-size: 28px;
  color: #111;
}

.error-box p {
  margin: 0 0 28px;
  color: #666;
  font-size: 16px;
}

/* =========================
   19 WHATSAPP FLOTANTE
========================= */
.whatsapp-floating {
  position: fixed;
  right: 24px;
  bottom: 60px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  text-decoration: none;
  z-index: 100001;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  transition: transform .15s ease, box-shadow .15s ease;
}

.whatsapp-floating:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}

/* =========================
   20 FOOTER
========================= */
.footer {
  width: 100%;
  text-align: center;
  padding: 28px 20px;
  color: #666;
  box-sizing: border-box;
  clear: both;
  margin-top: auto;
  font-family: 'Sansation', Arial, sans-serif;
}

.footer-inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  font-family: 'Sansation', Arial, sans-serif;
}

/* =========================
   21 RESPONSIVE TABLET
========================= */
@media(max-width: 1100px) {
  .consejos-grid,
  .relacionados-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .similar-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media(max-width: 900px) {
  .navbar {
    height: auto;
    min-height: 100px;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 24px;
    text-align: center;
  }

  .navbar-logo {
    justify-content: center;
  }

  .navbar-contact {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .navbar-menu-wrap {
    justify-content: center;
    flex-wrap: wrap;
  }

  .navbar-menu {
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 18px;
    width: fit-content;
    margin: 0 auto;
  }

  .navbar-menu a {
    font-size: 12px;
    padding: 9px 12px;
  }

  .catalog-sticky {
    position: static;
    top: auto;
    padding: 12px 16px;
  }

  .catalog-layout {
    padding: 20px 16px 30px;
  }

  .catalog-main {
    margin-left: 0;
  }

  .sidebar-categorias {
    display: none;
  }

  .filters-grid {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .product-card {
    width: 100%;
  }

  .product-page {
    grid-template-columns: 1fr;
  }

  .product-price-box {
    width: 100%;
  }

  .home-categories,
  .home-brands-logos,
  .service-detail-grid,
  .company-values-grid,
  .admin-grid,
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .consejos-home-grid {
    grid-template-columns: 1fr;
    margin: 0 25px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   22 RESPONSIVE CELULAR
========================= */
@media(max-width: 520px) {
  .navbar {
    padding: 14px 12px;
  }

  .navbar-logo img {
    height: 62px;
  }

  .navbar-contact {
    display: none;
  }

  .navbar-menu {
    width: 100%;
    box-sizing: border-box;
    border-radius: 14px;
    gap: 6px;
  }

  .navbar-menu a {
    flex: 1 1 45%;
    justify-content: center;
    font-size: 12px;
    padding: 9px 8px;
  }

  .navbar-menu a i {
    font-size: 12px;
  }

  .catalog-sticky {
    padding: 10px 12px;
  }

  .catalog-layout {
    padding: 16px 12px 28px;
  }

  .grid,
  .similar-products-grid,
  .home-categories,
  .home-brands-logos,
  .service-detail-grid,
  .company-values-grid,
  .admin-grid,
  .quality-grid,
  .consejos-grid,
  .relacionados-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    width: 100%;
    min-height: auto;
  }

  .product-img {
    height: 165px;
  }

  .product-card h3 {
    min-height: auto;
  }

  .slide img,
  .hero-banner img {
    height: 170px;
  }

  .slider-prev,
  .slider-next {
    width: 36px;
    height: 36px;
    font-size: 19px;
  }

  .home-naga {
    padding: 18px;
  }

  .home-logo-box p,
  .home-logo-box h2 {
    font-size: 17px;
  }

  .home-sales-box {
    padding: 18px 14px;
  }

  .home-brands-list span {
    font-size: 13px;
    padding: 8px 12px;
  }

  .consejos-home-grid {
    margin: 0;
  }

  .container-consejos,
  .container-consejo {
    margin: 30px auto 40px;
    padding: 0 14px;
  }

  .articulo-consejo {
    padding: 24px 18px;
  }

  .articulo-consejo h1 {
    font-size: 28px;
  }

  .page-box {
    padding: 28px 18px;
  }

  .page-box h1 {
    font-size: 24px;
  }

  .contact-page-box,
  .service-page-box {
    padding: 22px 16px;
  }

  .product-page,
  .product-description-box {
    padding: 18px;
  }

  .main-product-image {
    height: 270px;
  }

  .product-price-box-pro strong {
    font-size: 26px;
  }

  .admin-dashboard,
  .admin-page {
    margin: 25px auto;
    padding: 0 14px;
  }

  .whatsapp-floating {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
    font-size: 31px;
  }
  
  
  
}
