@charset "UTF-8";
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
@import url("https://fonts.googleapis.com/css?family=Lato:300,400,700,900");
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* ==========================================================
   MIXINS GENERALES
   ========================================================== */
/** 📱 Media Queries **/
/** 🧱 Grid Layout **/
/** 🔘 Botones reutilizables **/
html {
  font-size: 62.5%;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: "Lato", sans-serif;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #000000;
  margin: 0;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.contenedor {
  width: 95%;
  max-width: 120rem;
  margin: 0 auto;
}

p {
  font-size: 1.8rem;
  color: #333;
}

h1, h2, h3, h4 {
  font-family: "Lato", sans-serif;
  margin: 2rem 0;
  text-align: center;
  font-weight: 700;
}

/* ==========================================================
   CONFIGURACIÓN GLOBAL DE IMÁGENES
   ========================================================== */
/* 🔹 Reglas generales */
img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 🔹 EXCEPCIONES: logo e ícono del menú hamburguesa */
.header img,
.header .mobile-menu img {
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: 6rem !important;
  object-fit: contain !important;
}

/* Responsividad base */
@media (max-width: 768px) {
  body {
    font-size: 1.5rem;
  }
}
/* ==========================================================
   ESTRUCTURA BASE: Footer fijo al fondo
   ========================================================== */
/* 🔹 Asegura que el body ocupe toda la altura */
html, body {
  height: 100%;
}

/* 🔹 Usamos un contenedor flexible que empuje el footer hacia abajo */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* 100% de la ventana */
}

/* 🔹 El contenido principal crece para ocupar el espacio restante */
main {
  flex: 1;
}

/* 🔹 Asegura que elementos fuera del <main> no se vean afectados */
body > .hero-slider {
  flex-shrink: 0;
  width: 100%;
}

.boton-amarillo {
  background-color: #E08709;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 3rem;
  text-align: center;
  margin-top: 2.5rem;
  display: inline-block;
  border: none;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}
.boton-amarillo:hover {
  background-color: rgb(199.4849785408, 120.2253218884, 8.0150214592);
  cursor: pointer;
}

.boton-amarillo-block {
  background-color: #E08709;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 3rem;
  text-align: center;
  margin-top: 2.5rem;
  display: block;
  border: none;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}
.boton-amarillo-block:hover {
  background-color: rgb(199.4849785408, 120.2253218884, 8.0150214592);
  cursor: pointer;
}

.boton-verde {
  background-color: #71B100;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 3rem;
  text-align: center;
  margin-top: 2.5rem;
  display: inline-block;
  border: none;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}
.boton-verde:hover {
  background-color: rgb(96.7203389831, 151.5, 0);
  cursor: pointer;
}

.boton-rojo-block {
  background-color: rgb(189, 7, 7);
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 3rem;
  text-align: center;
  margin-top: 2.5rem;
  display: block;
  border: none;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
  width: 100%;
}
.boton-rojo-block:hover {
  background-color: rgb(164.4107142857, 6.0892857143, 6.0892857143);
  cursor: pointer;
}

.boton-verde-block {
  background-color: #71B100;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 3rem;
  text-align: center;
  margin-top: 2.5rem;
  display: block;
  border: none;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}
.boton-verde-block:hover {
  background-color: rgb(96.7203389831, 151.5, 0);
  cursor: pointer;
}

/** UI **/
/* ==========================================================
   HEADER FIJO Y FUNCIONAL
   ========================================================== */
.header {
  background-color: #333333;
  padding: 1rem 0;
  position: relative;
  z-index: 10;
  /* ======= MÓVIL ======= */
}
.header .contenido-header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.header .contenido-header .barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  /* === LOGO === */
  /* === NAVEGACIÓN === */
  /* === MENÚ HAMBURGUESA === */
}
.header .contenido-header .barra > a {
  display: flex;
  align-items: center;
}
.header .contenido-header .barra .navegacion {
  display: flex;
  align-items: center;
  justify-content: center; /* 🔹 centrado */
  flex: 1; /* 🔹 usa todo el espacio disponible */
  gap: 3rem;
}
.header .contenido-header .barra .navegacion a {
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}
.header .contenido-header .barra .navegacion a:hover {
  color: rgb(189, 7, 7);
  transform: translateY(-2px);
}
.header .contenido-header .barra .navegacion .login-icon .icon-login {
  width: 2.4rem;
  height: 2.4rem;
  fill: #fff;
  transition: fill 0.3s ease;
}
.header .contenido-header .barra .navegacion .login-icon:hover .icon-login {
  fill: rgb(189, 7, 7);
}
.header .contenido-header .barra .mobile-menu {
  display: none;
  cursor: pointer;
}
.header .contenido-header .barra .mobile-menu img {
  width: 3rem;
  transition: transform 0.4s ease;
  filter: brightness(0) invert(1);
}
@media (max-width: 992px) {
  .header .contenido-header .barra {
    justify-content: space-between;
  }
  .header .contenido-header .barra .mobile-menu {
    display: block;
  }
  .header .contenido-header .barra .navegacion {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 🔹 centra verticalmente */
    align-items: center;
    background: rgba(0, 0, 0, 0.95);
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }
  body.menu-abierto .header .contenido-header .barra .navegacion {
    opacity: 1;
    pointer-events: auto;
  }
  .header .contenido-header .barra .navegacion a {
    font-size: 2.4rem;
    color: #fff;
  }
  .header body.menu-abierto {
    overflow: hidden;
  }
  .header body.menu-abierto .mobile-menu img {
    transform: rotate(90deg);
  }
}

