* {
  box-sizing: border-box;
}

:root {
  /* PALETA AREBUSCÁ */
  --black: #252321;
  --white: #F7F2E8;
  --cream: #EFE5D4;
  --wood: #D8C0A0;
  --wood-dark: #B79A76;
  --brown: #70553D;
  --taupe: #9A8B78;

  --grey: #756C62;
  --line: #CBB99F;
  --soft: #E8DCC9;

  --header-height: 76px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  min-height: 100vh;

  display: flex;
  flex-direction: column;

  color: var(--black);
  background: var(--white);

  font-family: Arial, Helvetica, sans-serif;

  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

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

button {
  font: inherit;
}


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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;

  width: 100%;
  height: var(--header-height);

  padding: 0 34px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  /* Crema cálido en lugar de blanco puro */
  background: rgba(247, 242, 232, 0.97);

  border-bottom: 1px solid transparent;

  transition:
    transform 400ms cubic-bezier(.22, 1, .36, 1),
    border-color 250ms ease,
    background-color 250ms ease;
}


/* Header desaparece al bajar */

.site-header.header-hidden {
  transform: translateY(-100%);
}


/* Header reaparece al subir */

.site-header.header-visible {
  border-bottom-color: var(--line);
}


/* =========================================================
   LOGO
   ========================================================= */

.brand {
  display: block;
  width: 70px;
  justify-self: start;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}


/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.desktop-nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

.desktop-nav a {
  position: relative;

  color: var(--black);

  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  transition: color 200ms ease;
}


/* Línea inferior */

.desktop-nav a::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: -7px;
  left: 0;

  height: 1px;

  background: var(--brown);

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 220ms ease;
}

