/*
Theme Name: Henko
Description: Tema a medida para Henko Peluquería. Diseño elegante (Playfair Display + Lato, crema y dorado) con animaciones GSAP y scroll suave Lenis.
Author: Henko
Version: 1.7.0
Requires PHP: 7.4
Text Domain: henko
*/

/* ============ Reset ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ============ Design tokens ============ */
:root {
  /* Paleta derivada del logo: marrón #614a32 y crema #e8d0b8 */
  --color-bg: #f7efe4;
  --color-surface: #fdfaf4;
  --color-text: #362b1c;
  --color-muted: #6e5f4c;
  --color-accent: #614a32;
  --color-accent-dark: #4a3826;
  --color-cream: #e8d0b8;
  --color-dark: #33281a;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;

  --container: min(75rem, 100% - 3rem);
  --header-h: 6.5rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

/* ============ Utilidades ============ */
.container {
  width: var(--container);
  margin-inline: auto;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent);
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border: 1px solid #fff;
}

.btn--ghost:hover {
  background: #fff;
  color: var(--color-text);
}

.section {
  padding-block: 6rem;
}

.section--alt {
  background: var(--color-surface);
}

.narrow {
  max-width: 44rem;
  text-align: center;
}

.narrow p + p {
  margin-top: 2rem;
}

.center {
  text-align: center;
  margin-top: 2.5rem;
}

/* Solo se ocultan si el JS confirma que las animaciones van a ejecutarse */
html.henko-anim [data-reveal] {
  opacity: 0;
}

/* ============ Cabecera de sección ============ */
.section-head {
  margin-bottom: 3rem;
}

.section-head--center {
  text-align: center;
}

