/* AGRIVALL — styles.css  |  mobile-first */
/* ─── RESET & BASE ─── */
@charset "UTF-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --green-dark:       #2d5a1b;
  --green-medium:     #3a7a22;
  --green-accent:     #a8d050;
  --green-card-bg:    #e9f5de;
  --green-card-text:  #2d6a1a;
  --green-card-link:  #3a8a20;
  --pink-card-bg:     #fad6d6;
  --red-card-text:    #c0392b;
  --cream-card-bg:    #faeed6;
  --orange-card-text: #e07b00;
  --gold:             #f5a623;
  --text-dark:        #2f4b18;
  --text-reddark:     #a10e0e;
  --text-gray:        #5a6b4a;
  --text-light:       #ffffff;
  --navbar-height:    72px;
  --radius-card:      18px;
  --radius-pill:      20px;
  --shadow-card:      0 0 28px rgba(49, 116, 46, 0.4);
  --shadow-card-hover:0 10px 40px rgba(0, 0, 0, 0.15);
  --transition:       0.22s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background: #fff;
  font-size: 16px;
}

img { display: block; }

a { text-decoration: none; color: inherit; }


/* ─── NAVBAR ─── */
.page-productos .navbar,
.page-casilla .navbar,
.page-blog .navbar,
.page-carrito .navbar,
.page-checkout .navbar,
.page-contacto .navbar,
.page-conocenos .navbar {
  background: linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%),
              url('../images/bg-productos.png') center center/cover no-repeat;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

/* Fondo traslúcido al hacer scroll */
.navbar.is-scrolled {
  background: rgba(10, 22, 5, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}


/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity var(--transition);
}
.navbar-logo:hover { opacity: 0.88; }

.navbar-logo-icon {
  width: 250px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

/* Mobile: logo más pequeño para dejar espacio al hamburger y al idioma */
@media (max-width: 768px) {
  .navbar-logo-icon {
    width: 150px;
  }
  .navbar__locale-btn {
    font-size: 10px;
    padding: 2px 5px;
  }
}

/* Nav links — mobile: menú desplegable */
.navbar__nav {
  display: none;
  position: absolute;
  top: 62px;
  left: 0;
  right: 0;
  background: rgba(10, 22, 5, 0.92);
  backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 8px 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 99;
}
.navbar__nav.is-open { display: flex; }

/* Login dentro del menú mobile */
.navbar__link--login {
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}
.navbar__link--login i {
  font-size: 13px;
  opacity: 0.85;
}
.navbar__link--login:hover {
  color: #fff;
}

.navbar__link {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  position: relative;
  width: 100%;
  padding: 12px 24px;
  transition: color var(--transition);
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: auto;
  top: auto;
  left: 24px;
  width: 0;
  height: 2px;
  background: var(--green-accent);
  border-radius: 2px;
  transition: width var(--transition);
}
.navbar__link:hover { color: var(--green-accent); }
.navbar__link:hover::after { width: 100%; }

/* First link (Productos) */
.navbar__link:first-child::after { width: 100%; }

/* Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Cart icon */
.navbar__cart {
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 1.4rem;
  padding: 6px;
  transition: opacity var(--transition);
}
.navbar__cart:hover { opacity: 0.8; }

.navbar__cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--green-accent);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
}

.navbar__login {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  border: 1.8px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-pill);
  padding: 9px 22px;
  transition: border-color var(--transition), background var(--transition);
}
.navbar__login i {
  font-size: 1.25em;
}
.navbar__login:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

/* Hamburger */
.navbar__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 2.5rem;
  transition: opacity var(--transition);
}
.navbar__hamburger:hover { opacity: 0.8; }

/* Switcher de idioma */
.navbar__locale {
  display: flex;
  align-items: center;
  gap: 2px;
}
.navbar__locale-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  padding: 3px 7px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.navbar__locale-btn:hover,
.navbar__locale-btn.is-active {
  color: #fff;
  background: rgba(255,255,255,.18);
}
.navbar__locale-sep {
  color: rgba(255,255,255,.3);
  font-size: 11px;
  user-select: none;
}


/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 90svh;
  display: flex;
  align-items: center;
  background-image: url('../images/bg-frutas.png');
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 50%;
  padding: calc(var(--navbar-height) + 5px) 22px 120px;
}

