/* ==================================================
   BASE + HEADER MÓVIL
================================================== */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background-image: url("/assets/img/fondo/cocinanegra.avif");
  background-repeat: repeat;
}


#miWeb {
  width: 100%;
  max-width: 1026px;
  margin: 0 auto;

  background-image: url("/assets/img/fondo/cocina.avif");
  background-repeat: repeat;
}

/* ===== VISIBILIDAD ===== */
#HeaderDesktop {
  display: none;
}

#HeaderMobile {
  display: block;
}

/* ===== HEADER MOBILE ===== */

#HeaderMobile {
  padding: 10px;
}

.mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo móvil */
#LogoMobile {
  width: 140px;
  height: 80px;
  background: url("/assets/img/ui/logo.avif") no-repeat center / contain;
}

/* Hamburguesa */
#menuToggle {
  font-size: 32px;        /* antes era pequeño */
  font-weight: 900;
  line-height: 1;

  width: 48px;
  height: 48px;

  border-radius: 12px;
  border: none;

  background: rgba(0, 0, 0, 0.75); /* fondo oscuro */
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

/* ===== MENÚ DESPLEGABLE ===== */

#MobileMenu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #111;
  padding: 20px;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1000;
}

#MobileMenu.open {
  transform: translateX(0);
}

#menuClose {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  position: absolute;
  top: 12px;
  right: 14px;
}

/* ===== MENU MOBILE ===== */

#MenuMobile ul {
  list-style: none;
  padding: 0;
  margin: 50px 0 20px;
}

#MenuMobile li a {
  display: block;
  padding: 12px;
  background: #000;
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  margin-bottom: 8px;
}

#MenuMobile li a:hover {
  background: #444;
}

/* ===== REDES ===== */

#Redes {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

#Redes div {
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ===== LOGIN MOBILE ===== */

#HeaderMobile .header-auth-box {
  background: #000;
  padding: 12px;
  border-radius: 10px;
  color: #fff;
  text-align: center;
}

.login-toggle-btn {
  color: #ecee4e;
  font-weight: bold;
  text-decoration: none;
}

/* ===============================
   CUERPO
================================ */

#cuerpo {
  padding: 15px;
}

#dentroCuerpo {
  max-width: 760px;
  margin: 0 auto;
}

/* Tipografía base */
.titulo {
  text-align: center;
  margin: 20px 0;
}

.subtitulos {
  margin: 25px 0 10px;
}

.parra {
  margin-bottom: 15px;
  line-height: 1.6;
}
/* ===============================
   BANNERS MOVIL
================================ */

/* SOLO móvil */
#AnuncioPrPeque {
  display: block;
  text-align: center;
  margin: 15px 0;
}

#AnuncioPrGrande,
#AnuncioGGrande {
  display: none;
}

/* Imagen móvil 288x70 */
#AnuncioPrPeque img {
  width: 288px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}



/* ===============================
   BANNER SLIDER (ÚNICO SISTEMA)
================================ */

.banner-slider {
  overflow: hidden;
  width: 288px;
  height: 70px;
}

.banner-track {
  display: flex;
  width: 400%;
  animation: cambio 20s infinite;
}

.banner-track a {
  flex: 0 0 25%;            /* 100 / 4 */
  height: 100%;
}

.banner-track img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#AnuncioPrPeque .banner-slider {
  width: 288px;
  height: 70px;
  margin: 0 auto;
}

@keyframes cambio {
  0%   { transform: translateX(0%); }
  20%  { transform: translateX(0%); }

  25%  { transform: translateX(-25%); }
  45%  { transform: translateX(-25%); }

  50%  { transform: translateX(-50%); }
  70%  { transform: translateX(-50%); }

  75%  { transform: translateX(-75%); }
  95%  { transform: translateX(-75%); }

  100% { transform: translateX(0%); }

}


/* ===============================
	   CUERPO 
================================ */

#cuerpo {
  padding: 15px;
}

#dentroCuerpo {
  background: #000;
  border-radius: 20px;
  padding: 18px;
  color: #e6e6e6;
}

/* ===============================
   HERO
================================ */

/* ===============================
   HERO – BASE RESPONSIVE
================================ */

.hero-home,
.hero-team,
.hero-social-media,
.hero-school,
.hero-recipes,
.hero-giveaways,
.hero-contact,
.hero-donations,
.hero-news,
.hero-collaborate {
  position: relative;
  min-height: 22vh;                 /* móvil */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
}

/* Overlay oscuro */
.hero-home::before,
.hero-team::before,
.hero-social-media::before,
.hero-school::before,
.hero-recipes::before,
.hero-giveaways::before,
.hero-contact::before,
.hero-donations::before,
.hero-news::before,
.hero-collaborate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* Contenido */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.45);
  border-radius: 10px;
  max-width: 90%;
}

/* Título dentro del hero */
.hero-content .titulo {
  margin: 0;
  font-size: 20px;
  color: #ecee4e;
}

.hero-home { background-image: url("/assets/img/hero/hero-home.avif"); } 
.hero-team { background-image: url("/assets/img/hero/hero-team.avif"); } 
.hero-social-media { background-image: url("/assets/img/hero/hero-social-media.avif"); } 
.hero-school { background-image: url("/assets/img/hero/hero-school.avif"); } 
.hero-recipes { background-image: url("/assets/img/hero/hero-recipes.avif"); } 
.hero-giveaways { background-image: url("/assets/img/hero/hero-giveaways.avif"); } 
.hero-contact { background-image: url("/assets/img/hero/hero-contact.avif"); } 
.hero-donations { background-image: url("/assets/img/hero/hero-donations.avif"); } 
.hero-news { background-image: url("/assets/img/hero/hero-news.avif"); } 
.hero-collaborate { background-image: url("/assets/img/hero/hero-collaborate.avif"); }