.section-head__overline {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.section-head__rule {
  display: inline-block;
  width: 3.5rem;
  height: 2px;
  background: var(--color-accent);
  margin-top: 1.2rem;
}

/* ============ Header ============ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.header.is-scrolled {
  background: rgb(247 239 228 / 0.94);
  backdrop-filter: blur(8px);
  border-bottom-color: rgb(97 74 50 / 0.12);
}

/* En la portada el hero es oscuro: logo y enlaces en claro hasta hacer scroll */
body.home .header:not(.is-scrolled) .header__logo svg {
  color: var(--color-cream);
}

body.home .header:not(.is-scrolled) .header__toggle span {
  background: #fff;
}

@media (min-width: 48.01rem) {
  body.home .header:not(.is-scrolled) .header__nav a:not(.btn) {
    color: #fff;
  }

  body.home .header:not(.is-scrolled) .header__nav a:not(.btn):hover,
  body.home .header:not(.is-scrolled) .header__nav a[aria-current='page'] {
    color: var(--color-cream);
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.header__logo svg {
  height: 4.2rem;
  width: auto;
  display: block;
  color: var(--color-accent);
  transition: color 0.3s ease;
}

.header__logo:hover svg {
  color: var(--color-accent-dark);
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.header__nav a:not(.btn) {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.header__nav a:not(.btn):hover,
.header__nav a[aria-current='page'] {
  color: var(--color-accent);
}

.header__cta {
  padding: 0.7rem 1.6rem;
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.header__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 48rem) {
  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: var(--color-bg);
    border-bottom: 1px solid rgb(49 45 46 / 0.08);
    display: none;
  }

  .header__nav.is-open {
    display: block;
  }

  .header__nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 2rem;
  }

  .header__nav li {
    width: 100%;
    text-align: center;
  }

  .header__nav a:not(.btn) {
    display: block;
    padding: 0.9rem;
  }

  .header__cta {
    margin-top: 1rem;
  }
}

/* ============ Hero portada ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: #fff;
}

/* Capas del hero: slider (1) < overlay (2) < flechas (3) < texto (4) */
.hero__slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__bg.is-active {
  opacity: 1;
  z-index: 2;
  animation: hero-zoom 9s ease-out forwards;
}

@keyframes hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.hero__arrow:hover {
  background: rgb(255 255 255 / 0.15);
  border-color: #fff;
}

.hero__arrow svg {
  width: 1.2rem;
  height: 1.2rem;
}

.hero__arrow--prev {
  left: 1.5rem;
}

.hero__arrow--next {
  right: 1.5rem;
}

@media (max-width: 48rem) {
  .hero__arrow {
    width: 2.4rem;
    height: 2.4rem;
  }

  .hero__arrow--prev {
    left: 0.8rem;
  }

  .hero__arrow--next {
    right: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg.is-active {
    animation: none;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgb(33 30 31 / 0.55);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: start;
  text-align: left;
  gap: 1.4rem;
}

/* Deja hueco a la flecha izquierda cuando el contenedor llega hasta ella */
@media (max-width: 90rem) {
  .hero__content {
    padding-inline: 4rem 2rem;
  }
}

@media (max-width: 48rem) {
  .hero__content {
    padding-inline: 3.2rem 1rem;
  }
}

.hero__overline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-cream);
}

.hero h1 {
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 700;
}

.hero .hero__lema {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

/* ============ Hero páginas interiores ============ */
.page-hero {
  padding-block: calc(var(--header-h) + 6rem) 5rem;
  text-align: center;
  background: var(--color-surface);
}

.page-hero__overline {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-hero p {
  max-width: 38rem;
  margin: 1.2rem auto 0;
  color: var(--color-muted);
}

/* ============ Tarjetas ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
}

.card {
  background: var(--color-surface);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  border: 1px solid rgb(97 74 50 / 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgb(51 40 26 / 0.1);
  border-color: rgb(97 74 50 / 0.35);
}

.card__icon {
  width: 4.2rem;
  height: 4.2rem;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  color: var(--color-accent);
  transition: background 0.35s ease, color 0.35s ease;
}

.card:hover .card__icon {
  background: var(--color-accent);
  color: var(--color-cream);
}

.card__icon svg {
  width: 1.7rem;
  height: 1.7rem;
}

/* Animación del icono al pasar el ratón, distinta por servicio */
.card:hover [data-icon='tijeras'] svg {
  animation: icon-snip 0.7s ease;
}

.card:hover [data-icon='gota'] svg {
  animation: icon-drop 0.7s ease;
}

.card:hover [data-icon='brillo'] svg {
  animation: icon-sparkle 0.7s ease;
}

.card:hover [data-icon='corona'] svg {
  animation: icon-crown 0.7s ease;
}

@keyframes icon-snip {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-14deg); }
  60% { transform: rotate(9deg); }
}

@keyframes icon-drop {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  70% { transform: translateY(2px) scaleY(0.92); }
}

@keyframes icon-sparkle {
  0%, 100% { transform: scale(1) rotate(0); }
  50% { transform: scale(1.18) rotate(14deg); }
}

@keyframes icon-crown {
  0%, 100% { transform: translateY(0) rotate(0); }
  35% { transform: translateY(-4px) rotate(-7deg); }
  65% { transform: translateY(-2px) rotate(6deg); }
}

@media (prefers-reduced-motion: reduce) {
  .card:hover .card__icon svg {
    animation: none;
  }
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* ============ Reseñas (widget Google Reviews, plugin grw) ============ */
.resenas-widget .wp-gr {
  font-family: var(--font-body) !important;
}

/* Tarjetas de reseña como las del tema */
.resenas-widget .grw-review-inner.grw-backgnd {
  background: var(--color-surface) !important;
  border-radius: 0 !important;
  border-top: 2px solid var(--color-accent);
  box-shadow: none !important;
  padding: 1.8rem 1.6rem !important;
}

.resenas-widget .wp-google-name {
  font-family: var(--font-display) !important;
  font-weight: 700;
  color: var(--color-text) !important;
  font-size: 1.05rem;
}

.resenas-widget .wp-google-time {
  color: var(--color-muted) !important;
  font-size: 0.8rem;
}

.resenas-widget .wp-google-text {
  color: var(--color-muted) !important;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
}

.resenas-widget .wp-google-based {
  color: var(--color-muted) !important;
}

/* Estrellas en el marrón del logo */
.resenas-widget .rpi-stars,
.resenas-widget .rpi-stars::before,
.resenas-widget .rpi-stars::after,
.resenas-widget .rpi-stars > span {
  color: var(--color-accent) !important;
}

/* Avatares redondos */
.resenas-widget .grw-img {
  border-radius: 50%;
}

/* Botón "valóranos en Google" con el estilo de los botones del tema */
.resenas-widget .wp-google-wr a {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem !important;
  background: var(--color-accent) !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.resenas-widget .wp-google-wr a:hover {
  background: var(--color-accent-dark) !important;
}

/* Flechas del slider como las del hero */
.resenas-widget .rpi-ltgt {
  border: 1px solid var(--color-accent) !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--color-accent) !important;
  transition: background 0.3s ease;
}

.resenas-widget .rpi-ltgt:hover {
  background: rgb(97 74 50 / 0.08) !important;
}

/* ============ CTA oscura ============ */
.cta {
  background: var(--color-dark);
  color: #fff;
  text-align: center;
  padding-block: 5rem;
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 2rem;
}

/* ============ Servicios ============ */
.grupo {
  max-width: 50rem;
  margin-inline: auto;
}

.grupo + .grupo {
  margin-top: 4rem;
}

.grupo h2 {
  font-size: 1.8rem;
  color: var(--color-accent);
  border-bottom: 1px solid rgb(49 45 46 / 0.12);
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
}

.grupo ul {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.grupo h3 {
  font-size: 1.15rem;
}

.grupo li p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* ============ Hero de marca (Productos) ============ */
.marca-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 78svh;
  padding-top: var(--header-h);
  background: var(--color-surface);
}

.marca-hero__texto {
  display: grid;
  align-content: center;
  padding: 4rem clamp(1.5rem, 6vw, 6rem);
}

.marca-hero__texto-inner {
  max-width: 32rem;
}

.marca-hero__texto .page-hero__overline {
  margin-bottom: 1.5rem;
}

.marca-hero__texto h1 {
  margin-bottom: 1.8rem;
}

.marca-hero__texto h1 img {
  width: min(24rem, 100%);
  height: auto;
}

.marca-hero__texto p {
  color: var(--color-muted);
}

.marca-hero__foto {
  overflow: hidden;
}

.marca-hero__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 48rem) {
  .marca-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .marca-hero__foto {
    order: -1;
    max-height: 45svh;
    margin-top: var(--header-h);
  }

  .marca-hero__texto {
    padding-block: 2.5rem 3rem;
  }

  .marca-hero {
    padding-top: 0;
  }
}

/* ============ Productos (catálogo con filtros) ============ */
.filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.filtro {
  padding: 0.55rem 1.3rem;
  border: 1px solid rgb(97 74 50 / 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.filtro:hover,
.filtro.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 1.5rem;
}

.producto {
  text-align: center;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.producto.is-oculto {
  display: none;
}

/* Solo la foto va dentro del recuadro; el texto queda fuera */
.producto img {
  width: 100%;
  background: #fff;
  border: 1px solid rgb(97 74 50 / 0.12);
  padding: 2.2rem;
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.producto:hover img {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgb(51 40 26 / 0.09);
  border-color: rgb(97 74 50 / 0.3);
}

.producto h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.producto p {
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.producto__cat {
  margin-top: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.aviso {
  max-width: 44rem;
  margin: 5rem auto 0;
  text-align: center;
}

/* ============ Ficha de producto ============ */
.producto-detalle {
  padding-top: calc(var(--header-h) + 4rem);
}

.producto-detalle__volver {
  margin-bottom: 2rem;
  font-size: 0.85rem;
}

.producto-detalle__volver a {
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.producto-detalle__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 4rem;
  align-items: start;
}

@media (max-width: 48rem) {
  .producto-detalle__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.producto-detalle__imagen {
  background: var(--color-surface);
  border: 1px solid rgb(97 74 50 / 0.12);
  padding: 2rem;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.producto-detalle__imagen img {
  mix-blend-mode: multiply;
  margin-inline: auto;
}

.producto-detalle__cat {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.producto-detalle__info h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.producto-detalle__sub {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.producto-detalle__desc {
  margin-top: 1.5rem;
}

.producto-detalle__info h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

.producto-detalle__info ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.producto-detalle__info li {
  padding-left: 1.2rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.producto-detalle__info li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.producto-detalle__formato {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.producto-detalle__cta {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.producto-detalle__cta span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.producto-detalle__relacionados {
  margin-top: 6rem;
}

.productos-grid--rel {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  max-width: 50rem;
  margin-inline: auto;
}

/* ============ Nosotros ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split p + p {
  margin-top: 1.2rem;
}

@media (max-width: 48rem) {
  .split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============ Reservar ============ */
.opciones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
}

.opcion {
  background: var(--color-surface);
  padding: 3rem 2rem;
  text-align: center;
  border-top: 2px solid var(--color-accent);
  display: grid;
  gap: 1.2rem;
  align-content: start;
  justify-items: center;
}

.opcion h2 {
  font-size: 1.4rem;
}

.opcion p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* ============ Footer ============ */
.footer {
  background: var(--color-dark);
  color: #e0d4c2;
  font-size: 0.95rem;
}

.footer__logo svg {
  height: 5.5rem;
  width: auto;
  display: block;
  color: var(--color-cream);
  margin-bottom: 1.2rem;
}

.footer__desc {
  max-width: 22rem;
}

.footer__contacto {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.footer__contacto li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.footer__contacto svg {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
  color: var(--color-cream);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2.5rem;
  padding-block: 4rem;
}

.footer h3 {
  color: #f3e8d8;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.footer a {
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--color-accent);
}

.footer__legal {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding-block: 1.2rem;
  font-size: 0.8rem;
  color: #b3a794;
}

.footer__legal-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============ Contenido genérico (page.php) ============ */
.contenido {
  max-width: 50rem;
  margin-inline: auto;
}

.contenido :is(h2, h3, p, ul, ol) {
  margin-bottom: 1.2rem;
}

/* ============ Lenis ============ */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ============ Botón flotante de WhatsApp ============ */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  width: 3.6rem;
  height: 3.6rem;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.3);
}

.whatsapp-float svg {
  width: 1.9rem;
  height: 1.9rem;
}

@media (max-width: 48rem) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 3.2rem;
    height: 3.2rem;
  }
}

/* WordPress: barra de admin */
body.admin-bar .header {
  top: 32px;
}

body.admin-bar .header__nav {
  top: calc(var(--header-h) + 32px);
}
