/* Reset básico */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Roboto, sans-serif; color: #111; }

/* Layout principal */
.container {
  display: flex;
  min-height: 100vh;
}

/* Panel izquierdo */
.left-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;   /* evita que la imagen se desborde */
}

.left-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* hace que la imagen se recorte y se ajuste al panel */
  display: block;
}

/* Panel derecho */
.right-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 2rem;
}

.login-box {
  max-width: 360px;
  width: 100%;
  text-align: center;
}

.logo {
  width: 120px;       /* antes 80px → ahora más grande */
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;  /* mantiene centrado */
  margin-right: auto; /* mantiene centrado */
}


h1 {
  font-size: 2.8rem;       /* más grande */
  margin-bottom: 1.5rem;
  color: #f7931e;          /* naranja intenso */
  font-weight: 800;        /* más grueso */
  letter-spacing: 2px;     /* un poco de espacio entre letras */
  text-transform: uppercase; /* todo en mayúsculas */
}


/* Formulario */
.login-form {
  text-align: left;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  display: block;
}

input {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #d4d4d4;  /* gris claro */
  color: #111;                /* texto oscuro para contraste */
}

input:focus {
  outline: none;
  border-color: #ff6600;       /* borde naranja al enfocar */
  background-color: #fff;      /* se aclara al escribir */
}


.btn {
  width: 100%;
  padding: 0.8rem;
  background: #f7931e;   /* mismo color que WELCOME */
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #e65c00;   /* un tono más oscuro al pasar el mouse */
}


.credits {
  margin-top: 5rem;     /* antes 1.5rem → ahora más espacio */
  font-size: 0.75rem;
  color: #777;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .container { flex-direction: column; }
  .left-panel { display: none; }
  .right-panel { flex: none; height: 100vh; }
}

.form-group {
  text-align: left;       /* fuerza la alineación a la izquierda */
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
  text-align: left;       /* asegura que la etiqueta quede a la izquierda */
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  text-align: left;       /* asegura que el texto dentro del input quede a la izquierda */
}
/* Estilos base */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #f9f9f9;
  color: #222;
  transition: background 0.4s, color 0.4s;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .logo span {
  font-size: 1.3rem;
  font-weight: 600;
}

.navbar .account button {
  background: none;
  border: none;
  margin-left: 10px;
  cursor: pointer;
  font-size: 1rem;
}

/* Botones de filtros */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 15px;
}

.btn {
  background: #f3f3f3;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #f7931e;
  color: #fff;
}

.btn.active {
  background: #c06c0d;
  color: white;
}

/* Categorías */
.categories {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 10px 0;
}

.cat-btn {
  border: none;
  background: #f5f5f5;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cat-btn:hover {
  background: #f7931e;
  color: #fff;
}

/* Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card h3 {
  padding: 12px;
  font-size: 1rem;
}

/* 🌙 Modo oscuro */
.dark-mode {
  background-color: #1c1c1c;
  color: #eee;
}

.dark-mode .navbar {
  background: #2b2b2b;
}

.dark-mode .btn,
.dark-mode .cat-btn,
.dark-mode .card {
  background: #333;
  color: #eee;
}

.dark-mode .card:hover {
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
}
/* Página de producto */
.product-page {
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

.product-image {
  position: relative;
  text-align: center;
}

.product-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.product-image .badge {
  position: absolute;
  bottom: 15px;
  right: 20px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
}

.product-info {
  margin-top: 25px;
}

.product-info h1 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.product-info h2 {
  color: #444;
  font-weight: 600;
}

.product-info p {
  margin-top: 10px;
  line-height: 1.6;
  color: #555;
}

.stores {
  margin-top: 30px;
}

.store-card {
  background: #f6f6f6;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: background 0.3s;
}

.store-card:hover {
  background: #e0d7ff;
}

.specs {
  margin-top: 30px;
  background: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
}

.specs h2 {
  margin-bottom: 15px;
}

.specs ul {
  list-style: none;
  padding: 0;
}

.specs li {
  margin-bottom: 8px;
}
/* === 🔹 BOTÓN FLOTANTE DEL CARRITO === */
.floating-cart {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 65px;
  height: 65px;
  background-color: #ffbf00; /* Color dorado */
  color: #111;
  border-radius: 50%;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  z-index: 9999;
}

