/* =====================================================
   css/ecommerce.css  |  Tema CJ Informática (Bootstrap 5.3)
   Reemplaza a sb-admin-2.min.css y a los <style> de cada página
   ===================================================== */

:root {
  --cj-blue: #1a73ff;
  --cj-cyan: #00c6ff;
  --cj-navy: #0b3c74;
  --cj-dark: #0f2027;
  --cj-gradient: linear-gradient(135deg, #0f2027, #0b3c74, #1a5fd0);
  --cj-gradient-btn: linear-gradient(45deg, #1a73ff, #00c6ff);
  --cj-radius: 14px;

  /* Color primario de Bootstrap */
  --bs-primary: #1a73ff;
  --bs-primary-rgb: 26, 115, 255;
  --bs-link-color: #1a73ff;
  --bs-link-hover-color: #0b5ed7;
}

body {
  background: #f5f7fb;
}

/* Páginas con fondo azul (login, registro, solicitar cuenta) */
body.bg-tech {
  background: var(--cj-gradient) fixed;
  color: #fff;
}

#animated-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* ---------- Botones ---------- */
.btn-primary {
  --bs-btn-bg: #1a73ff;
  --bs-btn-border-color: #1a73ff;
  --bs-btn-hover-bg: #0b5ed7;
  --bs-btn-hover-border-color: #0b5ed7;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a58ca;
  --bs-btn-disabled-bg: #1a73ff;
  --bs-btn-disabled-border-color: #1a73ff;
}

.btn-outline-primary {
  --bs-btn-color: #1a73ff;
  --bs-btn-border-color: #1a73ff;
  --bs-btn-hover-bg: #1a73ff;
  --bs-btn-hover-border-color: #1a73ff;
  --bs-btn-active-bg: #1a73ff;
  --bs-btn-active-border-color: #1a73ff;
}

.btn-cj {
  background: var(--cj-gradient-btn);
  border: 0;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-cj:hover,
.btn-cj:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 150, 255, .55);
}

/* ---------- Header ---------- */
.header-cj {
  background: linear-gradient(90deg, #1b2735, #2a5298);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}

.header-cj .navbar-brand {
  font-weight: 700;
  letter-spacing: .5px;
}

.header-cj .nav-link {
  transition: color .2s ease;
}

.header-cj .nav-link.active {
  box-shadow: inset 0 -2px 0 var(--cj-cyan);
}

.header-cj .btn-outline-light:hover {
  color: #2a5298;
}

/* Menú móvil (panel lateral) */
@media (max-width: 991.98px) {
  .header-cj .offcanvas {
    --bs-offcanvas-bg: #14213d;
  }

  .header-cj .nav-link {
    padding: .8rem 1rem;
    border-radius: 8px;
  }

  .header-cj .nav-link.active {
    box-shadow: none;
    background: rgba(255, 255, 255, .1);
  }
}

/* ---------- Hero ---------- */
.hero-tech {
  background: url('../img/imgtecno.webp') center / cover no-repeat;
}

.hero-overlay {
  background: linear-gradient(rgba(10, 20, 40, .85), rgba(10, 20, 40, .85));
  padding: clamp(70px, 12vw, 130px) 0;
}

.hero-tech h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 800;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .6);
}

.hero-tech .lead {
  max-width: 800px;
  margin-inline: auto;
}

/* Cabecera simple de las páginas con fondo azul */
.hero-simple {
  text-align: center;
  padding: clamp(35px, 6vw, 60px) 1rem 1rem;
}

.hero-simple h1 {
  color: #4e9cff;
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.hero-simple p {
  color: rgba(255, 255, 255, .85);
}

.hero-simple i.float {
  animation: cj-flotar 3s ease-in-out infinite;
}

/* ---------- Títulos de sección ---------- */
.section-title {
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: .75rem auto 0;
  border-radius: 4px;
  background: var(--cj-gradient-btn);
}

/* ---------- Productos ---------- */
.product-card {
  border: 0;
  border-radius: var(--cj-radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .15) !important;
}

.product-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fc;
  padding: 10px;
}

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

.product-title {
  font-size: .9rem;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--cj-blue);
}

