/* ===== Paleta ===== */
:root {
    --rojo-oscuro: #8b2e2e;
    --amarillo-mate: #e0b74e;
    --fondo: #f8f3e7;
    --texto: #2c2c2c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    background-color: var(--fondo);
    color: var(--texto);
}

header {
    display: flex;
    align-items: center;
    background-color: var(--rojo-oscuro);
    color: white;
    padding: 10px 20px;
    justify-content: space-between;
}

header .banner h1 {
    font-size: 1.8em;
    letter-spacing: 1px;
}

header .cambiar-idioma img {
    width: 100%;
    height: 50px;
}

nav {
    background-color: var(--amarillo-mate);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: var(--texto);
    font-weight: bold;
    padding: 10px;
    display: block;
    transition: 0.3s;
}

nav a:hover, nav a.active {
    background-color: var(--rojo-oscuro);
    color: white;
    border-radius: 5px;
}

.productos {
    text-align: center;
    padding: 30px;
}

.grid-categorias {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.categoria {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    color: var(--amarillo-mate);
}

.categoria img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    filter: brightness(60%);
    transition: filter 0.3s
}

.categoria span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    font-weight: bold;
}

.categoria:hover img {
    filter: brightness(80%);
}

footer {
    text-align: center;
    padding: 15px;
    background-color: var(--rojo-oscuro);
    color: white;
    margin-top: 40px;
}

.titulo-seccion {
  text-align: center;
  color: #8b1a1a;
  margin-top: 20px;
}

.grid-productos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 30px;
  justify-items: center;
}

.producto {
  background-color: #fff7e0;
  border: 2px solid #8b1a1a;
  border-radius: 10px;
  text-align: center;
  width: 200px;
  padding: 15px;
  transition: transform 0.2s;
}

.producto:hover {
  transform: scale(1.05);
}

.producto img {
  width: 170px;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
}

.precio {
  color: #8b1a1a;
  font-weight: bold;
  margin-top: 8px;
}

.nosotros-p {
    color:#2c2c2c;
    font-family: sans-serif;
    text-align: justify;
    font-weight: bold;
}

.contacto {

    display: flex;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    justify-content: center;
}

.form-card {
    background-color: #f9f9f9;
    border: 2px solid #8b1a1a;
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    max-width: 480px;
    text-align: left;
    font-weight: bold;
}

.boton {
    display: flex;
    justify-content: center;
    gap: 18px
}

.location {
    display: flex;
    border: 2px solid #8b1a1a;
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    max-width: 650px;
    justify-self: center;
}