.footer {
  padding: 2.5rem 0;
  background-color: #333333;
  margin-bottom: 0;
  /* =============================================
     NAVEGACIÓN DEL FOOTER
     ============================================= */
  /* =============================================
     COPYRIGHT
     ============================================= */
  /* =============================================
     CRÉDITO DEL DESARROLLADOR
     ============================================= */
  /* =============================================
     RESPONSIVO
     ============================================= */
}
.footer .contenedor-footer {
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem; /* 🔹 un poco más de espacio entre secciones */
}
.footer .navegacion-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer .navegacion-footer a {
  color: #ddd;
  font-size: 2.8rem; /* 🔹 más legible */
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.25s ease;
  font-weight: 500;
}
.footer .navegacion-footer a:hover {
  color: rgb(189, 7, 7); /* color institucional */
  transform: translateY(-2px);
}
.footer .copyright {
  color: #f5f5f5;
  text-align: center;
  font-size: 2.6rem; /* 🔹 mayor legibilidad */
  margin-top: 1rem;
  line-height: 1.6;
  font-weight: 400;
}
.footer .copyright span {
  color: rgb(189, 7, 7);
  font-weight: 700;
  font-size: 2.6rem;
}
.footer .developer-credit {
  margin-top: 0.8rem;
  font-size: 1.5rem; /* 🔹 más visible */
  color: #ccc;
  text-align: center;
  font-weight: 400;
}
.footer .developer-credit a {
  color: rgb(238.1785714286, 8.8214285714, 8.8214285714);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer .developer-credit a:hover {
  color: rgb(189, 7, 7);
}
@media (max-width: 768px) {
  .footer .navegacion-footer {
    gap: 1.8rem;
  }
  .footer .navegacion-footer a {
    font-size: 1.6rem;
  }
  .footer .copyright {
    font-size: 1.4rem;
  }
  .footer .developer-credit {
    font-size: 1.3rem;
  }
}

/* ==========================================================
   PRODUCTOS (Antes Anuncios)
   ========================================================== */
/* ==========================================================
   TÍTULO PRINCIPAL DE PRODUCTOS
   ========================================================== */
.titulo-productos {
  text-align: center;
  text-transform: uppercase;
  color: #111;
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: 1px;
  margin: 4rem 0 3rem;
  position: relative;
}
.titulo-productos::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background-color: #e50019;
  margin: 1rem auto 0;
  border-radius: 2px;
  transition: width 0.3s ease;
}
.titulo-productos:hover::after {
  width: 120px;
}

/* === CONTENEDOR PRINCIPAL === */
.contenedor-anuncios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
  padding: 0 2rem 6rem;
  max-width: 1300px;
  margin-inline: auto;
}