.desktop-nav a:hover {
  color: var(--brown);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


/* =========================================================
   ICONOS DERECHA
   ========================================================= */

.header-actions {
  justify-self: end;

  display: flex;
  align-items: center;

  gap: 2px;
}

.header-button {
  position: relative;

  width: 38px;
  height: 38px;

  padding: 8px;

  display: grid;
  place-items: center;

  border: 0;

  background: transparent;

  color: var(--black);

  cursor: pointer;

  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.header-button svg {
  width: 19px;
  height: 19px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.35;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-button:hover {
  color: var(--brown);
  opacity: 1;
}


/* =========================================================
   CONTADOR CESTA
   ========================================================= */

.cart-count {
  position: absolute;

  right: 1px;
  bottom: 0;

  min-width: 15px;
  height: 15px;

  padding: 0 3px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: var(--white);

  background: var(--brown);

  font-size: 8px;
}


/* =========================================================
   BOTÓN MENÚ
   ========================================================= */

.menu-button {
  display: none;
}

.menu-button span {
  display: block;

  width: 18px;
  height: 1px;

  background: currentColor;
}

.menu-button span + span {
  margin-top: 5px;
}


/* =========================================================
   MENÚ MÓVIL
   ========================================================= */

.mobile-menu {
  position: fixed;

  z-index: 1100;

  inset: 0;

  display: flex;
  align-items: center;

  padding: 30px;

  background: var(--white);

  visibility: hidden;
  opacity: 0;

  transition:
    opacity 250ms ease,
    visibility 250ms ease;
}

.mobile-menu.open {
  visibility: visible;
  opacity: 1;
}

.mobile-menu nav {
  display: flex;

  flex-direction: column;

  gap: 22px;
}

.mobile-menu nav a {
  color: var(--black);

  font-size: 32px;

  font-weight: 300;

  letter-spacing: -1.5px;

  transition: color 180ms ease;
}

.mobile-menu nav a:hover {
  color: var(--brown);
}

.mobile-close {
  position: absolute;

  top: 17px;
  right: 22px;

  border: 0;

  background: transparent;

  color: var(--black);

  font-size: 35px;

  cursor: pointer;
}

.mobile-logo img{

  width: 20%;
  height: 20%;

  margin-bottom: 5%;
}


/* =========================================================
   HERO CON VIDEO
   ========================================================= */

.hero {

  position: relative;

  min-height: 100svh;

  overflow: hidden;

  display: flex;

  align-items: flex-end;

  padding:
    calc(var(--header-height) + 80px)
    7vw
    80px;

  color: var(--white);

  background: var(--black);

}


/* =========================================================
   VIDEO DE FONDO
   ========================================================= */

.hero-video {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  z-index: 0;

}


/* =========================================================
   DIFUMINADO / OSCURECIDO
   ========================================================= */

.hero-overlay {

  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(37, 35, 33, .76),
      rgba(37, 35, 33, .38) 58%,
      rgba(37, 35, 33, .10)
    );

}


/* =========================================================
   CONTENIDO
   ========================================================= */

.hero-content {

  position: relative;

  z-index: 2;

  max-width: 800px;

  padding-bottom: 2vw;

}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 300;
  letter-spacing: -4px;
  line-height: .92;
}

.hero p:not(.eyebrow) {
  max-width: 470px;
  margin: 30px 0 34px;
  font-size: 14px;
  line-height: 1.7;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition:
    color 200ms ease,
    border-color 200ms ease;
}

.hero-link:hover {
  color: var(--cream);
  border-color: var(--cream);
}

.hero-link span {
  font-size: 17px;
  transition: transform 200ms ease;
}

.hero-link:hover span {
  transform: translateX(5px);
}

.hero-video {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center 10%;

  z-index: 0;
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
  max-width: 720px;

  margin: auto;

  padding: 150px 32px;

  text-align: center;
}

.intro .eyebrow {
  color: var(--brown);
}

.intro h2 {
  margin: 0;

  color: var(--black);

  font-size: clamp(40px, 5vw, 70px);

  font-weight: 300;

  letter-spacing: -2.5px;

  line-height: 1;
}

.intro p:last-child {
  max-width: 470px;

  margin: 28px auto 0;

  color: var(--grey);

  font-size: 14px;

  line-height: 1.7;
}


/* =========================================================
   CATEGORÍAS
   ========================================================= */

.categories {
  padding: 0 22px 120px;

  display: grid;

  grid-template-columns: 1.25fr 1fr;

  gap: 10px;
}

.category {
  min-height: 55vh;
}

.category-large {
  grid-row: span 2;

  min-height: 90vh;
}

.category-image {
  height: calc(100% - 44px);

  min-height: 320px;

  padding: 28px;

  display: flex;

  align-items: flex-end;

  overflow: hidden;

  background: var(--soft);

  transition:
    transform 450ms cubic-bezier(.22, 1, .36, 1);
}

.category-image span {
  color: var(--black);

  font-size: clamp(34px, 4vw, 60px);

  font-weight: 300;

  letter-spacing: -2px;
}


/* Efecto hover */

.category:hover .category-image {
  transform: scale(.985);
}


/* =========================================================
   COLORES DE CATEGORÍAS
   ========================================================= */

/*
   Mujer
   Beige/madera clara
*/

.category-woman {
  background: #D8C0A0;
}


/*
   Hombre
   Taupe cálido
*/

.category-man {
  background: #CBBBA4;
}


/*
   Accesorios
   Crema
*/

.category-accessories {
  background: #E8DCC9;
}


/* =========================================================
   TEXTO DE CATEGORÍAS
   ========================================================= */

.category-caption {
  height: 44px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  color: var(--black);

  font-size: 11px;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}


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

.site-footer {
  padding: 24px 32px;

  display: flex;

  justify-content: space-between;

  border-top: 1px solid var(--line);

  color: var(--grey);

  background: var(--cream);

  font-size: 10px;

  letter-spacing: 1px;

  text-transform: uppercase;

}

.site-footer{
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 12px;

  padding: 24px 32px;

  border-top: 1px solid var(--line);

  color: var(--grey);

  background: var(--cream);

  font-size: 10px;

  letter-spacing: 1px;

  text-transform: uppercase;
}

#footer-logo{
  display: block;
  width: 300px;
  justify-self: start;
  border-radius: 15px;
}