@media (max-width: 575.98px) {
  .product-img {
    height: 140px;
  }
}

/* ---------- Servicios ---------- */
.service-card {
  border: 0;
  border-radius: var(--cj-radius);
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.service-icon {
  font-size: 2.6rem;
  color: var(--cj-blue);
  margin-bottom: 1rem;
}

/* ---------- Tarjeta de vidrio (formularios) ---------- */
.glass-card {
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  animation: cj-aparecer .8s ease;
}

.glass-card .form-label {
  font-weight: 600;
  color: #fff;
}

.glass-card .form-control,
.glass-card .form-select {
  background-color: rgba(255, 255, 255, .95);
  border: 1px solid transparent;
  border-radius: 8px;
  color: #333;
}

.glass-card .form-control:focus,
.glass-card .form-select:focus {
  background-color: #fff;
  border-color: #3aa0ff;
  box-shadow: 0 0 10px rgba(58, 160, 255, .5);
}

.glass-card .btn-ver-pass {
  background: rgba(255, 255, 255, .95);
  border: 1px solid transparent;
  color: #555;
}

.glass-card .btn-ver-pass:hover {
  background: #fff;
  color: var(--cj-blue);
}

.tipo-box {
  background: rgba(0, 0, 0, .15);
  border-radius: 12px;
  padding: 1.1rem;
}

.tipo-ayuda {
  display: block;
  margin-top: .5rem;
  color: rgba(255, 255, 255, .85);
  font-size: .85rem;
}

/* ---------- Footer ---------- */
.footer-cj {
  background: var(--cj-gradient);
  color: #ccc;
}

.footer-text {
  color: rgba(255, 255, 255, .75);
}

.footer-cj a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-cj a:hover {
  color: #4e9cff;
}

.social-icons a {
  font-size: 1.25rem;
  margin-inline: .4rem;
  display: inline-block;
  transition: color .2s ease, transform .2s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.footer-line {
  border-color: rgba(255, 255, 255, .15);
}

.footer-copy {
  color: rgba(255, 255, 255, .6);
}

/* ---------- Animaciones ---------- */
@keyframes cj-aparecer {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cj-flotar {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}


































/* =====================================================
   css/ecommerce.css  |  Tema CJ Informática (Bootstrap 5.3)
   Reemplaza a sb-admin-2.min.css y a los <style> de cada página
   ===================================================== */

:root {
  --cj-blue: #1a73ff;
  --cj-cyan: #00c6ff;
  --cj-navy: #0b3c74;
  --cj-dark: #0f2027;
  --cj-gradient: linear-gradient(135deg, #0f2027, #0b3c74, #1a5fd0);
  --cj-gradient-btn: linear-gradient(45deg, #1a73ff, #00c6ff);
  --cj-radius: 14px;

  /* Color primario de Bootstrap */
  --bs-primary: #1a73ff;
  --bs-primary-rgb: 26, 115, 255;
  --bs-link-color: #1a73ff;
  --bs-link-hover-color: #0b5ed7;
}

body {
  background: #f5f7fb;
}

/* Páginas con fondo azul (login, registro, solicitar cuenta) */
body.bg-tech {
  background: var(--cj-gradient) fixed;
  color: #fff;
}

#animated-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* ---------- Botones ---------- */
.btn-primary {
  --bs-btn-bg: #1a73ff;
  --bs-btn-border-color: #1a73ff;
  --bs-btn-hover-bg: #0b5ed7;
  --bs-btn-hover-border-color: #0b5ed7;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a58ca;
  --bs-btn-disabled-bg: #1a73ff;
  --bs-btn-disabled-border-color: #1a73ff;
}

.btn-outline-primary {
  --bs-btn-color: #1a73ff;
  --bs-btn-border-color: #1a73ff;
  --bs-btn-hover-bg: #1a73ff;
  --bs-btn-hover-border-color: #1a73ff;
  --bs-btn-active-bg: #1a73ff;
  --bs-btn-active-border-color: #1a73ff;
}

.btn-cj {
  background: var(--cj-gradient-btn);
  border: 0;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-cj:hover,
.btn-cj:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 150, 255, .55);
}

/* ---------- Header ---------- */
.header-cj {
  background: linear-gradient(90deg, #1b2735, #2a5298);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}

.header-cj .navbar-brand {
  font-weight: 700;
  letter-spacing: .5px;
}

.header-cj .nav-link {
  transition: color .2s ease;
}

.header-cj .nav-link.active {
  box-shadow: inset 0 -2px 0 var(--cj-cyan);
}

.header-cj .btn-outline-light:hover {
  color: #2a5298;
}

/* Menú móvil (panel lateral) */
@media (max-width: 991.98px) {
  .header-cj .offcanvas {
    --bs-offcanvas-bg: #14213d;
  }

  .header-cj .nav-link {
    padding: .8rem 1rem;
    border-radius: 8px;
  }

  .header-cj .nav-link.active {
    box-shadow: none;
    background: rgba(255, 255, 255, .1);
  }
}

/* ---------- Hero ---------- */
.hero-tech {
  background: url('../img/imgtecno.webp') center / cover no-repeat;
}

.hero-overlay {
  background: linear-gradient(rgba(10, 20, 40, .85), rgba(10, 20, 40, .85));
  padding: clamp(70px, 12vw, 130px) 0;
}

.hero-tech h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 800;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .6);
}

.hero-tech .lead {
  max-width: 800px;
  margin-inline: auto;
}

/* Cabecera simple de las páginas con fondo azul */
.hero-simple {
  text-align: center;
  padding: clamp(35px, 6vw, 60px) 1rem 1rem;
}

.hero-simple h1 {
  color: #4e9cff;
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.hero-simple p {
  color: rgba(255, 255, 255, .85);
}

.hero-simple i.float {
  animation: cj-flotar 3s ease-in-out infinite;
}

/* ---------- Títulos de sección ---------- */
.section-title {
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: .75rem auto 0;
  border-radius: 4px;
  background: var(--cj-gradient-btn);
}

/* ---------- Productos ---------- */
.product-card {
  border: 0;
  border-radius: var(--cj-radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .15) !important;
}

.product-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fc;
  padding: 10px;
}

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

.product-title {
  font-size: .9rem;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--cj-blue);
}

@media (max-width: 575.98px) {
  .product-img {
    height: 140px;
  }
}

/* ---------- Servicios ---------- */
.service-card {
  border: 0;
  border-radius: var(--cj-radius);
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.service-icon {
  font-size: 2.6rem;
  color: var(--cj-blue);
  margin-bottom: 1rem;
}

/* ---------- Tarjeta de vidrio (formularios) ---------- */
.glass-card {
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  animation: cj-aparecer .8s ease;
}

.glass-card .form-label {
  font-weight: 600;
  color: #fff;
}

.glass-card .form-control,
.glass-card .form-select {
  background-color: rgba(255, 255, 255, .95);
  border: 1px solid transparent;
  border-radius: 8px;
  color: #333;
}

.glass-card .form-control:focus,
.glass-card .form-select:focus {
  background-color: #fff;
  border-color: #3aa0ff;
  box-shadow: 0 0 10px rgba(58, 160, 255, .5);
}

.glass-card .btn-ver-pass {
  background: rgba(255, 255, 255, .95);
  border: 1px solid transparent;
  color: #555;
}

.glass-card .btn-ver-pass:hover {
  background: #fff;
  color: var(--cj-blue);
}

.tipo-box {
  background: rgba(0, 0, 0, .15);
  border-radius: 12px;
  padding: 1.1rem;
}

.tipo-ayuda {
  display: block;
  margin-top: .5rem;
  color: rgba(255, 255, 255, .85);
  font-size: .85rem;
}

/* ---------- Footer ---------- */
.footer-cj {
  background: var(--cj-gradient);
  color: #ccc;
}

.footer-text {
  color: rgba(255, 255, 255, .75);
}

.footer-cj a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-cj a:hover {
  color: #4e9cff;
}

.social-icons a {
  font-size: 1.25rem;
  margin-inline: .4rem;
  display: inline-block;
  transition: color .2s ease, transform .2s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.footer-line {
  border-color: rgba(255, 255, 255, .15);
}

.footer-copy {
  color: rgba(255, 255, 255, .6);
}

/* ---------- Animaciones ---------- */
@keyframes cj-aparecer {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cj-flotar {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* =====================================================
   AGREGADOS: tienda, páginas internas, login
   ===================================================== */

/* ---------- Títulos de página (fondo claro) ---------- */
.page-title {
  font-weight: 800;
  color: var(--cj-blue);
}

/* ---------- Tienda ---------- */
.buscador-tienda {
  max-width: 520px;
  margin-inline: auto;
  position: relative;
}

.buscador-tienda .form-control {
  border: 1px solid var(--cj-blue);
  border-radius: 30px 0 0 30px;
  box-shadow: 0 0 6px rgba(26, 115, 255, .25);
}

.buscador-tienda .input-group-text {
  background: var(--cj-blue);
  border-color: var(--cj-blue);
  color: #fff;
  border-radius: 0 30px 30px 0;
}

#sugerencias {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1000;
  max-height: 220px;
  overflow-y: auto;
  border-radius: 10px;
  display: none;
  text-align: left;
}

#sugerencias .list-group-item {
  cursor: pointer;
}

#sugerencias .list-group-item:hover {
  background: var(--cj-blue);
  color: #fff;
}

.product-img-lg {
  height: 220px;
}

.product-card .product-img img {
  transition: transform .35s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.badge-stock {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  font-size: .75rem;
  padding: .45em .9em;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
}

.stock-warning {
  font-size: .75rem;
  font-weight: 600;
  color: #d39e00;
}

/* ---------- Nosotros ---------- */
.about-icon {
  font-size: 3rem;
  color: var(--cj-blue);
  transition: transform .3s ease, color .3s ease;
}

.about-icon:hover {
  transform: scale(1.15);
  color: #2a5298;
}

.local-card {
  border-radius: 15px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

.local-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform .35s ease;
}

.local-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.local-card:hover img {
  transform: scale(1.08);
}

.map-card {
  border-radius: 15px;
  overflow: hidden;
}

.whatsapp-btn {
  border-radius: 40px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

/* ---------- Login ---------- */
#loader-wrapper {
  position: fixed;
  inset: 0;
  background: #0b3c74;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .8s;
}

#loader-wrapper.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  text-align: center;
  color: #fff;
}

.loader-logo i {
  font-size: 3rem;
  color: #4e9cff;
  animation: cj-pulso 1.5s infinite;
}

.loader-text {
  margin-top: 10px;
  font-weight: 700;
}

.alert-login {
  display: none;
  background: #dc3545;
  color: #fff;
  font-weight: 700;
  padding: 10px;
  border-radius: .5rem;
}

.icono-flotante {
  animation: cj-flotar 3s ease-in-out infinite;
}

@keyframes cj-pulso {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.2); }
}

/* ---------- Carrito ---------- */
.cart-thumb {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f8f9fc;
  padding: 4px;
}

.cart-item .qty-input {
  max-width: 110px;
}

.cart-resumen {
  border: 0;
  border-radius: var(--cj-radius);
}


























/* =====================================================
   css/ecommerce.css  |  Tema CJ Informática (Bootstrap 5.3)
   Reemplaza a sb-admin-2.min.css y a los <style> de cada página
   ===================================================== */

:root {
  --cj-blue: #1a73ff;
  --cj-cyan: #00c6ff;
  --cj-navy: #0b3c74;
  --cj-dark: #0f2027;
  --cj-gradient: linear-gradient(135deg, #0f2027, #0b3c74, #1a5fd0);
  --cj-gradient-btn: linear-gradient(45deg, #1a73ff, #00c6ff);
  --cj-radius: 14px;

  /* Color primario de Bootstrap */
  --bs-primary: #1a73ff;
  --bs-primary-rgb: 26, 115, 255;
  --bs-link-color: #1a73ff;
  --bs-link-hover-color: #0b5ed7;
}

body {
  background: #f5f7fb;
}

/* Páginas con fondo azul (login, registro, solicitar cuenta) */
body.bg-tech {
  background: var(--cj-gradient) fixed;
  color: #fff;
}

#animated-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* ---------- Botones ---------- */
.btn-primary {
  --bs-btn-bg: #1a73ff;
  --bs-btn-border-color: #1a73ff;
  --bs-btn-hover-bg: #0b5ed7;
  --bs-btn-hover-border-color: #0b5ed7;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a58ca;
  --bs-btn-disabled-bg: #1a73ff;
  --bs-btn-disabled-border-color: #1a73ff;
}

.btn-outline-primary {
  --bs-btn-color: #1a73ff;
  --bs-btn-border-color: #1a73ff;
  --bs-btn-hover-bg: #1a73ff;
  --bs-btn-hover-border-color: #1a73ff;
  --bs-btn-active-bg: #1a73ff;
  --bs-btn-active-border-color: #1a73ff;
}

.btn-cj {
  background: var(--cj-gradient-btn);
  border: 0;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-cj:hover,
.btn-cj:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 150, 255, .55);
}

/* ---------- Header ---------- */
.header-cj {
  background: linear-gradient(90deg, #1b2735, #2a5298);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}

.header-cj .navbar-brand {
  font-weight: 700;
  letter-spacing: .5px;
}

.header-cj .nav-link {
  transition: color .2s ease;
}

.header-cj .nav-link.active {
  box-shadow: inset 0 -2px 0 var(--cj-cyan);
}

.header-cj .btn-outline-light:hover {
  color: #2a5298;
}

/* Menú móvil (panel lateral) */
@media (max-width: 991.98px) {
  .header-cj .offcanvas {
    --bs-offcanvas-bg: #14213d;
  }

  .header-cj .nav-link {
    padding: .8rem 1rem;
    border-radius: 8px;
  }

  .header-cj .nav-link.active {
    box-shadow: none;
    background: rgba(255, 255, 255, .1);
  }
}

/* ---------- Hero ---------- */
.hero-tech {
  background: url('../img/imgtecno.webp') center / cover no-repeat;
}

.hero-overlay {
  background: linear-gradient(rgba(10, 20, 40, .85), rgba(10, 20, 40, .85));
  padding: clamp(70px, 12vw, 130px) 0;
}

.hero-tech h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 800;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .6);
}

.hero-tech .lead {
  max-width: 800px;
  margin-inline: auto;
}

/* Cabecera simple de las páginas con fondo azul */
.hero-simple {
  text-align: center;
  padding: clamp(35px, 6vw, 60px) 1rem 1rem;
}

.hero-simple h1 {
  color: #4e9cff;
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.hero-simple p {
  color: rgba(255, 255, 255, .85);
}

.hero-simple i.float {
  animation: cj-flotar 3s ease-in-out infinite;
}

/* ---------- Títulos de sección ---------- */
.section-title {
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: .75rem auto 0;
  border-radius: 4px;
  background: var(--cj-gradient-btn);
}

/* ---------- Productos ---------- */
.product-card {
  border: 0;
  border-radius: var(--cj-radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .15) !important;
}

.product-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fc;
  padding: 10px;
}

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

.product-title {
  font-size: .9rem;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--cj-blue);
}

@media (max-width: 575.98px) {
  .product-img {
    height: 140px;
  }
}

/* ---------- Servicios ---------- */
.service-card {
  border: 0;
  border-radius: var(--cj-radius);
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.service-icon {
  font-size: 2.6rem;
  color: var(--cj-blue);
  margin-bottom: 1rem;
}

/* ---------- Tarjeta de vidrio (formularios) ---------- */
.glass-card {
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  animation: cj-aparecer .8s ease;
}

.glass-card .form-label {
  font-weight: 600;
  color: #fff;
}

.glass-card .form-control,
.glass-card .form-select {
  background-color: rgba(255, 255, 255, .95);
  border: 1px solid transparent;
  border-radius: 8px;
  color: #333;
}

.glass-card .form-control:focus,
.glass-card .form-select:focus {
  background-color: #fff;
  border-color: #3aa0ff;
  box-shadow: 0 0 10px rgba(58, 160, 255, .5);
}

.glass-card .btn-ver-pass {
  background: rgba(255, 255, 255, .95);
  border: 1px solid transparent;
  color: #555;
}

.glass-card .btn-ver-pass:hover {
  background: #fff;
  color: var(--cj-blue);
}

.tipo-box {
  background: rgba(0, 0, 0, .15);
  border-radius: 12px;
  padding: 1.1rem;
}

.tipo-ayuda {
  display: block;
  margin-top: .5rem;
  color: rgba(255, 255, 255, .85);
  font-size: .85rem;
}

/* ---------- Footer ---------- */
.footer-cj {
  background: var(--cj-gradient);
  color: #ccc;
}

.footer-text {
  color: rgba(255, 255, 255, .75);
}

.footer-cj a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-cj a:hover {
  color: #4e9cff;
}

.social-icons a {
  font-size: 1.25rem;
  margin-inline: .4rem;
  display: inline-block;
  transition: color .2s ease, transform .2s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.footer-line {
  border-color: rgba(255, 255, 255, .15);
}

.footer-copy {
  color: rgba(255, 255, 255, .6);
}

/* ---------- Animaciones ---------- */
@keyframes cj-aparecer {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cj-flotar {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* =====================================================
   AGREGADOS: tienda, páginas internas, login
   ===================================================== */

/* ---------- Títulos de página (fondo claro) ---------- */
.page-title {
  font-weight: 800;
  color: var(--cj-blue);
}

/* ---------- Tienda ---------- */
.buscador-tienda {
  max-width: 520px;
  margin-inline: auto;
  position: relative;
}

.buscador-tienda .form-control {
  border: 1px solid var(--cj-blue);
  border-radius: 30px 0 0 30px;
  box-shadow: 0 0 6px rgba(26, 115, 255, .25);
}

.buscador-tienda .input-group-text {
  background: var(--cj-blue);
  border-color: var(--cj-blue);
  color: #fff;
  border-radius: 0 30px 30px 0;
}

#sugerencias {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1000;
  max-height: 220px;
  overflow-y: auto;
  border-radius: 10px;
  display: none;
  text-align: left;
}

#sugerencias .list-group-item {
  cursor: pointer;
}

#sugerencias .list-group-item:hover {
  background: var(--cj-blue);
  color: #fff;
}

.product-img-lg {
  height: 220px;
}

.product-card .product-img img {
  transition: transform .35s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.badge-stock {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  font-size: .75rem;
  padding: .45em .9em;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
}

.stock-warning {
  font-size: .75rem;
  font-weight: 600;
  color: #d39e00;
}

/* ---------- Nosotros ---------- */
.about-icon {
  font-size: 3rem;
  color: var(--cj-blue);
  transition: transform .3s ease, color .3s ease;
}

.about-icon:hover {
  transform: scale(1.15);
  color: #2a5298;
}

.local-card {
  border-radius: 15px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

.local-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform .35s ease;
}

.local-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.local-card:hover img {
  transform: scale(1.08);
}

.map-card {
  border-radius: 15px;
  overflow: hidden;
}

.whatsapp-btn {
  border-radius: 40px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

/* ---------- Login ---------- */
#loader-wrapper {
  position: fixed;
  inset: 0;
  background: #0b3c74;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .8s;
}

#loader-wrapper.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  text-align: center;
  color: #fff;
}

.loader-logo i {
  font-size: 3rem;
  color: #4e9cff;
  animation: cj-pulso 1.5s infinite;
}

.loader-text {
  margin-top: 10px;
  font-weight: 700;
}

.alert-login {
  display: none;
  background: #dc3545;
  color: #fff;
  font-weight: 700;
  padding: 10px;
  border-radius: .5rem;
}

.icono-flotante {
  animation: cj-flotar 3s ease-in-out infinite;
}

@keyframes cj-pulso {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.2); }
}

/* ---------- Carrito ---------- */
.cart-thumb {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f8f9fc;
  padding: 4px;
}

.cart-item .qty-input {
  max-width: 110px;
}

.cart-resumen {
  border: 0;
  border-radius: var(--cj-radius);
}