/* === TARJETA DE PRODUCTO === */
.anuncio {
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* === Título del producto === */
  /* === Descripción === */
  /* === Precio === */
}
.anuncio:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.anuncio img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  display: block;
}
.anuncio .contenido-anuncio {
  padding: 2rem;
}
.anuncio h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}
.anuncio h3::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background-color: #e50019;
  margin: 0.8rem auto 0;
  border-radius: 2px;
  transition: width 0.3s ease;
}
.anuncio h3:hover::after {
  width: 80%;
}
.anuncio h3:hover {
  color: #b00014;
}
.anuncio p {
  font-size: 1.5rem;
  color: #555;
  text-align: justify;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.anuncio p.precio {
  text-align: center;
  font-weight: 700;
  color: #e50019;
  font-size: 1.8rem;
  margin: 1.5rem 0;
}

/* ==========================================================
   ICONOS DE CARACTERÍSTICAS
   ========================================================== */
.iconos-caracteristicas {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
}
.iconos-caracteristicas li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.iconos-caracteristicas li img.icono {
  width: 2.8rem !important;
  height: 2.8rem !important;
  object-fit: contain !important;
}
.iconos-caracteristicas li p {
  margin: 0;
  font-size: 1.3rem;
  color: #333;
}

/* ==========================================================
   BOTÓN PREMIUM - "Ver Producto"
   ========================================================== */
.boton-amarillo-block {
  display: inline-block;
  width: 100%;
  background: linear-gradient(135deg, #e50019, #b00014);
  color: #fff;
  text-align: center;
  padding: 1.2rem 2rem;
  border-radius: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
  cursor: pointer;
}
.boton-amarillo-block:hover {
  background: linear-gradient(135deg, #ff2e3d, #7a0010);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 4px 12px rgba(229, 0, 25, 0.3);
}

/* ==========================================================
   RESPONSIVIDAD
   ========================================================== */
@media (max-width: 768px) {
  .anuncio img {
    height: 18rem;
  }
  .anuncio h3 {
    font-size: 1.8rem;
  }
  .anuncio p {
    font-size: 1.4rem;
  }
  .boton-amarillo-block {
    font-size: 1.3rem;
  }
}
/* ==========================================================
   BOTÓN "VER PRODUCTO" - AJUSTE FINAL
   ========================================================== */
.anuncio .boton-amarillo-block {
  width: auto; /* 🔹 Solo el tamaño del contenido */
  min-width: 160px; /* 🔹 Evita que quede demasiado pequeño */
  margin: 0 auto 2rem; /* 🔹 Centrado dentro de la tarjeta */
  display: inline-block;
  text-align: center;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #e50019, #b00014);
  color: #fff;
  border-radius: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.anuncio .boton-amarillo-block:hover {
  background: linear-gradient(135deg, #ff2e3d, #7a0010);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(229, 0, 25, 0.35);
}

.contenedor-anuncios {
  align-items: stretch;
}

.anuncio {
  height: 100%;
}

/* ==========================================================
   LAYOUT: PRODUCTO INDIVIDUAL
========================================================== */
/* === CONTENEDOR PRINCIPAL === */
.contenido-centrado {
  max-width: 100rem;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

/* === TÍTULO === */
.titulo-producto {
  font-size: 3.2rem;
  margin-bottom: 2.5rem;
  text-align: center;
  color: #111;
  background-color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 0.8rem;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}
.titulo-producto:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ==========================================================
   GALERÍA DE IMÁGENES
========================================================== */
.galeria-producto {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

/* Imagen principal */
/* Imagen principal – llenar sin bandas y sin saltos */
.imagen-principal-container {
  width: 100%;
  max-width: 60rem; /* ajusta si quieres más ancho */
  aspect-ratio: 4/3; /* relación fija: evita que el alto cambie */
  overflow: hidden;
  border-radius: 0.8rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  background: #111; /* modo dark: fondo discreto detrás de la imagen */
  display: flex; /* centra mientras carga */
  align-items: center;
  justify-content: center;
}
.imagen-principal-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔹 llena el cuadro, sin “marcos” */
  transition: opacity 0.3s ease;
}
.imagen-principal-container .fade {
  opacity: 0;
}

/* (Opcional) si tus fotos son más panorámicas, prueba 16/9:
.imagen-principal-container { aspect-ratio: 16 / 9; }
*/
/* Miniaturas */
.miniaturas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-top: 1.5rem;
  padding-bottom: 1rem;
}
.miniaturas img {
  width: 9rem;
  height: 9rem;
  object-fit: cover;
  border-radius: 0.4rem;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border 0.3s ease, transform 0.3s ease;
}
.miniaturas img.activo {
  border-color: #e63946; /* 🔹 Color institucional */
  transform: scale(1.05);
}
.miniaturas img:hover {
  transform: scale(1.05);
}

/* ==========================================================
   INFORMACIÓN + DESCRIPCIÓN (mismo bloque visual)
========================================================== */
.resumen-producto {
  background-color: #f5f5f5;
  padding: 2.5rem 3rem;
  border-radius: 0.8rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 80rem;
  margin: 0 auto 4rem;
  transition: all 0.3s ease;
  /* 🔹 Hover unificado del bloque completo */
  /* 🔹 Descripción sin hover individual */
}
.resumen-producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  background-color: #fafafa;
}
.resumen-producto .precio {
  font-size: 2.4rem;
  color: rgb(189, 7, 7);
  font-weight: bold;
  margin-bottom: 1.8rem;
}
.resumen-producto .iconos-caracteristicas {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
}
.resumen-producto .iconos-caracteristicas li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border-radius: 0.6rem;
  padding: 0.6rem 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.resumen-producto .iconos-caracteristicas li img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  filter: none;
}
.resumen-producto .iconos-caracteristicas li p {
  margin: 0;
  font-size: 1.4rem;
  color: #333;
}
.resumen-producto .descripcion-producto {
  background: transparent;
  box-shadow: none;
  margin: 0;
  padding: 0;
  font-size: 1.7rem;
  color: #333;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  transition: none;
}

/* ==========================================================
   MODO OSCURO
========================================================== */
body.dark-mode .titulo-producto {
  color: #fff;
  background-color: #333;
}
body.dark-mode .imagen-principal-container {
  background-color: #111;
  box-shadow: 0 3px 10px rgba(255, 255, 255, 0.05);
}
body.dark-mode .miniaturas img {
  filter: brightness(0.9);
}
body.dark-mode .miniaturas img.activo {
  border-color: #e63946; /* 🔹 mismo color institucional */
}
body.dark-mode .resumen-producto {
  background-color: #222;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
}
body.dark-mode .resumen-producto:hover {
  background-color: #2a2a2a;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.08);
}
body.dark-mode .resumen-producto .precio {
  color: #2ecc71;
}
body.dark-mode .resumen-producto .iconos-caracteristicas li {
  background-color: #111;
  border: 1px solid #444;
}
body.dark-mode .resumen-producto .iconos-caracteristicas li img {
  filter: none; /* 🔹 deja los íconos como son */
}
body.dark-mode .resumen-producto .iconos-caracteristicas li p {
  color: #fff;
}
body.dark-mode .resumen-producto .descripcion-producto {
  color: #ccc;
  background: transparent;
}

.formulario {
  max-width: 85rem;
  margin: 0 auto 4rem;
  background-color: #f9f9f9;
  border-radius: 1rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}
.formulario legend {
  font-size: 2rem;
  color: #333333;
}
.formulario label {
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-top: 1rem;
}
.formulario input:not([type=submit]),
.formulario textarea,
.formulario select {
  padding: 1rem;
  display: block;
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #e1e1e1;
  border-radius: 1rem;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: #333;
}
.formulario textarea {
  height: 20rem;
}

/* ==========================================================
   LAYOUT: SUCURSALES - Diseño institucional limpio
   ========================================================== */
/* === Banner superior === */
.imagen-sucursales {
  position: relative;
  width: 100%;
  height: 340px;
  background-image: url("/build/img/sucursales.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5rem;
}
.imagen-sucursales::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.imagen-sucursales .contenido-banner {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
}
.imagen-sucursales .contenido-banner h1 {
  font-size: 3.2rem;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  position: relative;
}
.imagen-sucursales .contenido-banner h1::after {
  content: "";
  display: block;
  width: 6rem;
  height: 3px;
  background-color: #e50019;
  margin: 0.8rem auto 0;
  border-radius: 2px;
}
.imagen-sucursales .contenido-banner p {
  font-size: 2.6rem;
  opacity: 0.9;
}

/* === Contenedor de sucursales === */
.sucursales {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* === Tarjetas de sucursal === */
.sucursal {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sucursal:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.sucursal .contenido {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.sucursal .info {
  flex: 1 1 30rem;
  max-width: 45rem;
  text-align: left;
}
.sucursal .info h3 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  color: #222;
  position: relative;
}
.sucursal .info h3::after {
  content: "";
  display: block;
  width: 4rem;
  height: 3px;
  background-color: #e50019;
  margin-top: 0.5rem;
  border-radius: 2px;
}
.sucursal .info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sucursal .info ul li {
  font-size: 2rem;
  color: #555;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.sucursal .info ul li strong {
  color: #000;
}
.sucursal .mapa {
  flex: 1 1 40rem;
}
.sucursal .mapa iframe {
  width: 100%;
  height: 25rem;
  border: none;
  border-radius: 1rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
}

/* === Fondo neutro (opcional) === */
body {
  background-color: #f8f8f8;
}

/* === Responsive === */
@media (max-width: 768px) {
  .imagen-sucursales {
    height: 240px;
  }
  .imagen-sucursales .contenido-banner h1 {
    font-size: 2.4rem;
  }
  .sucursal .contenido {
    flex-direction: column;
    align-items: center;
  }
  .sucursal .info {
    text-align: center;
    max-width: 100%;
  }
}
/* ==========================================================
   BLOG PRINCIPAL - Diseño vertical tipo revista
   ========================================================== */
.blog-principal {
  padding-bottom: 6rem;
  margin-bottom: 2rem;
}
.blog-principal h1 {
  text-align: center;
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4rem;
  color: #111;
}
.blog-principal h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #e50019;
  margin: 1rem auto 0;
  border-radius: 2px;
}
.blog-principal .contenedor-blog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  width: 100%;
}
.blog-principal .tarjeta-blog {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 1100px;
}
.blog-principal .tarjeta-blog:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.blog-principal .tarjeta-blog .imagen {
  flex: 1.2;
  min-width: 300px;
}
.blog-principal .tarjeta-blog .imagen img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 1rem 0 0 1rem;
}
.blog-principal .tarjeta-blog .contenido {
  flex: 1;
  padding: 2rem 2.5rem;
}
.blog-principal .tarjeta-blog .contenido h3 {
  color: #e50019;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}
.blog-principal .tarjeta-blog .contenido h3:hover {
  color: #b00014;
}
.blog-principal .tarjeta-blog .contenido .meta {
  font-size: 1.4rem;
  color: #777;
  margin-bottom: 1.2rem;
}
.blog-principal .tarjeta-blog .contenido .meta span {
  color: #e50019;
  font-weight: 600;
}
.blog-principal .tarjeta-blog .contenido p {
  color: #555;
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: justify;
}
@media (max-width: 768px) {
  .blog-principal .tarjeta-blog {
    flex-direction: column;
  }
  .blog-principal .tarjeta-blog .imagen img {
    height: 220px;
    border-radius: 1rem 1rem 0 0;
  }
  .blog-principal .tarjeta-blog .contenido {
    padding: 1.5rem;
  }
}

/* ==========================================================
   ESTILO UNIFICADO PARA ENTRADAS DE BLOG INDIVIDUALES
   ========================================================== */
.contenido-centrado {
  max-width: 900px;
  margin: 6rem auto;
  padding: 0 2rem;
  background: #fff;
}
.contenido-centrado h1 {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  text-align: center;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 2.5rem;
  font-weight: 700;
  position: relative;
}
.contenido-centrado h1::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background-color: #e50019;
  margin: 1rem auto 0;
  border-radius: 2px;
}
.contenido-centrado picture {
  display: block;
  text-align: center;
  margin-bottom: 2.5rem;
}
.contenido-centrado picture img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 0.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
  cursor: pointer;
}
.contenido-centrado picture img:hover {
  transform: scale(1.02);
}
.contenido-centrado .informacion-meta {
  font-size: 1.4rem;
  color: #666;
  text-align: center;
  margin-bottom: 2rem;
}
.contenido-centrado .informacion-meta span {
  color: #e50019;
  font-weight: 600;
}
.contenido-centrado h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  text-align: center;
  margin: 2rem 0;
  color: #111;
  font-weight: 700;
  line-height: 1.4;
}
.contenido-centrado .resumen-propiedad p {
  color: #333;
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  line-height: 1.8;
  margin-bottom: 1.8rem;
  text-align: justify;
}
.contenido-centrado .resumen-propiedad p:first-letter {
  font-size: 2rem;
  font-weight: 700;
  color: #e50019;
  margin-right: 0.4rem;
}
.contenido-centrado .resumen-propiedad ul, .contenido-centrado .resumen-propiedad ol {
  margin-left: 2rem;
  margin-bottom: 1.8rem;
  font-size: 1.5rem;
  color: #444;
  line-height: 1.8;
}
.contenido-centrado .resumen-propiedad ul li, .contenido-centrado .resumen-propiedad ol li {
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .contenido-centrado {
    margin: 4rem auto;
  }
  .contenido-centrado h1 {
    font-size: 2.2rem;
  }
  .contenido-centrado picture img {
    max-height: 340px;
  }
  .contenido-centrado .resumen-propiedad p {
    font-size: 1.4rem;
  }
}

/* ==========================================================
   CONTACTO - Página pública moderna y proporcionada
   ========================================================== */
/* === Imagen superior (banner) === */
.imagen-contacto {
  position: relative;
  width: 100%;
  height: 380px;
  background-image: url("/build/img/contacto.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5rem;
}
.imagen-contacto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.imagen-contacto .contenido-contacto {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}
.imagen-contacto .contenido-contacto h2 {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.imagen-contacto .contenido-contacto h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background-color: #e50019;
  margin: 1rem auto 0;
  border-radius: 2px;
}
.imagen-contacto .contenido-contacto p {
  font-size: 1.8rem;
  color: #f9f9f9;
}

/* === Contenedor del formulario === */
.formulario-contacto {
  max-width: 850px;
  margin: 0 auto 6rem;
  padding: 3rem 4rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.formulario-contacto h2 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 3rem;
  text-transform: uppercase;
}
.formulario-contacto h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #e50019;
  margin: 1rem auto 0;
  border-radius: 2px;
}
.formulario-contacto fieldset {
  border: 1px solid #ddd;
  border-radius: 0.8rem;
  margin-bottom: 3rem;
  padding: 2.5rem;
}
.formulario-contacto fieldset legend {
  font-weight: 700;
  color: #e50019;
  padding: 0 1rem;
  font-size: 1.8rem;
}
.formulario-contacto label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: #333;
  font-size: 1.5rem;
}
.formulario-contacto input,
.formulario-contacto textarea,
.formulario-contacto select {
  width: 100%;
  padding: 1rem 1.3rem;
  border: 1px solid #ccc;
  border-radius: 0.6rem;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}
