/* =========================================================
   style.css — Serendipia
   Tema: negro + turquesa | Header fijo + menú móvil
   ========================================================= */

/* ===== 1) Variables y base ===== */
:root{
  --bg:#000; --fg:#f5f7f7; --muted:#aab7b9;
  --brand:#3fe0d0; --brand-d:#12bdae;
  --border:rgba(255,255,255,.14);
  --card:rgba(255,255,255,.06);
  --container:1180px;
  --shadow:0 10px 30px rgba(0,0,0,.35);

  /* Altura del header (compensación de contenido) */
  --header-h: 72px;
}
@media (max-width:820px){
  :root{ --header-h: 76px; }
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.6;
  overflow-x:hidden;

  /* ↓↓↓ Compensa el header fijo para que no tape el contenido */
  padding-top: var(--header-h);
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ width:min(100% - 2rem, var(--container)); margin-inline:auto; }

.section{ padding:64px 0; }
.section__title{ margin:0 0 .4rem; font-size:clamp(1.4rem,3.2vw,2rem); }
.section__title::after{
  content:""; display:block; width:64px; height:2px; margin-top:6px;
  background:linear-gradient(90deg,var(--brand),transparent);
}
.section__subtitle{ margin:.35rem 0 1.2rem; color:var(--muted); }

/* Los anclajes del menú no quedan ocultos bajo el header */
section[id]{ scroll-margin-top: calc(var(--header-h) + 8px); }

a:focus-visible, button:focus-visible{
  outline:2px solid var(--brand);
  outline-offset:3px;
  border-radius:10px;
}

/* ===== 2) Header fijo + navegación ===== */
.site-header{
  position: fixed;   /* << CLAVE */
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header__inner{
  min-height: var(--header-h);
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0; position:relative;
}
.brand__logo{
  width:100px; height:auto; object-fit:contain;
  filter:drop-shadow(0 0 10px rgba(63,224,208,.35));
}

/* Nav (desktop por defecto) */
.site-nav{ display:block; }
.nav__list{ list-style:none; display:flex; gap:22px; margin:0; padding:0; }
.nav__list a{ padding:8px 10px; border-radius:8px; transition:color .2s; }
.nav__list a:hover{ color:var(--brand); }

/* Botón hamburguesa (oculto en desktop) */
.nav-toggle{
  display:none;           /* se muestra en mobile */
  background:transparent; border:0;
  padding:6px; cursor:pointer;
  position:absolute; right:12px; top:50%; transform:translateY(-50%);
  z-index:110;
}
.nav-toggle__bar{
  display:block; width:26px; height:3px; margin:5px 0;
  background:var(--brand); border-radius:2px;
  transition: transform .25s ease, opacity .2s ease, background .2s ease;
}
.nav-toggle:hover .nav-toggle__bar{ background:#fff; }

/* Animación a “X” cuando el menú está abierto */
.nav-toggle.is-open .nav-toggle__bar:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2){ opacity:0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ===== 3) Banner con imagen de fondo ===== */
.banner{
  position:relative;
  min-height: clamp(360px, 60vh, 560px);
  display:grid; place-items:center;
  border-bottom:1px solid var(--border);
  overflow:clip;
}
.banner__bg{
  position:absolute; inset:0;
  background:
    radial-gradient(1000px 300px at 10% 10%, rgba(63,224,208,.12), transparent 60%),
    radial-gradient(1000px 300px at 90% 0%, rgba(18,189,174,.12), transparent 60%),
    url('img/4.jpg') center/cover no-repeat;   /* ajustá la ruta si cambia */
  filter:saturate(1.05) contrast(1.05) brightness(.9);
  transform:scale(1.02);
}
.banner::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.45),rgba(0,0,0,.7));
}
.banner__content{ position:relative; z-index:1; text-align:center; }
.banner__title{ font-size:clamp(1.8rem,4.5vw,3rem); font-weight:900; text-shadow:0 10px 30px rgba(0,0,0,.45); }
.banner__subtitle{ color:var(--brand); font-weight:700; margin:.6rem 0 1.2rem; }
.banner__cta{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }

/* Botones */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 18px; border-radius:12px; font-weight:700;
  border:1px solid transparent; cursor:pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.btn:hover{ transform:translateY(-1px); }