.footer-bottom {
  display: center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {

  .site-header {
    grid-template-columns: 1fr auto;

    padding: 0 18px;
  }


  .desktop-nav {
    display: none;
  }


  .menu-button {
    display: grid;
  }


  .hero {
    padding-right: 24px;

    padding-left: 24px;
  }


  .hero h1 {
    letter-spacing: -2.5px;
  }


  .categories {
    grid-template-columns: 1fr;

    padding-right: 12px;

    padding-left: 12px;
  }


  .category,
  .category-large {
    min-height: 60vh;

    grid-row: auto;
  }


  .category-image {
    min-height: 430px;
  }


  .intro {
    padding: 110px 24px;
  }


  .site-footer {
    padding: 22px 18px;

    flex-direction: column;

    gap: 12px;
  }

  
}

/* =========================================================
   TIENDA / CONTACTO
   ========================================================= */

.store-section {
  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  min-height: 620px;

  background: var(--cream);
}


/* Información */

.store-info {
  padding: 90px 7vw;

  display: flex;

  flex-direction: column;

  justify-content: center;
}

.store-info .eyebrow {
  margin-bottom: 25px;

  color: var(--brown);
}

.store-info h2 {
  margin: 0;

  color: var(--black);

  font-size: clamp(42px, 5vw, 72px);

  font-weight: 300;

  letter-spacing: -3px;

  line-height: .95;
}

.store-address {
  margin: 35px 0;

  color: var(--grey);

  font-size: 14px;

  line-height: 1.8;
}


/* Redes sociales / Maps */

.store-links {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}

.social-link {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  padding: 11px 15px;

  border: 1px solid var(--line);

  color: var(--black);

  background: transparent;

  font-size: 10px;

  letter-spacing: 1.2px;

  text-transform: uppercase;

  transition:
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease;
}

.social-link svg {
  width: 17px;

  height: 17px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.4;

  stroke-linecap: round;

  stroke-linejoin: round;
}

.social-link:hover {
  color: var(--white);

  background: var(--brown);

  border-color: var(--brown);
}


/* Google Maps */

.map-container {
  min-height: 620px;

  background: var(--wood);
}

.map-container iframe {
  display: block;

  width: 100%;

  height: 100%;

  min-height: 620px;

  border: 0;

  filter: grayscale(100%) sepia(15%);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {

  .store-section {
    grid-template-columns: 1fr;
  }

  .store-info {
    padding: 90px 24px;
  }

  .store-info h2 {
    letter-spacing: -2px;
  }

  .map-container,
  .map-container iframe {
    min-height: 450px;
  }

}

/* =========================================================
   COMUNIDAD WHATSAPP
   ========================================================= */

.whatsapp-community {
  padding: 120px 32px;

  display: flex;

  justify-content: center;

  background: var(--soft);
}
.footer-community {
  width: min(1000px, 100%);

  margin: 10% auto;

  text-align: center;
}

.community-eyebrow {
  margin: 0 0 18px;

  color: var(--brown);

  font-size: 10px;

  letter-spacing: 2.4px;

  text-transform: uppercase;
}

.footer-community h3 {
  margin: 0;

  color: var(--black);

  font-size: clamp(30px, 4vw, 48px);

  font-weight: 300;

  letter-spacing: -1.8px;

  line-height: 1;
}

.community-description {
  max-width: 480px;

  margin: 22px auto 30px;

  color: var(--grey);

  font-size: 13px;

  line-height: 1.7;
}


/* FORMULARIO */

.whatsapp-form {
  display: flex;

  width: 100%;

  gap: 8px;
}


/* Campo teléfono */

.phone-input {
  flex: 1;

  display: flex;

  align-items: center;

  border-bottom: 1px solid var(--brown);

  background: transparent;
}

.phone-input span {
  padding: 14px 0 14px 2px;

  color: var(--brown);

  font-size: 12px;
}

.phone-input input {
  width: 100%;

  padding: 14px 10px;

  border: 0;

  outline: none;

  background: transparent;

  color: var(--black);

  font-family: inherit;

  font-size: 13px;
}

.phone-input input::placeholder {
  color: var(--grey);

  opacity: .8;
}


/* Botón */

.whatsapp-form button {
  padding: 0 22px;

  display: flex;

  align-items: center;

  gap: 15px;

  border: 1px solid var(--brown);

  background: var(--brown);

  color: var(--white);

  cursor: pointer;

  font-family: inherit;

  font-size: 10px;

  letter-spacing: 1.2px;

  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.whatsapp-form button span {
  font-size: 16px;

  transition: transform 200ms ease;
}

.whatsapp-form button:hover {
  background: var(--black);

  border-color: var(--black);
}

.whatsapp-form button:hover span {
  transform: translateX(4px);
}


/* Aviso */

.community-privacy {
  margin: 15px 0 0;

  color: var(--grey);

  font-size: 9px;

  line-height: 1.5;

  opacity: .75;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

  .whatsapp-form {
    flex-direction: column;

    gap: 15px;
  }

  .phone-input {
    width: 100%;
  }

  .whatsapp-form button {
    min-height: 48px;

    justify-content: center;

    margin: 0 auto;
  }

  .phone-input {
    padding: 0 10px;
  }
}

/* =========================================================
   AVATAR DE USUARIO
   ========================================================= */

.user-avatar {

  width: 32px;
  height: 32px;

  padding: 0;

  display: flex;

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

  border-radius: 50%;

  background: var(--brown);

  color: var(--white);

  text-decoration: none;

  overflow: hidden;

  transition:
    transform 180ms ease,
    background-color 180ms ease;

}


.user-avatar:hover {

  background: var(--wood-dark);

  color: var(--white);

  transform: scale(1.04);

}


.user-avatar:focus-visible {

  outline:
    1px solid var(--brown);

  outline-offset:
    3px;

}


#account-initials {

  width: 100%;
  height: 100%;

  display: flex;

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

  color: var(--white);

  font-size: 9px;

  font-weight: 500;

  letter-spacing: .7px;

  line-height: 1;

  text-transform: uppercase;

}


@media (max-width: 800px) {

  .user-avatar {

    width: 32px;
    height: 32px;

  }

  #account-initials {

    font-size: 9px;

  }

}

/* =========================================================
   CONTROL REAL DE ELEMENTOS HIDDEN DEL HEADER
   ========================================================= */

/*
 * Algunos estilos del header fuerzan display:flex
 * y pueden impedir que hidden funcione visualmente.
 */

#login-link[hidden],
#account-link-desktop[hidden],
#login-link-mobile[hidden],
#account-link-mobile[hidden],
#admin-panel-link[hidden],
#admin-panel-link-mobile[hidden] {

  display: none !important;

}