.formulario-contacto input:focus,
.formulario-contacto textarea:focus,
.formulario-contacto select:focus {
  border-color: #e50019;
  outline: none;
  box-shadow: 0 0 0 3px rgba(229, 0, 25, 0.1);
}
.formulario-contacto textarea {
  resize: none;
  height: 120px;
}
.formulario-contacto .forma-contacto {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
  margin: 1rem 0;
}
.formulario-contacto .forma-contacto label {
  text-transform: none;
  font-weight: 500;
  font-size: 1.5rem;
}
.formulario-contacto .forma-contacto input[type=radio] {
  width: auto;
  margin-right: 0.5rem;
}
.formulario-contacto .boton-enviar {
  display: inline-block;
  background-color: #e50019;
  color: #fff;
  padding: 1.2rem 3rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.formulario-contacto .boton-enviar:hover {
  background-color: #b00014;
  transform: scale(1.05);
}

/* === Responsive === */
@media (max-width: 768px) {
  .imagen-contacto {
    height: 280px;
  }
  .imagen-contacto .contenido-contacto h2 {
    font-size: 2rem;
  }
  .imagen-contacto .contenido-contacto p {
    font-size: 1.5rem;
  }
  .formulario-contacto {
    padding: 2rem;
  }
  .formulario-contacto fieldset {
    padding: 2rem;
  }
  .formulario-contacto label {
    font-size: 1.3rem;
  }
}
/* ==========================================================
   HERO SLIDER - Estilos específicos
   ========================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 950px;
  overflow: hidden;
  flex-shrink: 0;
  /* Botones navegación */
  /* Paginación */
}
.hero-slider .swiper,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
  width: 100%;
  height: 100%;
}
.hero-slider .swiper-slide {
  position: relative;
}
.hero-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.8);
  background-color: #000;
}
.hero-slider .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}
.hero-slider .swiper-slide .hero-text {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 2;
  color: #fff; /* 🔹 blanco puro */
  max-width: 480px;
  text-align: left; /* 🔹 justifica a la izquierda */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  animation: fadeIn 1.2s ease both;
}
.hero-slider .swiper-slide .hero-text h2 {
  color: #fff; /* 🔹 asegura blanco */
  font-size: clamp(2.6rem, 3vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.hero-slider .swiper-slide .hero-text p {
  color: #fff; /* 🔹 también en blanco */
  font-size: clamp(1.6rem, 1.8vw, 2rem);
  margin-bottom: 2rem;
}
.hero-slider .swiper-slide .hero-text .btn-red {
  display: inline-block;
  background-color: #e50019;
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease;
}
.hero-slider .swiper-slide .hero-text .btn-red:hover {
  background-color: #b00014;
  transform: scale(1.03);
}
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  color: #fff;
  z-index: 5;
  transition: opacity 0.3s ease;
}
.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
  opacity: 0.7;
}
.hero-slider .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.6);
}
.hero-slider .swiper-pagination-bullet-active {
  background: #e50019 !important;
}
@media (max-width: 768px) {
  .hero-slider {
    height: 75vh;
  }
  .hero-slider .hero-text {
    left: 5%;
    max-width: 90%;
    text-align: left;
  }
  .hero-slider .hero-text h2 {
    font-size: 2.2rem;
  }
  .hero-slider .hero-text p {
    font-size: 1.3rem;
  }
  .hero-slider .swiper-button-prev,
  .hero-slider .swiper-button-next {
    display: none;
  }
}