/* Decorative green line above heading */
.hero__line img {
  display: block;
  width: clamp(200px, 24vw, 550px);
  height: auto;
}

.hero__heading {
  font-size: clamp(30px, 8vw, 45px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero__heading--accent {
  color: var(--green-accent);
  display: inline;
}

.hero__subtitle {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: 10px;
}

.hero__gold {
  color: var(--gold);
  font-weight: 700;
}

/* CTA Button */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-dark);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 26px;
  border-radius: 30px 0 0 0;
  margin-bottom: 28px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(45, 90, 27, 0.45);
}
/*.hero__cta img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}*/
.hero__cta:hover {
  background: var(--green-medium);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45, 90, 27, 0.5);
}

/* Scroll hint — oculto en móvil y tablet, visible solo en desktop */
.hero__scroll {
  position: absolute;
  bottom: 106px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  animation: bounce 2.2s ease infinite;
}
.hero__scroll i {
  font-size: 1.25rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}


/* ─── FEATURES — 3 tarjetas ─── */
.features {
  background: #fff;
  padding: 40px 16px 48px;
  margin-top: -200px;
  position: relative;
  z-index: 1;
  border-radius: 28px 28px 0 0;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}

/* ─── CARD BASE ─── */
.card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  border-radius: var(--radius-card);
  padding: 22px 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* Card color variants */
.card--green  { background: var(--green-card-bg); }
.card--pink   { background: var(--pink-card-bg); }
.card--cream  { background: var(--cream-card-bg); }

/* Icon circle */
.card__icon-wrap {
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background-color: var(--text-light);
}
.card__icon-wrap i {
  font-size: 2.4rem;
}


.card__icon-wrap--green i { color: var(--green-card-text); }
.card__icon-wrap--pink  i { color: var(--red-card-text); }
.card__icon-wrap--cream i { color: var(--orange-card-text); }*/

/* Card body */
.card__body {
  flex: 1;
  z-index: 1;
}

.card__title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 9px;
  line-height: 1.2;
}
.card__title--green  { color: var(--green-card-text); }
.card__title--red    { color: var(--red-card-text); }
.card__title--orange { color: var(--orange-card-text); }

.card__desc {
  font-size: 1.15rem;
  font-weight: 500;
  color: #5a6b52;
  line-height: 1.6;
  margin-bottom: 15px;
}

.card__link {
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap var(--transition), opacity var(--transition);
}
.card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}
.card__link:hover { gap: 7px; opacity: 0.82; }

.card__link--green  { color: var(--green-card-link); }
.card__link--red    { color: var(--red-card-text); }
.card__link--orange { color: var(--orange-card-text); }

/* Fruit decoration (right side) 
.card__fruit-img {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 100px;
  height: 100px;
  z-index: 1;
  opacity: 0.92;
}
.card__fruit-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}*/
.card__fruit-img {
  width: 80px;
  height: 80px;
  right: -4px;
  bottom: -4px;
}

/* Watermark leaf */
.card__watermark {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 110px;
  height: 110px;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.card__watermark i {
  font-size: 6rem;
  opacity: 0.12;
  line-height: 1;
}
.card--green .card__watermark i { color: var(--green-card-text); }
.card--pink  .card__watermark i { color: var(--red-card-text); }
.card--cream .card__watermark i { color: var(--orange-card-text); }


/* ─── BREADCRUMB ─── */
.breadcrumb { margin-bottom: 6px; }

.breadcrumb__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  margin: 0;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: #7a9065;
}

.breadcrumb__link {
  color: var(--green-medium);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb__link:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.breadcrumb__sep {
  margin: 0 6px;
  color: #aac090;
}

.breadcrumb__item--current {
  color: #4a5e40;
  font-weight: 600;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ─── CERTIFICATIONS ─── */
.certs {
  position: relative;
  background: #fff;
  padding: 36px 16px 0;
  text-align: center;
  overflow: hidden;
}

.certs__heading-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 10px;
}

.certs__leaf-icon {
  width: 3.5rem;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.certs__title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-dark);
  line-height: 1.25;
  text-transform: uppercase;
  text-align: left;
}

.certs__subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color:var(--green-medium);
  margin-bottom: 40px;
}