/* =========================================================
   AVATAR DEL USUARIO
   ========================================================= */

.user-avatar {

  width: 32px;
  height: 32px;

  padding: 0;

  display: flex;

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

  border-radius: 50%;

  background: var(--brown);

  color: var(--white);

  text-decoration: none;

  overflow: hidden;

  flex-shrink: 0;

  transition:
    transform 180ms ease,
    background-color 180ms ease;

}


.user-avatar:hover {

  background: var(--wood-dark);

  color: var(--white);

  transform: scale(1.04);

}


.user-avatar:focus-visible {

  outline:
    1px solid var(--brown);

  outline-offset:
    3px;

}


#account-initials {

  width: 100%;
  height: 100%;

  display: flex;

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

  color: var(--white);

  font-size: 9px;

  font-weight: 500;

  letter-spacing: .7px;

  line-height: 1;

  text-transform: uppercase;

}

/* =========================================================
   ENLACE COMUNIDAD WHATSAPP
   ========================================================= */

.whatsapp-link {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  margin-top: 22px;

  margin-bottom: 22px;

  padding: 12px 18px;

  border: 1px solid var(--brown);

  color: var(--brown);

  background: transparent;

  font-size: 10px;

  font-weight: 400;

  letter-spacing: 1.3px;

  text-transform: uppercase;

  transition:
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease,
    transform 200ms ease;

}


.whatsapp-link span {

  display: inline-block;

  font-size: 16px;

  line-height: 1;

  transition:
    transform 200ms ease;

}


/* =========================================================
   HOVER
   ========================================================= */

.whatsapp-link:hover {

  background: var(--brown);

  border-color: var(--brown);

  color: var(--white);

  transform: translateY(-1px);

}


.whatsapp-link:hover span {

  transform: translateX(4px);

}


/* =========================================================
   FOCUS
   ========================================================= */

.whatsapp-link:focus-visible {

  outline:
    1px solid var(--brown);

  outline-offset:
    4px;

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

  .whatsapp-link {

    width: 100%;

    margin-bottom: 20px;

  }

}


/* =====================================================
   AVISO SUPERIOR DEL HEADER
   ===================================================== */

.store-notice {
    width: 100%;
    background: #6b5145;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 10px;
    letter-spacing: 1px;
    line-height: 1.2;
    box-sizing: border-box;
}


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

.site-header {
    width: 100%;
    /* aquí mantienen tus estilos actuales del header */
}