/* Animación de aparición */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================================================
   SECCIÓN DESTACADA + SLIDER DE PRODUCTOS (Versión premium)
   ========================================================== */
.productos-destacados {
  margin-top: 4rem;
  margin-bottom: 6rem;
  /* ==========================================================
     BLOQUE LATERAL DESTACADO (imagen viva con degradado inferior)
     ========================================================== */
  /* ==========================================================
     SLIDER DE PRODUCTOS
     ========================================================== */
  /* ==========================================================
     BOTÓN "VER TODOS"
     ========================================================== */
  /* ==========================================================
     RESPONSIVIDAD
     ========================================================== */
}
.productos-destacados .layout-productos {
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
  flex-wrap: nowrap;
}
@media (max-width: 992px) {
  .productos-destacados .layout-productos {
    flex-direction: column;
    align-items: center;
  }
}
.productos-destacados .destacado-vertical {
  flex: 0 0 26%;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  /* === Overlay con degradado inferior (texto sobre imagen) === */
}
.productos-destacados .destacado-vertical img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  display: block;
  filter: brightness(1.05) contrast(1.05);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.productos-destacados .destacado-vertical img:hover {
  filter: brightness(1.15) contrast(1.1);
  transform: scale(1.04);
}
.productos-destacados .destacado-vertical .overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
}
.productos-destacados .destacado-vertical .overlay-text h3 {
  font-size: clamp(2rem, 2.5vw, 2.6rem);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
}
.productos-destacados .destacado-vertical .overlay-text h3 span {
  display: block;
  font-size: clamp(2.6rem, 3vw, 3.4rem);
  color: #e50019;
  margin-top: 0.3rem;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
}
.productos-destacados .destacado-vertical .overlay-text p {
  font-size: clamp(1.4rem, 1.8vw, 1.6rem);
  margin: 0.6rem 0;
  line-height: 1.5;
  color: #fefefe;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.productos-destacados .destacado-vertical .overlay-text .btn-rojo {
  margin-top: 1.8rem;
  background-color: #e50019;
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-size: 1.4rem;
  letter-spacing: 0.4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.productos-destacados .destacado-vertical .overlay-text .btn-rojo:hover {
  background-color: #b00014;
  transform: scale(1.07);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.productos-destacados .productos-slider {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding: 0 1rem;
  /* === Tarjeta individual === */
  /* ==========================================================
     CONTROLES DE NAVEGACIÓN
     ========================================================== */
}
.productos-destacados .productos-slider .swiper {
  width: 100%;
  height: 100%;
  min-height: 340px;
  padding: 2rem 0 3rem;
}
.productos-destacados .productos-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: auto;
}
.productos-destacados .productos-slider .card-producto {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  width: 100%;
  max-width: 290px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.productos-destacados .productos-slider .card-producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
}
.productos-destacados .productos-slider .card-producto .img-wrapper {
  width: 100%;
  height: 200px;
  background: #f8f8f8;
  overflow: hidden;
  flex-shrink: 0;
  border-bottom: 2px solid #f2f2f2;
}
.productos-destacados .productos-slider .card-producto .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.productos-destacados .productos-slider .card-producto .img-wrapper img:hover {
  transform: scale(1.06);
}
.productos-destacados .productos-slider .card-producto .info {
  flex: 1;
  padding: 1.6rem 1.2rem;
}
.productos-destacados .productos-slider .card-producto .info h3 {
  font-size: 1.7rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}
.productos-destacados .productos-slider .card-producto .info .precio {
  font-size: 1.6rem;
  font-weight: 700;
  color: #e50019;
  margin-bottom: 1.4rem;
}
.productos-destacados .productos-slider .card-producto .info .btn-rojo {
  background-color: #e50019;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 0.5rem;
  font-size: 1.3rem;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease;
}
.productos-destacados .productos-slider .card-producto .info .btn-rojo:hover {
  background-color: #b00014;
}
.productos-destacados .productos-slider .swiper-button-prev,
.productos-destacados .productos-slider .swiper-button-next {
  color: #e50019;
  width: 2.8rem;
  height: 2.8rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  transition: all 0.3s ease;
}
.productos-destacados .productos-slider .swiper-button-prev:hover,
.productos-destacados .productos-slider .swiper-button-next:hover {
  background-color: #e50019;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.productos-destacados .productos-slider .swiper-pagination {
  margin-top: 2rem;
}
.productos-destacados .productos-slider .swiper-pagination-bullet {
  background-color: rgba(229, 0, 25, 0.5);
}
.productos-destacados .productos-slider .swiper-pagination-bullet-active {
  background-color: #e50019 !important;
}
.productos-destacados .productos-slider .no-products {
  text-align: center;
  color: #777;
  padding: 2rem;
  font-size: 1.5rem;
}
.productos-destacados .ver-todos {
  text-align: center;
  margin-top: 3.5rem;
}
.productos-destacados .ver-todos .btn-ver-todos {
  display: inline-block;
  border: 2px solid #e50019;
  color: #e50019;
  padding: 1rem 3rem;
  border-radius: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-size: 1.4rem;
  letter-spacing: 0.4px;
}
.productos-destacados .ver-todos .btn-ver-todos:hover {
  background-color: #e50019;
  color: #fff;
  transform: scale(1.05);
}
@media (max-width: 992px) {
  .productos-destacados .destacado-vertical {
    min-height: 420px;
    flex: none;
  }
}
@media (max-width: 768px) {
  .productos-destacados .destacado-vertical {
    min-height: 380px;
  }
  .productos-destacados .card-producto {
    max-width: 85%;
    margin: 0 auto;
  }
  .productos-destacados .swiper-button-prev,
  .productos-destacados .swiper-button-next {
    display: none;
  }
}

/* ==========================================================
   ESTILOS DE LA PÁGINA DE INICIO (index.php)
   ========================================================== */
/* === TÍTULO INTERMEDIO ENTRE SLIDERS === */
.titulo-intermedio {
  text-align: center;
  margin: 4rem auto 3rem;
}
.titulo-intermedio h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}
.titulo-intermedio h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 80%;
  background-color: #e50019;
  margin: 0.8rem auto 0;
}

