@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #fafafa;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #000000e0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/*HEADER CON FLEX*/
header {
  background-color: #8faee9fc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.logo {
  flex-shrink: 0;
}

#logo-principal {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.secciones {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

.secciones a {
  color: #fffffff0;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.secciones a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/*INTRO CON FLEX */
.intro {
  background: linear-gradient(135deg, #013f71ed 0%, #0f4f7bfc 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.intro-titulo {
  font-size: clamp(2rem, 5vw, 3rem);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-style: italic;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.Desc-titulo {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 600px;
  opacity: 0.9;
}

/*SEC GENERAL */
.section {
  padding: 4rem 0;
}

.section-titulo {
  background: linear-gradient(135deg, #0f4f7bfc 0%, #1a5a8a 100%);
  color: #ffffff;
  font-style: italic;
  font-family: ui-monospace;
  font-weight: bold;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  padding: 1rem 2rem;
  margin-bottom: 3rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(15, 79, 123, 0.3);
}

/* GRID features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature h3 {
  font-family: system-ui;
  font-style: italic;
  background: linear-gradient(135deg, #c4dafa 0%, #a8c8f5 100%);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.feature p {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.productos-destacados {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-destacados {
  background: linear-gradient(135deg, #0f4f7bfc 0%, #1a5a8a 100%);
  color: #fdfdfd;
  font-style: italic;
  font-family: ui-monospace;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  padding: 1rem 2rem;
  margin-bottom: 3rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(15, 79, 123, 0.3);
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.producto {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.producto-img {
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px 8px 0 0;
}

.producto-img img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.producto-info {
  padding: 1.5rem;
}

.producto-info h3 {
  font-family: system-ui;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
  background: none;
  padding: 0;
}

.producto-info p {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.precio {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0f4f7bfc;
  text-align: right;
}

footer {
  background: linear-gradient(135deg, #013f71ed 0%, #0f4f7bfc 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer p {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

footer a {
  color: #c4dafa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .secciones {
    justify-content: center;
    gap: 1rem;
  }

  .secciones a {
    font-size: 16px;
    padding: 0.5rem;
  }

  .intro {
    padding: 2rem 0;
  }

  .section {
    padding: 2rem 0;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .productos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .productos-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .producto {
    margin: 0 10px;
  }

  .intro-titulo {
    font-size: 1.8rem;
  }

  .section-titulo,
  .section-destacados {
    font-size: 1.3rem;
    padding: 0.8rem 1rem;
  }
}

.producto {
  animation: fadeInUp 0.6s ease forwards;
}

.feature:nth-child(2) {
  animation-delay: 0.2s;
}

.feature:nth-child(3) {
  animation-delay: 0.4s;
}

.producto:nth-child(2) {
  animation-delay: 0.2s;
}

.producto:nth-child(3) {
  animation-delay: 0.4s;
}

body {
  background-color: #fafafa;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #000000e0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: #8faee9fc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.logo {
  flex-shrink: 0;
}

#logo-principal {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.secciones {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

.secciones a {
  color: #fffffff0;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.secciones a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.section {
  padding: 4rem 0;
}

.section-title {
  background: linear-gradient(135deg, #0f4f7bfc 0%, #1a5a8a 100%);
  color: #ffffff;
  font-style: italic;
  font-family: ui-monospace;
  font-weight: bold;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  padding: 1rem 2rem;
  margin-bottom: 3rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(15, 79, 123, 0.3);
}

.description-productos {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.productos-destacados {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.productos-catalogo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.producto {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.producto:hover .producto-img img {
  transform: scale(1.02);
}

.producto-info {
  padding: 1.5rem;
}

.producto-info h3 {
  font-family: system-ui;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
  background: none;
  padding: 0;
}

.producto-info p {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.precio {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0f4f7bfc;
  text-align: right;
}

footer {
  background: linear-gradient(135deg, #013f71ed 0%, #0f4f7bfc 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer p {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

footer a {
  color: #c4dafa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .secciones {
    justify-content: center;
    gap: 1rem;
  }

  .secciones a {
    font-size: 16px;
    padding: 0.5rem;
  }

  .section {
    padding: 2rem 0;
  }

  .productos-catalogo {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .productos-catalogo {
    grid-template-columns: 1fr;
  }

  .producto {
    margin: 0 10px;
  }

  .section-title {
    font-size: 1.3rem;
    padding: 0.8rem 1rem;
  }

  .producto-img {
    height: 200px;
  }
}
/* Estilos para la sección "Sobre Nosotros" */
.sobre-nosotros {
  background: linear-gradient(135deg, #013f71ed 0%, #0f4f7bfc 100%);
  color: white;
  padding: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-style: italic;
  color: white;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-content p {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.4;
  max-width: 600px;
}

/* Estilos para que todos los productos tengan la misma altura */
.producto {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.producto-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.producto-info h3 {
  margin-bottom: 10px;
}

.producto-info p {
  flex-grow: 1;
  margin-bottom: 15px;
}

.precio {
  margin-bottom: 15px;
  font-weight: bold;
}

/* Estilos para que todos los productos tengan la misma altura */
.producto {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.producto-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.producto-info h3 {
  margin-bottom: 10px;
}

.producto-info p {
  flex-grow: 1;
  margin-bottom: 15px;
}

.precio {
  margin-bottom: 15px;
  font-weight: bold;
}

/* Estilos para que todos los productos tengan la misma altura */
.producto {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.producto-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.producto-info h3 {
  margin-bottom: 10px;
}

.producto-info p {
  flex-grow: 1;
  margin-bottom: 15px;
}

.precio {
  margin-bottom: 15px;
  font-weight: bold;
}

/* Btn-Carrito*/
.Btn-Carrito {
  padding: 12px 24px;
  width: 100%;
  max-width: 200px;
  height: 45px;
  font-size: 16px;
  font-weight: 600;
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: auto;
}

.Btn-Carrito:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Btn-Login */
.auth-buttons {
  display: flex;
  gap: 2rem;
  margin-left: 6rem;
}

.auth-btn {
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.login-btn {
  background: linear-gradient(135deg, #163adf 0%, #764ba2 100%);
  color: white;
  border: 1px solid transparent;
}

.register-btn {
  background: linear-gradient(135deg, #163adf 0%, #764ba2 100%);
  color: white;
  border: 1px solid transparent;
}