.btn--primary{ background:linear-gradient(90deg,var(--brand),#a5fff6); color:#052c2a; box-shadow:0 10px 26px rgba(63,224,208,.25); }
.btn--ghost{ background:transparent; border:1px solid var(--border); }
.btn--ghost:hover{ border-color:rgba(63,224,208,.6); box-shadow:0 10px 24px rgba(63,224,208,.15); }

/* ===== 4) Cards de destacados ===== */
.grid-cards{ display:grid; gap:16px; grid-template-columns:repeat(3,1fr); }
.card{
  border:1px solid var(--border); border-radius:14px;
  background:var(--card); overflow:hidden; box-shadow:var(--shadow);
  transition:transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover{ transform:translateY(-2px); border-color:rgba(63,224,208,.45); box-shadow:0 14px 36px rgba(63,224,208,.18); }
.card img{ width:100%; height:220px; object-fit:cover; }
.card__body{ padding:12px 14px; }
.card__title{ margin:0 0 4px; font-size:1.05rem; }
.card__text{ margin:0; color:var(--muted); }

/* ===== 5) Feature blocks (icono + texto + imagen) ===== */
.feature{
  display:grid; grid-template-columns:1.2fr 1fr; align-items:center; gap:24px;
  border:1px solid var(--border); background:var(--card);
  border-radius:16px; padding:20px; box-shadow:var(--shadow);
  text-align:center;
}
.feature--alt{ grid-template-columns:1fr 1.2fr; }
.feature__icon{
  width:56px; height:56px; border-radius:14px; display:grid; place-items:center;
  color:var(--brand); background:rgba(63,224,208,.12);
  border:1px solid rgba(63,224,208,.35); box-shadow:0 10px 26px rgba(63,224,208,.16);
  margin-bottom:8px;
}
.feature__title{ margin:0 0 6px; }
.feature__text{ color:rgba(245,247,247,.84); margin:6px 0 12px; }
.feature__badges{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; justify-content:center; }
.badge{ font-size:.85rem; padding:6px 10px; border-radius:999px; border:1px solid var(--border); background:rgba(255,255,255,.06); }
.feature__cta{ display:flex; gap:10px; flex-wrap:wrap; margin-top:8px; justify-content:center; }
.feature__media img{
  width:100%; border-radius:14px; object-fit:cover;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}

/* ===== 6) Pasos (Pedidos) ===== */
.steps{ display:grid; gap:14px; grid-template-columns:repeat(3,1fr); margin-top:10px; }
.step{
  border:1px solid var(--border); border-radius:12px; background:var(--card);
  padding:14px; transition:border-color .15s ease, transform .15s ease;
}
.step:hover{ border-color:rgba(63,224,208,.45); transform:translateY(-2px); }
.step__icon{
  width:42px; height:42px; border-radius:10px; display:grid; place-items:center;
  color:var(--brand); background:rgba(63,224,208,.12); border:1px solid rgba(63,224,208,.35);
  margin-bottom:8px;
}
.step__title{ margin:0 0 4px; }
.step__text{ margin:0; color:rgba(245,247,247,.75); }
.cta-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }

/* ===== 7) Checks ===== */
.checks{ list-style:none; padding:0; margin:8px 0 4px; display:grid; gap:6px; }
.checks li::before{ content:"✓"; color:var(--brand); margin-right:8px; }
.checks--cols{ grid-template-columns: repeat(2, minmax(0,1fr)); gap:8px 14px; }

/* ===== 8) Por qué elegirnos ===== */
.porque-elegirnos{
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
}
.reasons{
  list-style:none; padding:0; margin:0; display:grid; gap:10px;
  grid-template-columns:repeat(2,1fr);
}
.reasons li{
  padding:12px 14px; border:1px solid var(--border);
  border-radius:12px; background:var(--card);
}

/* ===== 9) FAQ ===== */
.faq details{
  border:1px solid var(--border); background:var(--card);
  border-radius:12px; padding:10px 14px; margin-bottom:10px;
}
.faq summary{ cursor:pointer; font-weight:700; outline:none; }
.faq p{ color:var(--muted); margin:10px 0 0; }

/* ===== 10) Footer ===== */
.site-footer{
  border-top:1px solid var(--border);
  text-align:center; padding:22px 0; color:var(--muted);
}

/* ===== 11) Carrusel de Talleres ===== */
.talleres-carousel{
  position: relative; margin-bottom: 22px;
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--card); box-shadow: var(--shadow); overflow: hidden;
}
.tcar__viewport{ overflow: hidden; }
.tcar__track{
  display: flex; gap: 10px; padding: 10px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tcar__item{
  min-width: 100%; scroll-snap-align: center;
  border-radius: 10px; overflow: hidden; background: #000; aspect-ratio: 16/9;
}
.tcar__item img{ width:100%; height:100%; object-fit:cover; display:block; }
.tcar__btn{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,0,0,.55);
  border: 1px solid var(--border); color: #fff;
  cursor: pointer; backdrop-filter: blur(6px);
  z-index: 2;
}
.tcar__btn:hover{ background: rgba(0,0,0,.7); border-color: var(--brand); }
.tcar__btn.prev{ left: 10px; }
.tcar__btn.next{ right: 10px; }
@media (min-width: 1000px){ .tcar__item{ min-width: 60%; } }
@media (min-width: 1280px){ .tcar__item{ min-width: 50%; } }

/* ===== 12) Variante feature apilada (centrada) ===== */
.feature--stack{
  display:grid; grid-template-columns:1fr; gap:16px;
  padding:18px; border:1px solid var(--border); border-radius:14px; background:var(--card);
  text-align:center; justify-items:center;
}
.feature--stack .feature__badges{ justify-content:center; }
.feature--stack .feature__cta{ justify-content:center; }

/* ===== 13) Utilidades ===== */
.reveal{ opacity:0; transform: translateY(12px); transition:.45s ease; }
.reveal.is-in{ opacity:1; transform:none; }

h1{ font-size: clamp(2rem, 4.5vw, 3rem); }
h2{ font-size: clamp(1.4rem, 3vw, 2rem); }
p { font-size: clamp(.95rem, 1.2vw, 1.05rem); }

/* ===== 14) Responsive ===== */
@media (max-width:960px){
  .grid-cards{ grid-template-columns:repeat(2,1fr); }
  .feature, .feature--alt{ grid-template-columns:1fr; text-align:center; }
}
@media (max-width:820px){
  .brand__logo{ width:100px; }
  /* Mostrar hamburguesa y ocultar nav por defecto */
  .nav-toggle{ display:block; }
  .site-nav{
    position:absolute; top:var(--header-h); right:0; display:none;
    background:rgba(0,0,0,.96);
    border-left:1px solid var(--border); border-bottom:1px solid var(--border);
    padding:12px; border-radius:0 0 0 12px; z-index:105;
  }
  .site-nav.open{ display:block; }
  .nav__list{ flex-direction:column; gap:10px; }

  .steps{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .grid-cards{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .checks--cols{ grid-template-columns:1fr; }

  /* Banner: overlay más fuerte y título un toque más chico */
  .banner::after{
    background:linear-gradient(180deg,rgba(0,0,0,.65),rgba(0,0,0,.85));
  }
  .banner__title{ font-size:1.4rem; line-height:1.3; }
}
:root{ --header-h: 72px; }
@media (max-width:820px){ :root{ --header-h: 76px; } }

.site-header{
  position:fixed !important;
  top:0; left:0; right:0;
  width:100%;
  z-index:1000;
  background:rgba(0,0,0,.85);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(255,255,255,.14);
}
.header__inner{ min-height:var(--header-h); }

body{ padding-top:var(--header-h) !important; }
section[id]{ scroll-margin-top: calc(var(--header-h) + 8px) !important; }
/* Sección Talleres */
.talleres {
  text-align: center;           /* centra los textos */
}

.talleres h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* Grid de cards centrado */
.talleres__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-items: center;        /* centra las cards dentro del grid */
}

/* Card */
.taller-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  max-width: 340px;             /* ancho fijo centrado */
  text-align: center;           /* centra texto dentro de cada card */
  box-shadow: var(--shadow);
}

.taller-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.taller-card__body {
  padding: 1rem;
}
.taller-card__video {
  width: 100%;
  height: 220px;
  object-fit: cover;   /* recorta sin deformar */
  border-bottom: 1px solid var(--border);
  display: block;
  border-radius: 14px 14px 0 0;
}
.site-nav a{
font-family: 'Raleway', sans-serif;





}
/* ===== Videos de recetas (hero) ===== */
.videos-hero .container{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.videos-hero__media video{
  width: 100%;
  max-width: 1100px;         /* grande en desktop */
  aspect-ratio: 16 / 9;      /* proporción estable */
  display: block;
  margin-inline: auto;       /* centrado */
  background: #000;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  object-fit: cover;         /* por si el poster no coincide perfecto */
}

.videos-hero__content{
  text-align: center;        /* todo centrado como pediste */
}

.videos-hero .checks{
  max-width: 820px;
  margin: 10px auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.videos-hero__cta{
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.videos-hero__note{
  color: var(--muted);
  font-size: .92rem;
  margin-top: 8px;
}

/* Ajustes responsive */
@media (max-width: 900px){
  .videos-hero__media video{
    max-width: 100%;         /* en mobile, que ocupe el ancho del contenedor */
  }
  .videos-hero .checks{
    grid-template-columns: 1fr;   /* la lista pasa a una columna */
  }
}
/* === VIDEO A TAMAÑO REAL (sin zoom ni recorte) === */
.videos-hero__media video{
  width: auto;          /* usar ancho intrínseco del archivo */
  height: auto;         /* usar alto intrínseco */
  max-width: 100%;      /* solo se achica si el contenedor es más chico */
  max-height: 80vh;     /* evita que sea más alto que la ventana */
  object-fit: contain;  /* sin recortes; añade “letterbox” si hace falta */
  display: block;
  margin-inline: auto;  /* centrado */
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

/* opcional: en desktop grande, no lo escales más allá de su tamaño */
@media (min-width: 1100px){
  .videos-hero__media{ display: grid; place-items: center; }
  .videos-hero__media video{ max-width: none; } /* deja el tamaño nativo */
}
/* ================= TESTIMONIOS ================= */
.testimonios__grid{
  /* ya hereda .grid-cards → 3,2,1 columnas por tus media queries */
}
.t-card{
  padding: 18px 16px;
  display: grid;
  gap: 10px;
  border-left: 2px solid rgba(63,224,208,.35);
}
.t-card__quote{
  margin: 0;
  color: rgba(245,247,247,.92);
  font-size: clamp(1rem, 1.8vw, 1.06rem);
  line-height: 1.65;
}
.t-card__author{
  margin: 0;
  color: var(--muted, #aab7b9);
  font-weight: 700;
  font-size: .98rem;
}

/* ================= FAQ ================= */
.faq .faq__item{
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq .faq__item[open]{
  border-color: rgba(63,224,208,.45);
  box-shadow: 0 10px 26px rgba(63,224,208,.12);
}
.faq summary{
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary::after{
  content: "＋";
  float: right;
  color: var(--brand);
  transition: transform .2s ease;
}
.faq .faq__item[open] summary::after{ transform: rotate(45deg); } /* + → x */
.faq p{ color: var(--muted); margin: 10px 0 0; }

/* ================= CONTACTO / NEWSLETTER ================= */
.contact-form{
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
  max-width: 820px;
  margin-inline: auto;
}
.contact-form__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-form__input,
.contact-form__textarea{
  width: 100%;
  background: #0e0f10;
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form__textarea{ resize: vertical; min-height: 120px; }
.contact-form__input::placeholder,
.contact-form__textarea::placeholder{ color: #8fa4a6; }
.contact-form__input:focus,
.contact-form__textarea:focus{
  border-color: rgba(63,224,208,.65);
  box-shadow: 0 10px 24px rgba(63,224,208,.12);
}
.contact-form__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.contact-form__legal{
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: .9rem;
}

/* Responsive contacto */
@media (max-width: 700px){
  .contact-form__row{ grid-template-columns: 1fr; }
}
#testimonios .container{ max-width: 980px; }
/* Avatar + autor en testimonios */
.t-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.t-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;   /* redonda */
  object-fit: cover;    /* que no se deforme */
  border: 2px solid rgba(63,224,208,.5); /* borde turquesa sutil */
}

.t-card__author {
  margin: 0;
  color: var(--muted, #aab7b9);
  font-weight: 700;
  font-size: .95rem;
}
/* ===== Galería / Instagram ===== */
.galeria .ig-grid{
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px){
  .galeria .ig-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .galeria .ig-grid{ grid-template-columns: 1fr; }
}

.ig-item{
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;               /* cuadradas y prolijas */
}

.ig-item img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.ig-item__overlay{
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: radial-gradient(200px 120px at 50% 50%, rgba(63,224,208,.18), transparent 60%);
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease, background .25s ease;
}

.ig-item:hover img{
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.05);
}

.ig-item:hover .ig-item__overlay{ opacity: 1; }

.galeria__cta{
  display: flex; justify-content: center; margin-top: 16px;
}
/* ===== Features (sección cuenta, etc) ===== */
.feature{
  display: flex;
  align-items: center;
  gap: 2rem;
}

.feature__body{
  flex: 1;
}

.feature__media{
  flex: 1;
  text-align: center;
}

.feature__media img{
  max-width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
}

/* Variante con imagen a la izquierda y texto a la derecha */
.feature--alt{
  flex-direction: row-reverse; /* si querés invertir el orden */
}

/* Responsivo: en pantallas chicas que se apilen */
@media (max-width: 768px){
  .feature,
  .feature--alt{
    flex-direction: column;
    text-align: center;
  }
  .feature__body{ order: 2; }
  .feature__media{ order: 1; }
}
/* ===== ¿Por qué elegirnos? ===== */
.porque{
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Stats superiores */
.why-stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.why-stat{
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.why-stat__num{
  display:block;
  font-weight: 900;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--brand);
  letter-spacing: .3px;
}
.why-stat__label{
  color: var(--muted);
  font-size: .95rem;
}

/* Grid de razones */
.why-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 10px;
}
.why-card{
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.why-card:hover{
  transform: translateY(-2px);
  border-color: rgba(63,224,208,.45);
  box-shadow: 0 14px 36px rgba(63,224,208,.18);
}
.why-card__icon{
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--brand);
  background: rgba(63,224,208,.12);
  border: 1px solid rgba(63,224,208,.35);
  margin-bottom: 8px;
}
.why-card__title{
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.why-card__text{
  margin: 0;
  color: var(--muted);
}

/* CTA inferior */
.why-cta{
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1000px){
  .why-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px){
  .why-stats{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
}
/* Contenedor de partículas */
.food-particles {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* no bloquea clics */
  overflow: hidden;
  z-index: 1; /* ponelo abajo del contenido principal */
}

/* Cada partícula */
.food-particles span {
  position: absolute;
  bottom: -40px;
  font-size: 1.6rem; /* tamaño base */
  animation: floatUp linear infinite;
  opacity: 0.8;
}

/* Animación de subir */
@keyframes floatUp {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  20% { opacity: 1; }
  100% {
    transform: translateY(-110vh) scale(1.2);
    opacity: 0;
  }
}

/* Generar variaciones */
.food-particles span:nth-child(1){ left:10%; animation-duration:12s; animation-delay:0s; }
.food-particles span:nth-child(2){ left:25%; animation-duration:14s; animation-delay:3s; font-size:2rem;}
.food-particles span:nth-child(3){ left:40%; animation-duration:11s; animation-delay:6s;}
.food-particles span:nth-child(4){ left:55%; animation-duration:15s; animation-delay:1s; font-size:1.9rem;}
.food-particles span:nth-child(5){ left:70%; animation-duration:13s; animation-delay:4s;}
.food-particles span:nth-child(6){ left:85%; animation-duration:16s; animation-delay:2s;}
.food-particles span:nth-child(7){ left:50%; animation-duration:18s; animation-delay:5s; font-size:2.2rem;}
/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;     /* distancia desde abajo */
  right: 20px;      /* distancia desde la derecha */
  z-index: 999;     /* arriba de todo */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
/* Sección métodos */
.metodos {
  text-align: center;
  padding: 3rem 1rem;
  background: #000; /* 🌑 fondo negro */
}

.metodos__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 2rem;
}

.metodo {
  background: #111; /* gris muy oscuro para diferenciar del fondo */
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(64, 224, 208, 0.3); /* borde turquesa suave */
  box-shadow: 0 0 12px rgba(64, 224, 208, 0.15); /* glow turquesa leve */
  transition: transform 0.3s, box-shadow 0.3s;
}

.metodo:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 18px rgba(64, 224, 208, 0.4); /* efecto glow más fuerte */
}

.metodo__icon {
  font-size: 2rem;
  color: #40e0d0; /* turquesa brillante */
  margin-bottom: 1rem;
}

.metodo__title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #40e0d0; /* turquesa */
}

.metodo__text {
  font-size: 0.95rem;
  color: #eee; /* texto claro sobre negro */
}
/* Footer */
.site-footer {
  background: #000; /* Fondo negro */
  color: #eee;      /* Texto claro */
  text-align: center;
  padding: 2rem 1rem 1rem;
  border-top: 1px solid rgba(64, 224, 208, 0.3); /* línea turquesa sutil */
}

.footer__brand {
  font-size: 1.5rem;
  color: #40e0d0; /* Turquesa */
  margin-bottom: 1rem;
}

.footer__socials {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer__socials a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111; /* círculo oscuro */
  color: #40e0d0;   /* icono turquesa */
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(64, 224, 208, 0.4);
}

.footer__socials a:hover {
  background: #40e0d0; /* círculo turquesa */
  color: #000;         /* icono negro */
  transform: translateY(-4px);
  box-shadow: 0 0 12px rgba(64, 224, 208, 0.5);
}

.footer__bottom {
  border-top: 1px solid rgba(64, 224, 208, 0.2);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #aaa;
}

.footer__bottom .marca {
  color: #40e0d0; /* turquesa en tu crédito */
  font-weight: bold;
}
/* ===== Equipo / Quiénes somos ===== */
.equipo__grid{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media (max-width: 960px){ .equipo__grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .equipo__grid{ grid-template-columns: 1fr; } }

.equipo-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.equipo-card:hover{
  transform: translateY(-2px);
  border-color: rgba(63,224,208,.45);
  box-shadow: 0 14px 36px rgba(63,224,208,.18);
}

.equipo-card__photo{
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.02);
}

.equipo-card__body{ padding: 12px 14px; }
.equipo-card__name{ margin: 0 0 2px; font-size: 1.05rem; }
.equipo-card__role{ margin: 0 0 8px; color: var(--brand); font-weight: 600; }
.equipo-card__bio{ margin: 0; color: var(--muted); }

.equipo__about{
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: rgba(245,247,247,.9);
  text-align: center;
}
.btn {
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  will-change: transform, box-shadow;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(63,224,208,.25);
  filter: saturate(1.03);
}
.nav__list a {
  position: relative;
}
.nav__list a::after{
  content:""; position:absolute; left:10%; right:10%; bottom:4px; height:2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  transform: scaleX(0); transform-origin:center; transition: transform .25s ease;
}
.nav__list a:hover::after{ transform: scaleX(1); }
.card{
  position: relative;
  border:1px solid transparent;
  background-clip: padding-box;
}
.card::before{
  content:""; position:absolute; inset:0; border-radius:14px; padding:1px;
  background: linear-gradient(130deg, rgba(63,224,208,.6), rgba(255,255,255,.08));
  -webkit-mask: 
    linear-gradient(#000 0 0) content-box, 
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; 
  pointer-events:none;
}
.banner{ perspective: 1px; transform-style: preserve-3d; }
.banner__bg{
  transform: translateZ(-0.5px) scale(1.5);   /* profundidad */
  will-change: transform;
}
.site-footer{ position: relative; overflow: hidden; }
.site-footer::before{
  content:""; position:absolute; inset:-20% -10% 0 -10%;
  background:
    radial-gradient(3px 3px at 10% 80%, rgba(63,224,208,.22) 60%, transparent 61%) repeat,
    radial-gradient(2px 2px at 30% 90%, rgba(63,224,208,.16) 60%, transparent 61%) repeat,
    radial-gradient(2px 2px at 70% 85%, rgba(63,224,208,.12) 60%, transparent 61%) repeat;
  background-size: 140px 140px, 160px 160px, 180px 180px;
  animation: rise 18s linear infinite;
  pointer-events:none; opacity:.5;
}
@keyframes rise{
  from{ transform: translateY(12%); }
  to  { transform: translateY(-12%); }
}
.card{
  transform-style: preserve-3d;
  transition: transform .2s ease;
}
.card:hover{ transform: perspective(800px) rotateX(2deg) rotateY(-2deg); }
.ig-hit{
  all: unset;            /* quita estilos por defecto */
  display: block;
  cursor: pointer;
}
.ig-item{ position: relative; display:block; }
.ig-item img{ display:block; width:100%; height:auto; }
.ig-item__overlay{ position:absolute; inset:0; display:grid; place-items:center; opacity:0; transition:.2s; }
.ig-item:hover .ig-item__overlay{ opacity:1; }
/* ===== Instagram Section ===== */
.instagram {
  background: #000; /* fondo negro como el resto */
  text-align: center;
}

.ig-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 24px 0;
}

.ig-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, border-color .25s;
}

.ig-item img {
  

}

.ig-item:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 8px 22px rgba(63,224,208,.25);
}

.ig-actions {
  margin-top: 12px;
}
/* Grid de equipo reducido a 1 columna */
.equipo__grid {
  display: grid;
  justify-content: center;
  grid-template-columns: 1fr;
  max-width: 480px;  /* para que no quede gigante en pantallas grandes */
  margin: 0 auto 32px auto;
}

/* Card del equipo */
.equipo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.equipo-card:hover { transform: translateY(-6px); }

.equipo-card__photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.equipo-card__body {
  padding: 16px;
}

.equipo-card__name {
  margin: 0;
  font-size: 1.4rem;
  color: var(--brand);
}

.equipo-card__role {
  font-weight: 600;
  margin: 4px 0 10px;
  color: var(--muted);
}

.equipo-card__bio {
  font-size: .95rem;
  color: #ccc;
  line-height: 1.5;
}
/* ===== Page hero reutilizable ===== */
.page-hero{
  position:relative; min-height: clamp(260px, 42vh, 400px);
  display:grid; place-items:center; border-bottom:1px solid var(--border); overflow:clip;
}
.page-hero__bg{
  position:absolute; inset:0; background-size:cover; background-position:center;
  filter:saturate(1.04) contrast(1.04) brightness(.9); transform:scale(1.02);
}
.page-hero::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,.68));
}
.page-hero__content{ position:relative; z-index:1; text-align:center; }

/* ===== Pagos ===== */
.pay-grid{
  display:grid; gap:16px; grid-template-columns: repeat(3,1fr);
}
@media (max-width:960px){ .pay-grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:560px){ .pay-grid{ grid-template-columns: 1fr;} }

.pay-card{
  border:1px solid var(--border); border-radius:14px; background:var(--card);
  padding:16px; box-shadow:var(--shadow); text-align:center;
  transition:transform .2s, border-color .2s, box-shadow .2s;
}
.pay-card:hover{ transform: translateY(-2px); border-color: rgba(63,224,208,.45); box-shadow:0 14px 36px rgba(63,224,208,.18); }
.pay-card__icon{
  width:56px; height:56px; border-radius:14px; display:grid; place-items:center; margin:0 auto 10px;
  color:var(--brand); background:rgba(63,224,208,.12); border:1px solid rgba(63,224,208,.35);
}
.pay-card__title{ margin: 0 0 6px; }
.pay-card__text{ margin: 0; color: var(--muted); }

/* Envíos/retiros */
.ship-grid{
  display:grid; gap:16px; grid-template-columns: repeat(2,1fr);
}
@media (max-width:700px){ .ship-grid{ grid-template-columns: 1fr; } }
.ship-card{
  border:1px solid var(--border); border-radius:12px; background:var(--card); padding:16px;
}

/* ===== Contacto ===== */
.contact-layout{
  display:grid; gap:20px; grid-template-columns: 1.2fr .8fr;
}
@media (max-width:900px){ .contact-layout{ grid-template-columns: 1fr; } }

.contact-form__row{ display:grid; gap:10px; grid-template-columns: 1fr 1fr; }
@media (max-width:600px){ .contact-form__row{ grid-template-columns: 1fr; } }

.contact-form__input, .contact-form__textarea, .contact-form select{
  width:100%; border:1px solid var(--border); border-radius:10px; background:#0c0c0c;
  color:var(--fg); padding:10px 12px; outline:none;
}
.contact-form__input::placeholder, .contact-form__textarea::placeholder{ color:#9aa; }
.contact-form__actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.contact-form__legal{ color:#9aa; font-size:.9rem; margin-top:8px; }

.contact-info__block{
  border:1px solid var(--border); background:var(--card);
  border-radius:12px; padding:14px; margin-bottom:12px;
}
.map-embed{ border-radius:12px; overflow:hidden; border:1px solid var(--border); }
.map-embed iframe{ width:100%; height:260px; display:block; }

/* ===== Nosotros / Equipo (centrado) ===== */
.equipo__grid{
  display:grid; justify-content:center; grid-template-columns: 1fr;
  max-width: 520px; margin: 0 auto;
}
.equipo-card{
  background: var(--card); border:1px solid var(--border); border-radius:14px;
  overflow:hidden; text-align:center; box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.equipo-card:hover{ transform: translateY(-6px); }
.equipo-card__photo{ width:100%; height:320px; object-fit:cover; }
.equipo-card__body{ padding:16px; }
.equipo-card__name{ margin:0; font-size:1.4rem; color: var(--brand); }
.equipo-card__role{ margin:4px 0 10px; color: var(--muted); font-weight:600; }
.equipo-card__bio{ margin:0; color:#cfd6d7; }

/* Valores */
.values-grid{
  display:grid; gap:16px; grid-template-columns: repeat(3,1fr);
}
@media (max-width:960px){ .values-grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:560px){ .values-grid{ grid-template-columns: 1fr;} }
/* ====== Timeline / Hitos ====== */
.about-timeline .tl{
  list-style: none; margin: 18px 0 0; padding: 0;
  position: relative;
}
.about-timeline .tl::before{
  content: ""; position: absolute; left: 22px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--brand), transparent);
  opacity: .6;
}
.tl__item{
  position: relative; display: grid; grid-template-columns: 56px 1fr;
  gap: 12px; padding: 12px 0;
}
.tl__dot{
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px rgba(63,224,208,.12);
  position: relative; top: 2px; left: 16px;
}
.tl__content{
  border: 1px solid var(--border); background: var(--card);
  border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tl__content:hover{
  border-color: rgba(63,224,208,.45);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(63,224,208,.18);
}
.tl__year{
  display: inline-block; font-weight: 700; color: var(--brand);
  margin-bottom: 4px;
}
.tl__title{ margin: 0 0 4px; font-size: 1.05rem; }
.tl__desc{ margin: 0; color: var(--muted); }

@media (max-width: 560px){
  .about-timeline .tl::before{ left: 18px; }
  .tl__item{ grid-template-columns: 48px 1fr; }
  .tl__dot{ left: 12px; }
}

/* ====== Misión & Visión ====== */
.about-mission .mv-grid{
  display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 820px){
  .about-mission .mv-grid{ grid-template-columns: 1fr; }
}

.mv-card{
  border: 1px solid var(--border); background: var(--card);
  border-radius: 14px; padding: 16px; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.mv-card:hover{
  transform: translateY(-2px);
  border-color: rgba(63,224,208,.45);
  box-shadow: 0 14px 36px rgba(63,224,208,.18);
}
.mv-card__icon{
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--brand);
  background: rgba(63,224,208,.12);
  border: 1px solid rgba(63,224,208,.35);
  box-shadow: 0 10px 26px rgba(63,224,208,.16);
  margin-bottom: 8px;
}
.mv-card__title{ margin: 0 0 6px; }
.mv-card__text{ margin: 0; color: rgba(245,247,247,.84); }

/* Si usás reveal */
.reveal{ opacity: 0; transform: translateY(12px); transition: .45s ease; }
.reveal.is-in{ opacity: 1; transform: none; }
/* ===== Testimonios ===== */
.testimonios__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 24px;
}

.testimonio-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}

.testimonio-card:hover {
  transform: translateY(-4px);
}

.testimonio__foto {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 2px solid var(--brand);
}

.testimonio__texto {
  font-style: italic;
  color: rgba(245,247,247,.9);
  margin: 0 0 12px;
}

.testimonio__autor {
  font-weight: 600;
  color: var(--brand);
  margin: 0;
}
/* Mini FAQ dentro de Contacto */
.mini-faq{
  margin-top: 22px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
  padding: 16px;
}
.mini-faq__title{
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}
.mini-faq__title::after{
  content:""; display:block; width:64px; height:2px; margin-top:6px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.mini-faq__item{
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,.03);
  margin-bottom: 10px;
}
.mini-faq__item:last-child{ margin-bottom: 0; }

.mini-faq__item > summary{
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  outline: none;
  position: relative;
  padding-right: 26px; /* espacio para el ícono */
}
.mini-faq__item > summary::-webkit-details-marker{ display:none; }

/* Iconito +/− hecho en CSS */
.mini-faq__item > summary::after{
  content: "+";
  position: absolute; right: 4px; top: 0;
  color: var(--brand);
  font-weight: 900;
}
.mini-faq__item[open] > summary::after{ content: "–"; }

.mini-faq__item p{
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
/* ===== Paso a paso (numerado) ===== */
.steps--flow{
  counter-reset: paso;
  display: grid;
  gap: 12px;
}

/* usamos tu tarjeta base .step si ya la tenés;
   si no, aplicamos un estilo sutil aquí */
.steps--flow .step{
  position: relative;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
  padding: 14px 14px 14px 56px; /* espacio para número */
}

/* número circular a la izquierda */
.steps--flow .step::before{
  counter-increment: paso;
  content: counter(paso);
  position: absolute;
  left: 14px; top: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand);
  color: #052c2a;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(63,224,208,.25);
}

/* títulos y textos */
.steps--flow .step__title{ margin: 0 0 4px; font-size: 1.05rem; }
.steps--flow .step__text{ margin: 0; color: var(--muted); }

/* layout responsive (1 columna en mobile, 2 en pantallas medias si querés) */
@media (min-width: 900px){
  #como-comprar .steps--flow,
  #como-recetas .steps--flow,
  #como-talleres .steps--flow{
    grid-template-columns: 1fr 1fr;
  }
}
/* Layout tipo sushi: sidebar pegado y grilla */
.tienda__wrap{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}
.tienda__aside{ position:relative; }
.tienda__aside-inner{
  position: sticky; top: calc(var(--header-h,72px) + 14px);
  border:1px solid var(--border);
  background: var(--card);
  border-radius: 14px;
  padding: 14px;
}
.tienda__title{ margin:0 0 10px; }
.tienda__search{ margin-bottom: 10px; }
.tienda__search-input{
  width:100%; padding:10px 12px; border-radius:10px;
  border:1px solid var(--border); background:#080808; color:var(--fg);
}
.cats{ display:flex; flex-direction:column; gap:8px; margin:10px 0; }
.cat{
  width:100%;
  text-align:left;
  padding:10px 12px; border-radius:10px;
  background:#0b0b0b; border:1px solid var(--border);
  color:var(--fg); cursor:pointer;
  transition:.2s border, .2s transform;
}
.cat:hover{ border-color: rgba(63,224,208,.45); transform: translateX(1px); }
.cat.is-active{
  border-color: rgba(63,224,208,.6);
  box-shadow: 0 6px 16px rgba(63,224,208,.12) inset;
}
.tienda__sort{ margin-top: 10px; }
.tienda__sort-select{
  width:100%; padding:8px 10px; border-radius:10px;
  border:1px solid var(--border); background:#080808; color:var(--fg);
}

/* Grilla de productos (2 en móvil, 4 en desktop) */
.prod-grid{
  display:grid; gap:16px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px){
  .tienda__wrap{ grid-template-columns: 240px 1fr; }
  .prod-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px){
  .tienda__wrap{ grid-template-columns: 1fr; }
  .tienda__aside-inner{ position: static; }
  .prod-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .prod-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* Card */
.prod-card{
  border:1px solid var(--border);
  border-radius:14px; background:var(--card); overflow:hidden;
  transition:.2s transform, .2s border-color, .2s box-shadow;
}
.prod-card:hover{
  transform: translateY(-2px);
  border-color: rgba(63,224,208,.45);
  box-shadow: 0 14px 36px rgba(63,224,208,.18);
}
.prod-card__img{ width:100%; aspect-ratio: 1/1; object-fit:cover; display:block; }
.prod-card__body{ padding:12px 14px; }
.prod-card__title{ margin:0 0 4px; font-size:1.02rem; }
.prod-card__price{ margin:0 0 8px; color: var(--brand); font-weight:700; }

.prod-pager{ display:flex; justify-content:center; margin-top:14px; }

/* Esqueleto (loading) opcional */
.skel{
  border:1px solid var(--border); border-radius:14px; overflow:hidden; background:#0b0b0b;
  animation: pulse 1.2s infinite ease-in-out;
}
.skel__img{ width:100%; aspect-ratio:1/1; background:#111; }
.skel__body{ padding:12px 14px; }
.skel__line{ height:12px; background:#111; border-radius:6px; margin:6px 0; width:80%; }
.skel__line.small{ width:40%; }
@keyframes pulse{ 0%,100%{opacity:.9} 50%{opacity:.6} }
/* ==========================
   CARRITO
========================== */

.carrito-page {
  padding: 2rem 0;
}

.carrito-page h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* Lista de productos en carrito */
.carrito-list .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
}

.carrito-list .item:hover {
  transform: scale(1.01);
}

.carrito-list .item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.carrito-list .info {
  flex: 1;
  margin-left: 1rem;
}

.carrito-list .info h3 {
  font-size: 1rem;
  margin: 0 0 0.3rem;
}

.carrito-list .info p {
  font-size: 0.9rem;
  margin: 0;
  color: #555;
}

.carrito-list .acciones {
  display: flex;
  gap: 0.5rem;
}

.carrito-list .acciones button {
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  background: var(--color-principal, #000);
  color: #fff;
  transition: background 0.2s ease;
}

.carrito-list .acciones button:hover {
  background: #444;
}

/* Envío */
.carrito-envio {
  margin: 1.5rem 0;
}

.carrito-envio label {
  margin-right: 10px;
  font-weight: bold;
}

.carrito-envio select {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

/* Resumen */
.carrito-resumen {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.carrito-resumen p {
  margin: 0.4rem 0;
  font-size: 1rem;
}

.carrito-resumen strong {
  font-size: 1.2rem;
  color: var(--color-principal, #000);
}

/* Formulario del cliente */
.carrito-form {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.carrito-form h2 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.carrito-form input,
.carrito-form textarea {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
}

.carrito-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* Acciones */
.carrito-acciones {
  text-align: center;
  margin-top: 1rem;
}

.carrito-acciones .btn {
  margin: 0.5rem;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

/* Botones principales */
.carrito-acciones .btn--primary {
  background: var(--color-principal, #000);
  color: #fff;
}

.carrito-acciones .btn--primary:hover {
  background: #444;
}

.carrito-acciones .btn--secondary {
  background: #2ecc71;
  color: #fff;
}

.carrito-acciones .btn--secondary:hover {
  background: #27ae60;
}

.carrito-acciones .btn--ghost {
  background: transparent;
  border: 1px solid #000;
  color: #000;
}

.carrito-acciones .btn--ghost:hover {
  background: #000;
  color: #fff;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 768px) {
  .carrito-list .item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .carrito-list .info {
    margin: 0.5rem 0;
  }

  .carrito-acciones {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .carrito-acciones .btn {
    width: 100%;
  }
}
/* Corregir color de texto en el carrito */
.carrito-page,
.carrito-list,
.carrito-resumen,
.carrito-form {
  color: #222; /* texto oscuro */
}

/* Títulos */
.carrito-page h1,
.carrito-form h2 {
  color: #000; /* fuerte y claro */
}

/* Inputs */
.carrito-form input,
.carrito-form textarea {
  background: #fff;
  color: #000; /* texto dentro de los inputs */
}

.carrito-form input::placeholder,
.carrito-form textarea::placeholder {
  color: #666; /* placeholder más tenue */
}
/* ==========================
   CARRITO
========================== */

.carrito-page {
  padding: 2rem 0;
}

.carrito-page h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-principal, #000);
}

/* ===== Productos ===== */
.carrito-list .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  padding: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carrito-list .item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.12);
}

.carrito-list .item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.carrito-list .info {
  flex: 1;
  margin-left: 1rem;
}

.carrito-list .info h3 {
  font-size: 1rem;
  margin: 0 0 0.3rem;
  font-weight: 600;
  color: #111;
}

.carrito-list .info p {
  font-size: 0.9rem;
  margin: 0;
  color: #555;
}

.carrito-list .acciones {
  display: flex;
  gap: 0.4rem;
}

.carrito-list .acciones button {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  background: var(--color-principal, #000);
  color: #fff;
  transition: background 0.2s ease, transform 0.1s ease;
}

.carrito-list .acciones button:hover {
  background: #444;
  transform: scale(1.05);
}

/* ===== Envío ===== */
.carrito-envio {
  margin: 2rem 0 1rem;
}

.carrito-envio label {
  margin-right: 10px;
  font-weight: bold;
  font-size: 1rem;
}

.carrito-envio select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  transition: border 0.2s ease;
}

.carrito-envio select:focus {
  border-color: var(--color-principal, #000);
  outline: none;
}

/* ===== Resumen ===== */
.carrito-resumen {
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem;
  margin: 1.5rem 0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.carrito-resumen p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.carrito-resumen strong {
  font-size: 1.3rem;
  color: var(--color-principal, #000);
  font-weight: 700;
}

/* ===== Formulario ===== */
.carrito-form {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.carrito-form h2 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-principal, #000);
}

.carrito-form input,
.carrito-form textarea {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
  color: #000;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.carrito-form input:focus,
.carrito-form textarea:focus {
  border-color: var(--color-principal, #000);
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
  outline: none;
}

.carrito-form textarea {
  resize: vertical;
  min-height: 90px;
}

/* ===== Acciones ===== */
.carrito-acciones {
  text-align: center;
  margin-top: 1.5rem;
}

.carrito-acciones .btn {
  margin: 0.5rem;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carrito-acciones .btn--primary {
  background: var(--color-principal, #000);
  color: #fff;
  font-weight: 600;
}

.carrito-acciones .btn--primary:hover {
  background: #444;
}

.carrito-acciones .btn--secondary {
  background: #2ecc71;
  color: #fff;
  font-weight: 600;
}

.carrito-acciones .btn--secondary:hover {
  background: #27ae60;
}

.carrito-acciones .btn--ghost {
  background: transparent;
  border: 1.5px solid var(--color-principal, #000);
  color: var(--color-principal, #000);
  font-weight: 600;
}

.carrito-acciones .btn--ghost:hover {
  background: var(--color-principal, #000);
  color: #fff;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 768px) {
  .carrito-list .item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .carrito-list .info {
    margin: 0.5rem 0;
  }

  .carrito-acciones {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .carrito-acciones .btn {
    width: 100%;
  }
}
/* Ícono carrito */
.cart-icon {
  position: relative;
  margin: 0 1rem;
  font-size: 1.3rem;
  color: var(--color-principal, #000);
  text-decoration: none;
  font-weight: bold;
}

.cart-icon:hover {
  color: #444;
  transform: scale(1.05);
}

/* Contador del carrito */
.cart-icon #cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
}
/* Header como fila */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.brand__logo {
  max-height: 50px;
}

/* Ícono del carrito */
.cart-icon {
  position: relative;
  font-size: 1.4rem;
  color: var(--color-principal, #fff);
  text-decoration: none;
  margin-left: auto;   /* fuerza al medio */
  margin-right: auto;  /* centra entre logo y nav */
}

/* Contador */
.cart-icon #cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
}

/* Nav toggle a la derecha */
.nav-toggle {
  margin-left: auto;
}
@media (max-width: 768px) {
  .header__inner {
    justify-content: space-between; /* logo izquierda, carrito centro, toggle derecha */
  }

  .cart-icon {
    order: 2; /* se asegura de quedar en el medio */
  }

  .brand__logo {
    order: 1;
  }

  .nav-toggle {
    order: 3;
  }
}
/* Logo general */
.brand__logo {
  height: auto;
  max-height: 80px; /* en desktop se ve grande */
  width: auto;
}

/* En móvil lo achicamos */
@media (max-width: 768px) {
  .brand__logo {
    max-height: 50px;
  }
}
/* ==========================
   CARRITO PAGE
========================== */
.carrito-page {
  padding: 2rem 0;
}

/* GRID principal */
.carrito-grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* izquierda más ancha */
  gap: 2rem;
  align-items: start;
}

/* Columna izquierda */
.carrito-left h1 {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 600;
}

/* Producto en el carrito */
.carrito-list .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  padding: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carrito-list .item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.12);
}

.carrito-list .item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.carrito-list .info {
  flex: 1;
  margin-left: 1rem;
}

.carrito-list .info h3 {
  font-size: 1rem;
  margin: 0 0 0.3rem;
  font-weight: 600;
  color: #111;
}

.carrito-list .info p {
  font-size: 0.9rem;
  margin: 0;
  color: #555;
}

.carrito-list .acciones {
  display: flex;
  gap: 0.4rem;
}

.carrito-list .acciones button {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  background: var(--color-principal, #000);
  color: #fff;
  transition: background 0.2s ease, transform 0.1s ease;
}

.carrito-list .acciones button:hover {
  background: #444;
  transform: scale(1.05);
}

/* Columna derecha */
.carrito-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Envío */
.carrito-envio {
  margin-bottom: 1rem;
}

.carrito-envio label {
  margin-right: 10px;
  font-weight: bold;
  font-size: 1rem;
}

.carrito-envio select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  transition: border 0.2s ease;
}

.carrito-envio select:focus {
  border-color: var(--color-principal, #000);
  outline: none;
}

/* Resumen */
.carrito-resumen {
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.carrito-resumen p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.carrito-resumen strong {
  font-size: 1.3rem;
  color: var(--color-principal, #000);
  font-weight: 700;
}

/* Formulario */
.carrito-form {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.carrito-form h2 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.carrito-form input,
.carrito-form textarea {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
  color: #000;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.carrito-form input:focus,
.carrito-form textarea:focus {
  border-color: var(--color-principal, #000);
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
  outline: none;
}

.carrito-form textarea {
  resize: vertical;
  min-height: 90px;
}

/* Acciones */
.carrito-acciones {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.carrito-acciones .btn {
  width: 100%;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carrito-acciones .btn--primary {
  background: var(--color-principal, #000);
  color: #fff;
  font-weight: 600;
}

.carrito-acciones .btn--primary:hover {
  background: #444;
}

.carrito-acciones .btn--secondary {
  background: #2ecc71;
  color: #fff;
  font-weight: 600;
}

.carrito-acciones .btn--secondary:hover {
  background: #27ae60;
}

.carrito-acciones .btn--ghost {
  background: transparent;
  border: 1.5px solid var(--color-principal, #000);
  color: var(--color-principal, #000);
  font-weight: 600;
}

.carrito-acciones .btn--ghost:hover {
  background: var(--color-principal, #000);
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .carrito-grid {
    grid-template-columns: 1fr;
  }
}
/* === Carrito === */
.carrito-page {
  padding: 3rem 0;
  background: #faf8f6;
}

.carrito-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.carrito-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-primario, #2c2c2c);
}

.carrito-list .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

.carrito-list .item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.carrito-list .info h3 {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.carrito-list .acciones button {
  border: none;
  padding: 0.5rem 0.7rem;
  margin: 0 3px;
  border-radius: 6px;
  cursor: pointer;
  background: var(--color-secundario, #eee);
  transition: 0.3s;
}
.carrito-list .acciones button:hover {
  background: var(--color-primario, #000);
  color: #fff;
}

/* Caja resumen derecha */
.carrito-box {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.carrito-form input,
.carrito-form textarea,
.carrito-envio select {
  width: 100%;
  padding: 0.7rem;
  margin: 0.4rem 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
}

.carrito-resumen {
  margin: 1rem 0;
  font-size: 1rem;
}
.carrito-resumen .total {
  font-size: 1.2rem;
  color: var(--color-primario, #000);
  font-weight: bold;
}

.carrito-acciones {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.carrito-acciones .btn {
  padding: 0.8rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  border: none;
}

.btn--primary {
  background: #000;
  color: #fff;
}
.btn--primary:hover { background: #333; }

.btn--secondary {
  background: #d35400;
  color: #fff;
}
.btn--secondary:hover { background: #e67e22; }

.btn--ghost {
  background: transparent;
  border: 1px solid #999;
  color: #333;
}
.btn--ghost:hover {
  background: #333;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .carrito-grid {
    grid-template-columns: 1fr;
  }
}
/* Botones base */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

/* Botón principal (ej: Mercado Pago) */
.btn--primary {
  background: #1abc9c; /* turquesa */
  color: #fff;
}
.btn--primary:hover {
  background: #16a085; /* turquesa más oscuro */
}

/* Botón secundario (ej: Transferencia) */
.btn--secondary {
  background: #333; 
  color: #fff;
}
.btn--secondary:hover {
  background: #555;
}

/* Botón fantasma (ej: Vaciar) */
.btn--ghost {
  background: transparent;
  border: 2px solid #1abc9c; /* borde turquesa */
  color: #1abc9c;
}
.btn--ghost:hover {
  background: #1abc9c;
  color: #fff;
}
.cart-icon,
.account-icon {
  margin-left: 15px;
  color: #333;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cart-icon span,
.account-icon span {
  font-weight: bold;
}

.cart-icon:hover,
.account-icon:hover {
  color: var(--color-accent, #009688); /* el turquesa que usaste */
}
/* Menú desplegable de usuario */
.user-icon {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.user-menu {
  display: none;
  position: absolute;
  right: 0;
  background: #111;
  color: white;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 10px;
  min-width: 150px;
  z-index: 1000;
}

.user-menu a,
.user-menu button {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: white;
  text-align: left;
  padding: 5px 10px;
  cursor: pointer;
}

.user-menu a:hover,
.user-menu button:hover {
  background: #333;
}

.user-icon:hover .user-menu {
  display: block;
}
/* ===== LOGIN PAGE ===== */
.login-page {
  max-width: 500px;
  margin: 60px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.login-page h1 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 2rem;
  color: #111;
}

.form-box {
  margin-bottom: 30px;
}

.form-box h2 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #333;
  border-left: 4px solid #008080; /* turquesa */
  padding-left: 10px;
}

.form-box input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: border 0.2s ease;
}

.form-box input:focus {
  border-color: #008080; /* turquesa */
  outline: none;
}

.form-box button {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
}

/* Botón logout */
#logoutBtn {
  width: 100%;
  margin-top: 20px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  color: #333;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

#logoutBtn:hover {
  background: #eee;
}
/* Página de perfil */
.perfil-page {
  margin-top: 2rem;
}

.perfil-page h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color, #111);
}

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.perfil-info p, 
.perfil-pedidos li {
  margin: 0.5rem 0;
}

.perfil-acciones {
  text-align: center;
  margin-top: 2rem;
}
/* === PERFIL PAGE === */
.perfil-page {
  margin-top: 40px;
  color: #fff; /* texto en blanco */
}

/* Títulos */
.perfil-page h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00c896; /* turquesa para destacar */
  text-align: center;
  text-shadow: 0 0 10px rgba(0,200,150,0.4);
}

.perfil-page h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #FFD700; /* dorado elegante */
  border-bottom: 2px solid rgba(255,255,255,0.1);
  padding-bottom: 8px;
}

/* Card general */
.card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

/* Texto dentro de las cards */
.card p {
  margin: 8px 0;
  font-size: 1rem;
  color: #ddd;
}

/* Destacar etiquetas */
.card strong {
  color: #00c896;
}

/* Historial de pedidos */
.perfil-pedidos ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.perfil-pedidos li {
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #ccc;
}

.perfil-pedidos li:last-child {
  border-bottom: none;
}

.perfil-pedidos li:hover {
  background: rgba(0,200,150,0.15);
}

/* Botón de cerrar sesión */
.perfil-acciones {
  text-align: center;
  margin-top: 20px;
}

.perfil-acciones .btn {
  background: #e63946;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.perfil-acciones .btn:hover {
  background: #d62828;
  transform: scale(1.05);
}
.admin-pedidos {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.pedido-card {
  background: rgba(0,0,0,0.6);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  color: #fff;
}

.pedido-card button {
  margin-top: 0.5rem;
}
/* ====== AGENDA DE RESERVAS ====== */
main.section {
  padding: 60px 20px;
}

.section__title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.section__subtitle {
  text-align: center;
  margin-bottom: 25px;
  color: var(--muted, #bbb);
}

.admin-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border, #333);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.admin-card .label {
  font-size: 0.9rem;
  color: var(--muted, #aaa);
  display: block;
  margin: 10px 0 5px;
}

.admin-card .input,
.admin-card textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border, #333);
  background: rgba(255,255,255,0.08);
  color: var(--fg, #fff);
  font-size: 0.95rem;
}

.admin-card textarea {
  resize: vertical;
  min-height: 80px;
}

.admin-card .btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px;
  margin-top: 15px;
  border-radius: 10px;
  background: var(--primary, #e63946);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.admin-card .btn:hover {
  background: var(--primary-hover, #d62828);
}

/* Mensaje de ayuda */
#resHelp {
  text-align: center;
  margin-top: 15px;
  font-size: 0.95rem;
  color: var(--muted, #bbb);
}

/* Responsive */
@media (max-width: 768px) {
  .admin-card {
    padding: 16px;
  }
}
/* Estilos para el select */
select, .select {
  background-color: #111;  /* Fondo oscuro */
  color: #fff;            /* Texto blanco */
  border: 1px solid #444;
  padding: 10px;
  border-radius: 8px;
}

/* Estilos para las opciones desplegadas */
select option {
  background-color: #111; /* Fondo oscuro de las opciones */
  color: #fff;           /* Texto blanco */
}
/* =========================
   PANEL DE ADMINISTRACIÓN
   ========================= */

/* Contenedor general */
.admin-wrap {
  padding-block: 40px;
}

/* Grid general */
.admin-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(12, 1fr);
}

/* Columnas */
.admin-col-4 { grid-column: span 4; }
.admin-col-8 { grid-column: span 8; }
.admin-col-12 { grid-column: span 12; }

/* Responsive */
@media(max-width: 960px) {
  .admin-col-4,
  .admin-col-8,
  .admin-col-12 {
    grid-column: 1 / -1;
  }
}

/* Tarjetas */
.admin-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border, rgba(255,255,255,.15));
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: transform .2s ease;
}

.admin-card:hover {
  transform: translateY(-2px);
}

/* Títulos */
.admin-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--fg, #fff);
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding-bottom: 6px;
}

/* Inputs y selects */
.admin-card .input,
.admin-card .select,
.admin-card .file,
.admin-card textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(255,255,255,.15));
  background: rgba(255,255,255,.05);
  color: var(--fg, #fff);
  margin-bottom: 10px;
  font-size: .95rem;
}

/* Labels */
.label {
  font-size: .85rem;
  color: var(--muted, #aaa);
  display: block;
  margin: 8px 0 4px;
}

/* Botones */
.btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: .9rem;
}

.btn--primary {
  background: #28a745;
  border-color: #28a745;
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border, rgba(255,255,255,.2));
  color: var(--fg, #fff);
}

.btn--danger {
  background: #dc3545;
  border-color: #dc3545;
  color: #fff;
}

/* Listas de items (categorías, productos, pedidos, reservas) */
.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-item {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border, rgba(255,255,255,.15));
  border-radius: 10px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list-item strong {
  color: var(--fg, #fff);
}

/* Badges */
.badge-mini {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-size: .75rem;
  margin-left: 6px;
  color: var(--muted, #bbb);
}

/* Pedidos y reservas */
.pedido-item {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border, rgba(255,255,255,.15));
  border-radius: 12px;
  padding: 14px;
}

.pedido-item h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.pedido-estado {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #444;
  color: #fff;
  font-size: .8rem;
}
/* =========================
   BOTONES TURQUESA
   ========================= */

/* Botón primario en turquesa */
.btn--primary {
  background: #1abc9c;        /* turquesa */
  border-color: #1abc9c;
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}

.btn--primary:hover {
  background: #16a085;        /* turquesa más oscuro */
  transform: translateY(-1px);
}

/* Botón fantasma (borde turquesa) */
.btn--ghost {
  background: transparent;
  border: 1px solid #1abc9c;
  color: #1abc9c;
  transition: background .2s ease, color .2s ease;
}

.btn--ghost:hover {
  background: #1abc9c;
  color: #fff;
}

/* Botón peligro (mantiene rojo) */
.btn--danger {
  background: #e74c3c;
  border-color: #e74c3c;
  color: #fff;
}

.btn--danger:hover {
  background: #c0392b;
}
.grid-recetas {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
}

.receta-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.receta-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.receta-info {
  padding: 12px;
}

.receta-info h3 {
  margin: 0 0 8px;
}

.receta-info .precio {
  font-weight: bold;
  margin: 8px 0;
}
/* ====== Cards de talleres ====== */
.grid-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-top: 20px;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #333;
}

.card p {
  margin: 6px 0;
  font-size: 0.95rem;
  color: #555;
}

.card button {
  margin-top: 12px;
  padding: 10px;
  background: #009688; /* turquesa */
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.card button:hover {
  background: #00796b;
}
/* === Grid de recetas === */
.grid-recetas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* === Tarjeta de receta === */
.receta-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.receta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}

/* Imagen */
.receta-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Info */
.receta-info {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.receta-info h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}
.receta-info p {
  margin: 4px 0;
  color: #444;
}
.receta-info .precio {
  font-weight: bold;
  margin: 10px 0;
}

/* Botón */
.receta-info .btn {
  align-self: flex-start;
  margin-top: auto;
}
/* === Grid de recetas === */
.grid-recetas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* === Tarjeta de receta === */
.receta-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.receta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}

/* Imagen */
.receta-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Info */
.receta-info {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.receta-info h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: black;
}
.receta-info p {
  margin: 4px 0;
  color: #444;
}
.receta-info .precio {
  font-weight: bold;
  margin: 10px 0;
}

/* Botón */
.receta-info .btn {
  align-self: flex-start;
  margin-top: auto;
}
/* === Ajuste de separación entre carrito y menú hamburguesa === */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Asegura espacio entre carrito y nav-toggle */
.cart-icon {
  margin-right: 10px; /* 👈 separa carrito del botón */
}

.nav-toggle {
  margin-left: 30px; /* opcional, para que no quede pegado al borde */
}

/* En móvil mantenemos el orden correcto */
@media (max-width: 768px) {
  .header__inner {
    justify-content: flex-start;
    gap: 7px; /* 👈 agrega espacio fijo entre logo, carrito y toggle */
  }

  .brand__logo { order: 1; }
  .cart-icon   { order: 2; }
  .nav-toggle  { order: 3; }
}
/* ===== Estilos exclusivos de PERFIL ===== */
.perfil-page .card {
  background: #1a1a1a; /* gris oscuro elegante */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.perfil-page .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}

/* ===== Títulos dentro de cards del perfil ===== */
.perfil-page .card h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #00e6c3; /* turquesa */
  display: flex;
  align-items: center;
  gap: 8px;
}
.perfil-page .card h2 i {
  color: #00e6c3;
  font-size: 1.2rem;
}

/* ===== Texto y listas ===== */
.perfil-page .card p, 
.perfil-page .card ul li {
  color: #f1f1f1; /* blanco suave */
  font-size: 0.95rem;
  margin: 0.4rem 0;
}

.perfil-page .card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.perfil-page .card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.perfil-page .card ul li:last-child {
  border-bottom: none;
}

/* ===== Botones dentro del perfil ===== */
.perfil-page .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.perfil-page .btn--ghost {
  background: transparent;
  border: 1px solid #00e6c3;
  color: #00e6c3;
}
.perfil-page .btn--ghost:hover {
  background: #00e6c3;
  color: #121212;
  transform: scale(1.05);
}

/* ===== Info destacada en el perfil ===== */
.perfil-page .perfil-info p strong {
  color: #00e6c3;
}
.badge-mini {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: bold;
}

.badge-success {
  background: #28a745;
  color: #fff;
}

.badge-pending {
  background: #ffc107;
  color: #000;
}
.card img {
  width: 100%;
  height: 250px;   /* o lo que uses */
  object-fit: contain; /* 🔹 ahora se ven enteras */
  background: #fff;     /* para que el espacio vacío quede limpio */
  border-radius: 8px;
}