/* ==========================================================
   SECCIÓN MÁS SOBRE NOSOTROS
   ========================================================== */
.iconos-nosotros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  justify-items: center; /* 🔹 centra cada bloque dentro del grid */
}
.iconos-nosotros .icono {
  display: flex;
  flex-direction: column;
  align-items: center; /* 🔹 centra todo dentro del bloque */
  justify-content: center;
  text-align: center;
  max-width: 280px;
  transition: transform 0.3s ease;
  padding: 1rem;
}
.iconos-nosotros .icono:hover {
  transform: translateY(-6px);
}
.iconos-nosotros .icono img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.2rem;
  filter: brightness(0) saturate(100%) invert(14%) sepia(93%) saturate(7493%) hue-rotate(353deg) brightness(97%) contrast(114%);
  transition: transform 0.3s ease;
}
.iconos-nosotros .icono img:hover {
  transform: scale(1.05);
}
.iconos-nosotros .icono h3 {
  color: #e50019;
  text-transform: uppercase;
  margin: 1rem 0 0.8rem;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.iconos-nosotros .icono p {
  color: #333;
  line-height: 1.6;
  font-size: 2.3rem;
  max-width: 90%;
  margin: 0 auto;
  text-align: justify;
}
@media (max-width: 768px) {
  .iconos-nosotros {
    gap: 2rem;
  }
  .iconos-nosotros .icono img {
    width: 70px;
    height: 70px;
  }
  .iconos-nosotros .icono h3 {
    font-size: 1.4rem;
  }
  .iconos-nosotros .icono p {
    font-size: 1.3rem;
  }
}

/* ==========================================================
   SECCIÓN DE CONTACTO (Imagen elegante con overlay y animación)
   ========================================================== */
.imagen-contacto {
  position: relative;
  background-image: url("/build/img/contacto-elegante.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6rem 0;
  overflow: hidden;
  transition: transform 1.5s ease, background-size 1.5s ease;
}
.imagen-contacto:hover {
  background-size: 105%; /* 🔹 Zoom sutil al pasar el cursor */
}
.imagen-contacto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.imagen-contacto .contenido-contacto {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 2rem;
  max-width: 700px;
}
.imagen-contacto .contenido-contacto h2 {
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}
.imagen-contacto .contenido-contacto h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 80%;
  background-color: #e50019;
  margin: 1rem auto 0;
}
.imagen-contacto .contenido-contacto p {
  font-size: clamp(1.6rem, 2vw, 2rem); /* 🔹 Más grande y legible */
  color: #fff; /* 🔹 Blanco puro para contraste */
  margin-bottom: 2.4rem;
  line-height: 1.7;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); /* 🔹 Sombra para visibilidad */
}
.imagen-contacto .contenido-contacto a.btn-contacto {
  background-color: #e50019;
  color: #fff;
  padding: 1.2rem 2.5rem;
  border-radius: 0.6rem;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}
.imagen-contacto .contenido-contacto a.btn-contacto:hover {
  background-color: #b00014;
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .imagen-contacto {
    height: 400px;
  }
  .imagen-contacto .contenido-contacto {
    padding: 1.5rem;
    max-width: 90%;
  }
  .imagen-contacto .contenido-contacto h2 {
    font-size: 2.2rem;
  }
  .imagen-contacto .contenido-contacto p {
    font-size: 1.4rem;
  }
  .imagen-contacto .contenido-contacto a.btn-contacto {
    font-size: 1.2rem;
    padding: 1rem 2rem;
  }
}

/* ==========================================================
   BLOG EN INDEX - Tarjetas horizontales animadas
   ========================================================== */