.certs__logos {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.certs__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.certs__logo-item:hover {
  opacity: 0.8;
}

.certs__logo-box {
  width: 110px;
  height: 66px;
  border: 1.5px solid #dde8d0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.certs__logo-box:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  border-color: #b5d090;
}
.certs__logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.certs__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5a6b4a;
  line-height: 1.5;
  text-align: center;
}

/* Decorative leaves at bottom */
.certs__leaves {
  position: relative;
  width: 100%;
  height: 90px;
  margin-top: 10px;
}

.certs__leaves-left,
.certs__leaves-right {
  position: absolute;
  bottom: 0;
  height: 90px;
  object-fit: fill;
}

.certs__leaves-left  { left: 0;  width: 180px; height: auto; }
.certs__leaves-right { right: 0; width: 180px; height: auto;}


/* ─── RESPONSIVE — TABLET (≥ 769px) ─── */
@media (min-width: 769px) {

  /* Navbar */
  .navbar {
    /*padding: 60px 40px;*/
    height: calc(var(--navbar-height) * 1.2);
  }

  .navbar__nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-bottom: none;
    z-index: auto;
  }

  .navbar__link {
    font-size: 1.2rem;
    width: auto;
    padding: 0 0 3px;
  }
  .navbar__link::after {
    bottom: 0;
    top: auto;
    left: 0;
  }

  .navbar__login { display: flex; }

  .navbar__hamburger { display: none; }

  /* En desktop el login ya est\u00e1 en el bot\u00f3n, ocultar el del men\u00fa */
  .navbar__link--login { display: none; }

  /* Hero */
  .hero {
    min-height: 90vh;
    background-position: center 40%;
  }

  .hero__content {
    padding: 48px 40px 120px;
    max-width: 580px;
  }

  .hero__heading {
    font-size: clamp(42px, 6em, 60px);
  }

  .hero__subtitle {
    font-size: clamp(14px, 1.6rem, 17px);
  }

  .hero__cta {
    font-size: 15px;
    padding: 16px 32px;
  }

  /* Features */
  .features {
    padding: 48px 24px 60px;
    margin-top: 0;
    border-radius: 0;
  }

  .features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1200px;
  }

  /* Card */
  .card {
    padding: 40px 35px 40px 30px;
  }

  /* Certs */
  .certs {
    padding: 40px 40px 0;
  }

  .certs__heading-wrap {
    gap: 10px;
  }

  .certs__title {
    font-size: clamp(16px, 2.2vw, 22px);
  }

  .certs__logos { gap: 32px; }

  .certs__logo-box {
    width: 140px;
    height: 80px;
  }

  .certs__leaves-left  { width: 300px; }
  .certs__leaves-right { width: 300px; }
}


/* ─── RESPONSIVE — DESKTOP (≥ 1025px) ─── */
@media (min-width: 1025px) {

  /* Navbar */
  .navbar {
    padding: 40px 40px ;
    }

  /* Hero */
  .hero__content {
    padding: calc(var(--navbar-height) + 30px) 60px 100px;
  }

  .hero__scroll {
    display: flex;
    bottom: 200px;
  }

  /* Features */
  .features {
    padding: 30px 40px 72px;
  }

  .features__grid {
    gap: 35px;
  }
}


/* ─── FOOTER ─── */

.site-footer {
  background: #f5f9f0;
  border-top: 1.5px solid #dde8d0;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Franja superior ── */
.site-footer__top {
  padding: 24px 0 20px;
}

.site-footer__top .site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  align-items: center;
}

/* ── Columnas ── */
.site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  max-width: 300px;
  width: 100%;
}

.site-footer__col-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

/* ── Col 1: Marca y contacto ── */
.site-footer__logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--green-dark);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.site-footer__welcome {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.65;
}

.site-footer__address {
  font-style: normal;
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.site-footer__address i { color: var(--green-dark); margin-top: 3px; flex-shrink: 0; }

.site-footer__phone,
.site-footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
  transition: color var(--transition);
  width: fit-content;
}
.site-footer__phone:hover,
.site-footer__contact-link:hover { color: var(--green-medium); }

