
body{
  font-family: 'Georgia', serif;
  margin:0;
  background:#fdfcf9; /* blanco cálido elegante */
  color:#3b2a1f; /* café oscuro */
  /*padding-top: 80px;*/
  letter-spacing: 0.3px;
}

/* HEADER */
header{
  background:#1b3a2f; /* verde profundo */
  color:#ffffff;
  padding:100px 20px;
  text-align:center;
  border-bottom:4px solid #6d4c41; /* café elegante */
}

header h1{
  margin:0;
  font-weight:400;
  font-size:32px;
  letter-spacing:2px;
}

/* CONTENEDOR DEL CARRUSEL */
.categorias-wrapper{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  overflow: hidden;
}

/* CARRUSEL HORIZONTAL */
.categorias{
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory; /* 👈 efecto snap elegante */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 0;
  width: 100%;
   max-width: 900px;   /* puedes probar 800px o 1000px */
  margin: 0 auto;
}

/* Ocultar barra */
.categorias::-webkit-scrollbar { display: none; }
.categorias { scrollbar-width: none; }

/* TARJETA INDIVIDUAL */
.categoria-card{
  flex: 0 0 100%; /* 👈 SOLO 1 IMAGEN visible */
  scroll-snap-align: center;
  text-align: center;
  cursor: pointer;
  padding: 0 20px;
  box-sizing: border-box;
}

/* IMAGEN */
.categoria-card img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid #d7ccc8;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  transition: 0.4s ease;
}

.categoria-card:hover img{
  transform: scale(1.02);
  box-shadow: 0 15px 35px rgba(27,58,47,0.25);
}

/* TEXTO */
.categoria-card p{
  margin-top: 15px;
  font-size: 24px;
  color: #1b3a2f;
  font-weight: 500;
  letter-spacing: 1px;
}

/* FLECHAS */
.arrow{
  background:#1b3a2f;
  color:#ffffff;
  border:none;
  font-size:24px;
  padding:12px;
  cursor:pointer;
  border-radius:50%;
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  box-shadow:0 5px 15px rgba(0,0,0,0.2);
  transition:0.3s;
}

.arrow:hover{
  background:#6d4c41;
}

.arrow.left{ left:10px; }
.arrow.right{ right:10px; }

/* MENU */
.menu{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
  padding:40px;
}

.card{
  background:#ffffff;
  padding:25px;
  border-radius:18px;
  border:1px solid #e0d6d0;
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
  transition:0.4s;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 30px rgba(27,58,47,0.2);
}

.card h3{
  margin:0 0 15px 0;
  font-size:26px;
  font-weight:500;
  color:#1b3a2f;
  border-bottom:2px solid #6d4c41;
  padding-bottom:8px;
}

.item{
  display:flex;
  justify-content:space-between;
  margin:10px 0;
  padding-bottom:6px;
  border-bottom:1px dotted #c8bdb7;
  font-size:18px;
}

.item span:last-child{
  color:#6d4c41;
  font-weight:600;
}

/* FOOTER */
footer{
  text-align:center;
  padding:30px;
  background:#1b3a2f;
  color:#ffffff;
  font-size:14px;
  letter-spacing:1px;
  border-top:4px solid #6d4c41;
}

/* BARRA FIJA SUPERIOR */
.selector-categorias{
  position:fixed;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:100%;
  max-width:550px;

  display:flex;
  align-items:center;
  padding:10px;
  background:rgba(253,252,249,0.95);
  backdrop-filter:blur(8px);
  border-bottom:2px solid #d7ccc8;
  box-shadow:0 4px 15px rgba(0,0,0,0.08);
  z-index:1000;
  border-radius:0 0 18px 18px;
}

/* SELECT */
.selector-categorias select{
  width:100%;
  padding:14px;
  padding-right:40px;
  border-radius:14px;
  border:1px solid #6d4c41;
  background:#1b3a2f;
  color:#ffffff;
  font-size:17px;
  cursor:pointer;
  outline:none;
  appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5H5z'/></svg>");
  background-repeat:no-repeat;
  background-position:right 12px center;
  transition:0.3s;
}

.selector-categorias select:hover{
  background:#6d4c41;
}

.selector-categorias select option{
  background:#ffffff;
  color:#3b2a1f;
}

/* RESPONSIVE */
@media (max-width:600px){
  .categoria-card{
    flex:0 0 85%;
  }
  .categoria-card img{
    height:200px;
  }
  .arrow{
    display:none;
  }
  .menu{
    padding:20px;
    gap:20px;
  }
}


.googleplay{
  display:block;
  margin:20px auto 0 auto;
  width:220px;
  max-width:90%;
  filter: contrast(115%) brightness(105%);
}

.googleplay:hover{
  transform:scale(1.05);
}