.blog {
  margin: 6rem auto;
  max-width: 1200px;
  padding: 0 2rem;
}
.blog h3 {
  text-align: center;
  text-transform: uppercase;
  font-size: 2.6rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 4rem;
  position: relative;
}
.blog h3::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background-color: #e50019;
  margin: 1rem auto 0;
  border-radius: 2px;
}
.blog .contenedor-blog {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  width: 100%;
}
.blog .entrada-blog {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.35s ease;
  max-width: 350px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.blog .entrada-blog:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.blog .entrada-blog .imagen {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.blog .entrada-blog .imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
}
.blog .entrada-blog .imagen:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}
.blog .entrada-blog .texto-entrada {
  padding: 1.8rem 1.5rem;
}
.blog .entrada-blog .texto-entrada h4 {
  color: #e50019;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
  display: inline-block;
}
.blog .entrada-blog .texto-entrada h4:hover {
  color: #b00014;
  border-bottom: 2px solid #e50019;
}
.blog .entrada-blog .texto-entrada .informacion-meta {
  font-size: 1.2rem;
  color: #777;
  margin-bottom: 1rem;
}
.blog .entrada-blog .texto-entrada p {
  font-size: 1.3rem;
  color: #333;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .blog .contenedor-blog {
    flex-direction: column;
    align-items: center;
  }
  .blog .entrada-blog {
    max-width: 90%;
  }
}

/** Páginas Internas **/
/* ==========================================================
   ESTILOS ESPECÍFICOS PARA PÁGINA NOSOTROS
   ========================================================== */
.pagina-nosotros {
  /* ==========================================================
     SECCIÓN NOSOTROS
     ========================================================== */
  /* ==========================================================
     SECCIÓN ICONOS DE NOSOTROS
     ========================================================== */
  /* ==========================================================
     TÍTULOS CON SUBRAYADO ELEGANTE (solo en esta página)
     ========================================================== */
}
.pagina-nosotros .contenido-nosotros {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  text-align: justify;
  /* 🔹 Layout en dos columnas desde tablet */
  /* === IMAGEN === */
  /* === TEXTO === */
}
@media (min-width: 768px) {
  .pagina-nosotros .contenido-nosotros {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}
.pagina-nosotros .contenido-nosotros .imagen picture,
.pagina-nosotros .contenido-nosotros .imagen img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}
.pagina-nosotros .contenido-nosotros .texto-nosotros {
  font-size: 1.7rem;
  line-height: 1.7;
  color: #000000;
  text-align: justify;
  /* === BLOQUE DESTACADO === */
}
.pagina-nosotros .contenido-nosotros .texto-nosotros p {
  margin-bottom: 1.6rem;
}
.pagina-nosotros .contenido-nosotros .texto-nosotros blockquote {
  font-weight: 700;
  font-size: 2rem;
  color: rgb(189, 7, 7);
  border-left: 5px solid rgb(189, 7, 7);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  background-color: rgba(189, 7, 7, 0.05);
  border-radius: 0.6rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.pagina-nosotros .iconos-nosotros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}