/* ── Col 2: Mapa del sitio ── */
.site-footer__nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-gray);
  text-decoration: none;
  transition: color var(--transition);
}
.site-footer__nav-link i {
  width: 14px;
  text-align: center;
  color: var(--green-dark);
  font-size: 12px;
  flex-shrink: 0;
}
.site-footer__nav-link:hover { color: var(--green-dark); }

/* ── Col 3: Valoraciones ── */
.site-footer__reviews-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  width: fit-content;
  transition: opacity var(--transition);
}
.site-footer__reviews-score:hover { opacity: 0.75; }

.site-footer__reviews-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1;
}

.site-footer__stars {
  display: flex;
  gap: 2px;
  color: #e6a817;
  font-size: 15px;
}

.site-footer__reviews-count {
  font-size: 12px;
  color: var(--text-gray);
  font-weight: 600;
}

/* ── Franja inferior ── */
.site-footer__bottom {
  border-top: 1.5px solid #dde8d0;
  padding: 14px 0;
}

.site-footer__bottom .site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.site-footer__copy {
  font-size: 12px;
  color: var(--text-gray);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
}

.site-footer__legal-link {
  font-size: 12px;
  color: var(--text-gray);
  text-decoration: none;
  transition: color var(--transition);
}
.site-footer__legal-link:hover { color: var(--green-dark); }

/* ── Responsive tablet ≥ 769px ── */
@media (min-width: 769px) {
  .site-footer__top .site-footer__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    text-align: left;
  }

  .site-footer__col { flex: 1; max-width: 280px; align-items: center; text-align: center; }

  .site-footer__bottom .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .site-footer__top { padding: 28px 0 24px; }
  .site-footer__inner { padding: 0 48px; }
}

/* ─── FLASH CARRITO ─── */
.flash-carrito {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-dark);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  transition: opacity .4s ease;
}
.flash-carrito i { font-size: 16px; color: var(--green-accent); }

/* ─── PANEL ADMIN ─── */
.admin-panel-body {
  display: flex;
  min-height: 100vh;
  background: #f4f6f3;
  font-family: 'Montserrat', sans-serif;
}

/* Sidebar */
.admin-sidebar {
  width: 240px;
  background: var(--green-dark);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform .25s ease;
}
.admin-sidebar--open { transform: none; }
@media (min-width: 900px) { .admin-sidebar { transform: none; } }

.admin-sidebar__logo {
  display: flex;
  justify-content: center;
  padding: 24px 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.admin-sidebar__logo img { height: 44px; object-fit: contain; }

.admin-sidebar__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  gap: 4px;
}

.admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.admin-sidebar__link:hover,
.admin-sidebar__link--active {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.admin-sidebar__link i { width: 18px; text-align: center; }

.admin-sidebar__footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-sidebar__user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.65);
  font-size: 13px;
  font-weight: 600;
  padding: 0 4px;
}
.admin-sidebar__logout {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background .15s, color .15s;
}
.admin-sidebar__logout:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Main area */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-left: 0;
  transition: margin-left .25s;
}
@media (min-width: 900px) { .admin-main { margin-left: 240px; } }

/* Topbar */
.admin-topbar {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  height: 60px;
  border-bottom: 1px solid #e4eed9;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-topbar__toggle {
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
}
@media (min-width: 900px) { .admin-topbar__toggle { display: none; } }

.admin-topbar__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-dark);
}

/* Content */
.admin-content { padding: 28px 24px; }

/* Dashboard cards */
.admin-dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  max-width: 900px;
}

.admin-dash-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #e4eed9;
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  color: var(--text-dark);
  transition: box-shadow .2s, border-color .2s;
}
.admin-dash-card:hover {
  border-color: var(--green-medium);
  box-shadow: 0 4px 16px rgba(58,122,34,.12);
}

.admin-dash-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-card-bg);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.admin-dash-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-dash-card__label { font-weight: 800; font-size: 15px; }
.admin-dash-card__sub   { font-size: 12px; color: var(--text-gray); }
.admin-dash-card__arrow { color: var(--text-gray); font-size: 13px; }

/* ─── REDES SOCIALES (footer) ─── */
.site-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.site-footer__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.site-footer__social-btn:hover {
  background: var(--green-accent);
  color: var(--green-dark);
  transform: translateY(-2px);
}