/* ===============================
   TÍTULOS
================================ */

.titulo {
  font-size: 22px;
  text-align: center;
  color: #ecee4e;
  margin: 20px 0;
}

.subtitulos {
  font-size: 18px;
  color: #ff8c42;
  margin: 25px 0 12px;
}

/* ===============================
   TEXTO
================================ */

.parra {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.parra.empezar {
  margin-top: 20px;
}

/* ===============================
   LISTAS
================================ */

.listaResumen,
.listaSimple {
  list-style:none;
  margin: 15px 0 25px;
  padding-left: 20px;
}

.listaResumen li,
.listaSimple li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ===============================
   ENLACES
================================ */

#dentroCuerpo a {
  color: #ecee4e;
  text-decoration: none;
  font-weight: 600;
}

#dentroCuerpo a:hover {
  text-decoration: underline;
}

/* ===============================
   CTA
================================ */

.ctaInicio {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 30px;
}

.cta {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 14px;
  font-weight: bold;
  font-size: 15px;
}

#dentroCuerpo .cta {
  color: #000;
}

.cta-primary {
  background: #ecee4e;
  color: #000;
  box-shadow: 0 4px 0 rgba(0,0,0,0.25);
}

.cta-primary:hover {
  background: #d6d83f;
}

.cta-secondary {
  background: #ff8c42;
  color: #000;
}

.cta-secondary:hover {
  background: #e07a36;
}

/* ===============================
   BLOQUE COMUNIDAD
================================ */

#dentroCuerpo nav {
  margin: 30px 0;
}

/* ===============================
   COMPARTIR
================================ */

#compartir {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#compartir a {
  display: inline-flex;
}

#compartir a div {
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#compartir .parra {
  margin-bottom: 10px;
}


#FBC {
  background-image: url("/assets/img/ui/fbc.avif");
}

#TWC {
  background-image: url("/assets/img/ui/twc.avif");
}

#WAC {
  background-image: url("/assets/img/ui/wac.avif");
}

#TLC {
  background-image: url("/assets/img/ui/tlc.avif");
}
#compartir a div {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#compartir a:hover div {
  transform: scale(1.1);
  opacity: 0.85;
}


/* ===============================
   FORMULARIOS – ESTILO BASE
=============================== */

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
}

/* Labels */
form label {
  font-weight: 600;
  font-size: 14px;
}

/* Inputs y textarea */
form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Textarea */
form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox RGPD */
form label input[type="checkbox"] {
  margin-right: 8px;
}

form label:has(input[type="checkbox"]) {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Botón */
form button {
  margin-top: 14px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;

  border-radius: 14px;
  border: none;

  background: #2e8b57; /* verde cocina */
  color: #fff;

  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

/* Hover */
form button:hover {
  background: #256f46;
  transform: translateY(-1px);
}

/* Active (click) */
form button:active {
  transform: translateY(0);
}

/* Disabled (por si en el futuro lo usas) */
form button:disabled {
  background: #9bbfb0;
  cursor: not-allowed;
}


/* =============================== 
	GOOGLE ADS – MÓVIL
 ================================ */ 

#AnuncioGPeque { display: block; margin: 20px auto; text-align: center; } 

#AnuncioGGrande { display: none; }



 /* Seguridad Google */ 
#AnuncioGPeque ins { display: block; margin: 0 auto; }



/* ===============================
   FOOTER
================================ */

#pie {
  background: #000;
  color: #fff;
  padding: 15px;
  text-align: center;
}

#pie .leg {
  margin-bottom: 10px;
}

#Redes1 {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 10px 0;
}

#Redes1 div {
  width: 32px;
  height: 32px;
}





/* ===============================
     	Pag REGISTRO MOVIL
	AUTH – BASE (MÓVIL)
=============================== */

.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.auth-tabs button {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: #333;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.auth-tabs button.active {
  background: #2ecc71; /* verde */
  color: #000;
}

.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
}

/* Formularios */
.auth-panel form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-panel label {
  font-size: 14px;
  font-weight: 600;
}

.auth-panel input {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.auth-panel button {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #2ecc71;
  color: #000;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

/* ===============================
      Pag	UTENSILIOS
================================ */

.utensilios-cards {
  display: grid;
  grid-template-columns: 1fr;   /* móvil: 1 columna */
  gap: 20px;
  margin: 30px 0;
}

/* Card completa clicable */
.card-utensilio {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* Imagen dentro de la card */
.card-utensilio img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Título */
.card-title {
  padding: 14px 10px;
  font-weight: 600;
  color: #333;
  text-align: center;
  background: #f7f7f7;
  width: 100%;
}



/* ===============================
     	Pag PANEL
	AUTH – BASE (MÓVIL)
=============================== */

.perfil-datos {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.perfil-datos li {
    margin-bottom: 6px;
}

.perfil-acciones {
    margin-top: 15px;
}

.perfil-acciones .btn {
    display: inline-block;
    margin-right: 10px;
    padding: 8px 14px;
    background: #333;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
}

.perfil-acciones .btn:hover {
    background: #555;
}