.pagina-nosotros .iconos-nosotros .icono {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  flex: 1 1 30rem;
  max-width: 35rem;
}
.pagina-nosotros .iconos-nosotros .icono img {
  width: 5rem;
  margin: 0 auto 1rem;
  display: block;
}
.pagina-nosotros .iconos-nosotros .icono h3 {
  color: rgb(189, 7, 7);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.pagina-nosotros .iconos-nosotros .icono p {
  color: #333;
  font-size: 1.5rem;
  line-height: 1.6;
}
.pagina-nosotros h1 {
  position: relative;
  display: inline-block;
  font-size: 3rem;
  color: #000000;
  text-align: center;
  margin: 0 auto 2rem;
  padding-bottom: 0.8rem;
}
.pagina-nosotros h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 80px;
  height: 3px;
  background-color: rgb(189, 7, 7);
  border-radius: 2px;
  animation: underlineIn 0.6s ease-out forwards;
}
@keyframes underlineIn {
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

/* =====================================================
   PANEL ADMIN - DISEÑO FINAL REFINADO Y RESPONSIVE
===================================================== */
/* === ESTRUCTURA GENERAL === */
main.contenedor-admin,
main.contenedor.seccion {
  background-color: #f5f5f5;
  padding: 3rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  font-size: 1.8rem;
}

/* =====================================================
   CABECERA PRINCIPAL (H1 ADMIN)
===================================================== */
.titulo-admin {
  color: #E53935;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 2px solid #E53935;
  display: inline-block;
  padding-bottom: 0.5rem;
  background: none;
  box-shadow: none;
  margin: 2rem auto 1.5rem; /* 🔥 centra horizontalmente */
}

.titulo-admin-container {
  text-align: center; /* 🔥 centra el bloque inline */
  width: 100%;
}

/* =====================================================
   BOTÓN NUEVO PRODUCTO
===================================================== */
.boton.boton-verde {
  background-color: #fff;
  color: #e43d30;
  border: 2px solid #e43d30;
  padding: 1rem 2.5rem;
  border-radius: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}
.boton.boton-verde:hover {
  background-color: #e43d30;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(228, 61, 48, 0.35);
}

/* =====================================================
   FORMULARIO ADMIN - AJUSTE DE ANCHO Y TIPOGRAFÍA
===================================================== */
.formulario {
  max-width: 900px; /* 🔹 Más ancho, casi como la tabla */
  margin: 0 auto 4rem;
  background-color: #fff;
  border-radius: 1rem;
  padding: 3.5rem 4rem; /* 🔹 Más espacio interno */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  font-size: 1.9rem; /* 🔹 Letra un poco más grande */
}

.formulario label {
  font-weight: 600;
  margin-top: 1.4rem;
  display: block;
  text-transform: uppercase;
  font-size: 1.8rem; /* 🔹 Más legible */
}

.formulario input:not([type=submit]),
.formulario textarea,
.formulario select {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 1.4rem;
  margin-bottom: 2.2rem;
  font-size: 1.75rem;
  color: #333;
  transition: all 0.3s ease;
}

.formulario input:not([type=submit]):focus,
.formulario textarea:focus,
.formulario select:focus {
  border-color: #e43d30;
  box-shadow: 0 0 0 2px rgba(228, 61, 48, 0.2);
  outline: none;
}

.formulario textarea {
  height: 18rem;
  resize: none;
}

.formulario input[type=submit] {
  background-color: #e43d30;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1.3rem 3.6rem; /* 🔹 Botón más proporcionado */
  border-radius: 0.6rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: block;
  margin: 2rem auto 0 auto;
}

.formulario input[type=submit]:hover {
  background-color: #c92a22;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

/* =====================================================
   TABLA DE PRODUCTOS
===================================================== */
table.propiedades {
  width: 90%; /* 🔹 centrada y con márgenes laterales iguales */
  margin: 0 auto;
  border-collapse: collapse;
  margin-top: 2.5rem;
  text-align: center;
  font-size: 1.7rem;
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

table.propiedades thead {
  background-color: #e43d30;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
}

table.propiedades th,
table.propiedades td {
  padding: 1.6rem;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

table.propiedades tbody tr {
  transition: all 0.3s ease;
}
table.propiedades tbody tr:hover {
  background-color: #fafafa;
}

/* === Imágenes === */
.imagen-tabla {
  width: 95px;
  height: 75px;
  object-fit: cover;
  border-radius: 0.5rem;
  display: block;
  margin: 0 auto;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.imagen-tabla:hover {
  transform: scale(1.05);
}

/* === Botones === */
.boton-amarillo-block {
  background-color: #e43d30;
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: 0.5rem;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.5rem;
  border: none;
  width: 140px;
  text-align: center;
  transition: all 0.3s ease;
}
.boton-amarillo-block:hover {
  background-color: #c92a22;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(228, 61, 48, 0.35);
}

.boton-rojo-block {
  background-color: transparent;
  color: #e43d30;
  border: 2px solid #e43d30;
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.8rem 2.1rem;
  font-size: 1.5rem;
  text-transform: uppercase;
  width: 140px;
  text-align: center;
  transition: all 0.3s ease;
}
.boton-rojo-block:hover {
  background-color: #e43d30;
  color: #fff;
  box-shadow: 0 4px 10px rgba(228, 61, 48, 0.35);
}

td:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 992px) {
  .titulo-admin {
    font-size: 2.6rem;
    padding: 1.4rem;
    max-width: 90%;
  }
  .formulario {
    max-width: 90%;
    padding: 2rem;
    font-size: 1.6rem;
  }
  table.propiedades {
    width: 95%;
    font-size: 1.5rem;
  }
  .boton-amarillo-block,
  .boton-rojo-block {
    font-size: 1.3rem;
    width: 120px;
  }
}
@media (max-width: 600px) {
  table.propiedades {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 1.4rem;
  }
  .titulo-admin {
    font-size: 2rem;
    padding: 1.2rem;
  }
  .formulario {
    font-size: 1.5rem;
  }
}
/* =====================================================
   BOTÓN NUEVO PRODUCTO - CENTRADO INSTITUCIONAL
===================================================== */
.contenedor-btn-centrado {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0 2.5rem;
}

.boton.boton-verde {
  background-color: #fff;
  color: #e43d30;
  border: 2px solid #e43d30;
  padding: 1rem 2.8rem;
  border-radius: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.7rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.boton.boton-verde:hover {
  background-color: #e43d30;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(228, 61, 48, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
  .boton.boton-verde {
    font-size: 1.5rem;
    padding: 0.8rem 2rem;
  }
}
/* =====================================================
   BOTÓN VOLVER - ALINEADO CON FORMULARIO
===================================================== */
.contenedor-volver {
  max-width: 900px; /* mismo ancho que el formulario */
  margin: 0 auto 1rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.boton-volver {
  background-color: #fff;
  color: #e43d30;
  border: 2px solid #e43d30;
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.8rem 2.2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.boton-volver:hover {
  background-color: #e43d30;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(228, 61, 48, 0.35);
}

/* =====================================================
   MINIATURAS DE IMÁGENES EN FORMULARIO
===================================================== */
/* =====================================================
   GALERÍA DE IMÁGENES EN FORMULARIO ADMIN (HORIZONTAL)
===================================================== */
/* Contenedor general de imágenes */
.galeria-admin {
  display: flex;
  flex-wrap: wrap; /* permite varias filas si hay muchas imágenes */
  justify-content: flex-start; /* o center si prefieres centrado */
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Cada imagen + botón */
.galeria-admin .imagen-extra {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border-radius: 0.6rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 0.8rem;
  transition: transform 0.2s ease;
}

.galeria-admin .imagen-extra:hover {
  transform: translateY(-2px);
}

/* Imágenes miniatura */
.galeria-admin img {
  width: 110px;
  height: 90px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Botón eliminar */
.galeria-admin .boton-rojo-block {
  background-color: transparent;
  color: #e43d30;
  border: 2px solid #e43d30;
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.5rem 1.8rem;
  font-size: 1.4rem;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.3s ease;
  width: auto;
}

.galeria-admin .boton-rojo-block:hover {
  background-color: #e43d30;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(228, 61, 48, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
  .galeria-admin {
    justify-content: center;
  }
  .galeria-admin img {
    width: 90px;
    height: 75px;
  }
  .galeria-admin .boton-rojo-block {
    font-size: 1.3rem;
    padding: 0.4rem 1.5rem;
  }
}
/* ==========================================================
   TÍTULO DE FORMULARIO (Crear / Actualizar Producto)
   ========================================================== */
.titulo-formulario {
  text-align: center;
  text-transform: uppercase;
  color: #111;
  font-size: clamp(2.4rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: 1px;
  margin: 3rem 0 2rem;
  position: relative;
}

.titulo-formulario::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background-color: #e50019;
  margin: 1rem auto 0;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.titulo-formulario:hover::after {
  width: 120px;
}

/* =====================================================
   TÍTULOS DE FORMULARIOS (CREAR / ACTUALIZAR PRODUCTO)
===================================================== */
.titulo-formulario {
  text-align: center;
  text-transform: uppercase;
  color: #111;
  font-size: clamp(2.4rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.8px;
  margin: 2rem 0 3rem;
  position: relative;
}
.titulo-formulario::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #e43d30;
  margin: 1rem auto 0;
  border-radius: 2px;
  transition: width 0.3s ease;
}
.titulo-formulario:hover::after {
  width: 110px;
}

/* =====================================================
   BOTÓN PRINCIPAL ROJO (CREAR / ACTUALIZAR PRODUCTO)
===================================================== */
.boton-principal {
  background-color: #e43d30;
  color: #fff;
  border: none;
  border-radius: 0.6rem;
  padding: 1.2rem 3rem;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 2rem auto 0 auto; /* 🔹 centrado */
}
.boton-principal:hover {
  background-color: #c92a22;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

/*# sourceMappingURL=app.css.map */
