/* =========================================
   VARIABLES
========================================= */

:root {
  --black: #050707;
  --black-soft: #080d0d;
  --black-card: #0c1212;

  --gold: #e5c875;
  --gold-light: #f4d890;
  --gold-soft: rgba(229, 200, 117, 0.65);

  --white: #f4f1e9;
  --white-soft: rgba(244, 241, 233, 0.68);

  --border: rgba(229, 200, 117, 0.14);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;

  --max-width: 1400px;
}


/* =========================================
   RESET
========================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}


/* =========================================
   PROGRESO
========================================= */

.page-progress {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 2px;

  z-index: 9999;

  background: transparent;
}

.page-progress span {
  display: block;

  width: 0;
  height: 100%;

  background: var(--gold);

  box-shadow:
    0 0 12px
    rgba(229, 200, 117, 0.6);
}


/* =========================================
   CURSOR
========================================= */

.cursor-glow {
  position: fixed;

  width: 180px;
  height: 180px;

  border-radius: 50%;

  pointer-events: none;

  z-index: 9998;

  background:
    radial-gradient(
      circle,
      rgba(229, 200, 117, 0.07),
      transparent 70%
    );

  transform:
    translate(-50%, -50%);
}


/* =========================================
   HEADER
========================================= */

.site-header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 86px;

  display: flex;
  align-items: center;

  padding: 0 4vw;

  z-index: 1000;

  border-bottom:
    1px solid transparent;

  transition:
    background 0.35s ease,
    height 0.35s ease,
    border-color 0.35s ease;
}

.site-header.scrolled {
  height: 74px;

  background:
    rgba(5, 7, 7, 0.92);

  border-color: var(--border);

  backdrop-filter: blur(18px);
}


/* =========================================
   LOGO
========================================= */

.brand {
  display: flex;
  align-items: center;

  flex-shrink: 0;
}

.brand-logo {
  display: block;

  width: 220px;
  height: 70px;

  object-fit: contain;
  object-position: left center;

  border: 0;

  mix-blend-mode: screen;

  transition:
    width 0.35s ease,
    height 0.35s ease,
    transform 0.35s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.025);
}


/* =========================================
   NAVEGACIÓN
========================================= */

.main-nav {
  display: flex;
  align-items: center;

  gap: 34px;

  margin-left: auto;
  margin-right: 42px;
}

.main-nav a {
  position: relative;

  color:
    rgba(
      244,
      241,
      233,
      0.76
    );

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;

  white-space: nowrap;

  transition:
    color 0.25s ease;
}

.main-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -8px;

  width: 0;
  height: 1px;

  background: var(--gold);

  transition:
    width 0.3s ease;
}

.main-nav a:hover {
  color: var(--gold-light);
}

.main-nav a:hover::after {
  width: 100%;
}


/* =========================================
   ACCIONES HEADER
========================================= */

.header-actions {
  display: flex;
  align-items: center;

  gap: 18px;
}

.icon-button,
.cart-button {
  border: 0;

  background: transparent;

  color: var(--white);
}

.icon-button {
  font-size: 27px;

  line-height: 1;
}

.cart-button {
  display: flex;
  align-items: center;

  gap: 8px;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}

.cart-count {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 21px;
  height: 21px;

  border-radius: 50%;

  background: var(--gold);

  color: var(--black);

  font-size: 10px;
}


/* =========================================
   HERO
========================================= */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: center;

  overflow: hidden;

  padding:
    130px 7vw 70px;
}


/* =========================================
   HERO PARALLAX
========================================= */

.hero-background {
  position: absolute;

  /*
    El fondo es deliberadamente
    más grande que el hero.
  */

  top: -15%;
  right: 0;
  bottom: -15%;
  left: 0;

  background:
    linear-gradient(
      90deg,
      rgba(5, 7, 7, 0.95) 0%,
      rgba(5, 7, 7, 0.70) 45%,
      rgba(5, 7, 7, 0.35) 100%
    ),
    url("https://images.unsplash.com/photo-1523398002811-999ca8dec234?auto=format&fit=crop&w=2200&q=90")
    center center / cover no-repeat;

  /*
    IMPORTANTE:
    No ponemos transform aquí.
    El movimiento lo controla
    exclusivamente JavaScript.
  */

  transform:
    translate3d(
      0,
      0,
      0
    )
    scale(1.08);

  will-change: transform;

  pointer-events: none;
}

.hero-shine {
  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at 72% 50%,
      rgba(229, 200, 117, 0.11),
      transparent 35%
    );

  pointer-events: none;
}

.hero-content {
  position: relative;

  z-index: 2;

  width:
    min(
      760px,
      100%
    );
}

.eyebrow {
  margin-bottom: 25px;

  color: var(--gold);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 4px;

  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--serif);

  font-size:
    clamp(
      65px,
      9vw,
      145px
    );

  line-height: 0.84;

  font-weight: 400;

  letter-spacing: -5px;

  /*
    Animación inicial del hero.
  */

  animation:
    heroTitleIn 1.2s
    cubic-bezier(
      0.16,
      1,
      0.3,
      1
    )
    both;
}

.hero h1 em,
h2 em {
  color: var(--gold);

  font-style: italic;

  transition:
    color 0.4s ease,
    text-shadow 0.5s ease;
}


/* =========================================
   EFECTO MODERNO EN TÍTULOS
========================================= */

.intro h2,
.section-header h2,
.manifesto h2,
.cta h2 {

  font-family: var(--serif);

  font-size:
    clamp(
      45px,
      6vw,
      85px
    );

  line-height: 0.95;

  font-weight: 400;

  letter-spacing: -2px;

  /*
    Estado inicial.
    JavaScript agrega .text-revealed.
  */

  opacity: 0;

  transform:
    translateY(70px)
    skewY(3deg);

  filter:
    blur(10px);

  letter-spacing: 4px;

  transition:
    opacity 1s
    cubic-bezier(
      0.16,
      1,
      0.3,
      1
    ),

    transform 1.15s
    cubic-bezier(
      0.16,
      1,
      0.3,
      1
    ),

    filter 1.1s
    cubic-bezier(
      0.16,
      1,
      0.3,
      1
    ),

    letter-spacing 1.15s
    cubic-bezier(
      0.16,
      1,
      0.3,
      1
    );
}

.intro h2.text-revealed,
.section-header h2.text-revealed,
.manifesto h2.text-revealed,
.cta h2.text-revealed {

  opacity: 1;

  transform:
    translateY(0)
    skewY(0);

  filter:
    blur(0);

  letter-spacing: -2px;
}


/* =========================================
   BRILLO DORADO AL REVELAR
========================================= */

.intro h2.text-revealed em,
.section-header h2.text-revealed em,
.manifesto h2.text-revealed em,
.cta h2.text-revealed em {

  text-shadow:
    0 0 0 transparent;

  animation:
    goldTextReveal 1.4s
    0.2s
    cubic-bezier(
      0.16,
      1,
      0.3,
      1
    )
    both;
}

@keyframes goldTextReveal {

  0% {
    opacity: 0;

    filter:
      blur(8px);

    text-shadow:
      0 0 30px
      rgba(
        229,
        200,
        117,
        0.8
      );
  }

  100% {
    opacity: 1;

    filter:
      blur(0);

    text-shadow:
      0 0 0 transparent;
  }

}


/* =========================================
   HERO TITLE
========================================= */

@keyframes heroTitleIn {

  0% {
    opacity: 0;

    transform:
      translateY(50px);

    filter:
      blur(12px);

    letter-spacing: 8px;
  }

  100% {
    opacity: 1;

    transform:
      translateY(0);

    filter:
      blur(0);

    letter-spacing: -5px;
  }

}


/* =========================================
   HERO DESCRIPTION
========================================= */

.hero-description {
  max-width: 490px;

  margin-top: 38px;

  color: var(--white-soft);

  font-size: 15px;

  line-height: 1.8;

  animation:
    heroContentIn 1s
    0.35s
    cubic-bezier(
      0.16,
      1,
      0.3,
      1
    )
    both;
}

.hero-actions {
  display: flex;

  gap: 15px;

  margin-top: 40px;

  animation:
    heroContentIn 1s
    0.5s
    cubic-bezier(
      0.16,
      1,
      0.3,
      1
    )
    both;
}

@keyframes heroContentIn {

  from {
    opacity: 0;

    transform:
      translateY(25px);

    filter:
      blur(5px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);

    filter:
      blur(0);
  }

}


/* =========================================
   BOTONES
========================================= */

.button {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding: 0 30px;

  overflow: hidden;

  border:
    1px solid
    rgba(
      229,
      200,
      117,
      0.35
    );

  background: transparent;

  color: var(--white);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;

  transition:
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;

  isolation: isolate;
}

.button::before {
  content: "";

  position: absolute;

  inset: 0;

  background: var(--gold);

  transform:
    translateX(-101%);

  transition:
    transform 0.45s
    cubic-bezier(
      0.77,
      0,
      0.175,
      1
    );

  z-index: -1;
}

.button:hover::before {
  transform:
    translateX(0);
}

.button:hover {
  color: var(--black);

  border-color: var(--gold);

  transform:
    translateY(-3px);
}

.button-primary {
  background: var(--gold);

  border-color: var(--gold);

  color: var(--black);
}

.button-primary::before {
  background: var(--gold-light);

  transform:
    translateY(101%);
}

.button-primary:hover::before {
  transform:
    translateY(0);
}

.button-primary:hover {
  color: var(--black);

  border-color:
    var(--gold-light);
}

.button-secondary {
  background:
    rgba(
      5,
      7,
      7,
      0.25
    );

  border-color:
    rgba(
      229,
      200,
      117,
      0.35
    );

  color: var(--white);

  backdrop-filter:
    blur(5px);
}

.button-secondary::before {
  background: var(--gold);

  transform:
    scaleX(0);

  transform-origin: right;
}

.button-secondary:hover::before {
  transform:
    scaleX(1);

  transform-origin: left;
}

.button-secondary:hover {
  color: var(--black);

  border-color: var(--gold);
}

.button::after {
  content: "";

  position: absolute;

  top: 0;
  left: -100%;

  width: 60%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(
        255,
        255,
        255,
        0.18
      ),
      transparent
    );

  transform:
    skewX(-20deg);

  transition:
    left 0.7s ease;

  z-index: 2;

  pointer-events: none;
}

.button:hover::after {
  left: 140%;
}


/* =========================================
   HERO BOTTOM
========================================= */

.hero-bottom {
  position: absolute;

  left: 7vw;
  right: 7vw;
  bottom: 30px;

  display: flex;

  justify-content: space-between;

  color:
    rgba(
      244,
      241,
      233,
      0.45
    );

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 2px;

  text-transform: uppercase;
}


/* =========================================
   MARQUEE
========================================= */

.marquee {
  position: relative;

  width: 100%;

  overflow: hidden;

  padding: 25px 0;

  background: #050b0c;

  border-top:
    1px solid var(--border);

  border-bottom:
    1px solid var(--border);
}

.marquee::before,
.marquee::after {
  content: "";

  position: absolute;

  top: 0;
  bottom: 0;

  width: 15%;

  z-index: 2;

  pointer-events: none;
}

.marquee::before {
  left: 0;

  background:
    linear-gradient(
      90deg,
      #050b0c 0%,
      rgba(
        5,
        11,
        12,
        0.85
      ) 35%,
      transparent 100%
    );
}

.marquee::after {
  right: 0;

  background:
    linear-gradient(
      270deg,
      #050b0c 0%,
      rgba(
        5,
        11,
        12,
        0.85
      ) 35%,
      transparent 100%
    );
}

.marquee-track {
  display: flex;

  width: max-content;

  will-change: transform;

  animation-name:
    fenixMarquee;

  animation-timing-function:
    linear;

  animation-iteration-count:
    infinite;
}

.marquee-group {
  display: flex;
  align-items: center;

  flex-shrink: 0;

  gap: 42px;

  padding-right: 42px;
}

.marquee-group span {
  color:
    rgba(
      244,
      216,
      144,
      0.72
    );

  font-family: var(--serif);

  font-size: 14px;

  font-weight: 500;

  letter-spacing: 5px;

  white-space: nowrap;
}

.marquee-group i {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 5px;
  height: 5px;

  color: var(--gold);

  font-size: 8px;

  font-style: normal;

  filter:
    drop-shadow(
      0 0 7px
      rgba(
        244,
        216,
        144,
        0.45
      )
    );
}

@keyframes fenixMarquee {

  from {
    transform:
      translate3d(
        0,
        0,
        0
      );
  }

  to {
    transform:
      translate3d(
        calc(
          -1 *
          var(
            --marquee-shift
          )
        ),
        0,
        0
      );
  }

}

.marquee:hover
.marquee-track {
  animation-play-state:
    paused;
}


/* =========================================
   SECCIONES
========================================= */

.section {
  width:
    min(
      var(--max-width),
      calc(100% - 12vw)
    );

  margin: 0 auto;

  padding: 130px 0;
}

.section-label {
  display: flex;
  align-items: center;

  gap: 15px;

  margin-bottom: 30px;

  color:
    rgba(
      244,
      241,
      233,
      0.45
    );

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 2.5px;

  text-transform: uppercase;
}

.section-label span:first-child {
  color: var(--gold);
}


/* =========================================
   INTRO
========================================= */

.intro {
  display: grid;

  grid-template-columns:
    0.35fr 1fr;

  gap: 80px;
}

.intro-content {
  max-width: 850px;
}

.intro-content > p {
  max-width: 600px;

  margin-top: 40px;

  color: var(--white-soft);

  font-size: 15px;

  line-height: 1.8;
}


/* =========================================
   COLECCIÓN
========================================= */

.collection {
  padding-top: 80px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 60px;

  margin-bottom: 55px;
}

.section-header > p {
  max-width: 340px;

  color: var(--white-soft);

  font-size: 13px;

  line-height: 1.7;
}


/* =========================================
   FILTROS
========================================= */

.filters {
  display: flex;

  gap: 10px;

  margin-bottom: 40px;
}

.filter-button {
  padding: 11px 18px;

  background: transparent;

  border:
    1px solid var(--border);

  color:
    rgba(
      244,
      241,
      233,
      0.55
    );

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.filter-button:hover,
.filter-button.active {
  background: var(--gold);

  border-color: var(--gold);

  color: var(--black);
}


/* =========================================
   PRODUCTOS
========================================= */

.product-grid {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 20px;
}

.product-card {
  position: relative;

  background: var(--black-card);

  border:
    1px solid
    rgba(
      229,
      200,
      117,
      0.08
    );

  overflow: hidden;

  transition:
    transform 0.4s ease,
    border-color 0.4s ease;
}

.product-card:hover {
  border-color:
    rgba(
      229,
      200,
      117,
      0.35
    );
}

.product-image {
  position: relative;

  aspect-ratio: 0.82;

  overflow: hidden;

  background: #101515;
}

.product-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform 0.7s ease;
}

.product-card:hover
.product-image img {
  transform:
    scale(1.045);
}

.product-info {
  padding:
    22px 20px 25px;
}

.product-category {
  display: block;

  margin-bottom: 8px;

  color: var(--gold);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.product-name {
  font-family: var(--serif);

  font-size: 21px;

  font-weight: 400;
}

.product-price {
  margin-top: 10px;

  color: var(--white-soft);

  font-size: 12px;
}

.product-add {
  width: 100%;

  margin-top: 18px;

  padding: 12px;

  background: transparent;

  border:
    1px solid var(--border);

  color: var(--gold);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.product-add:hover {
  background: var(--gold);

  color: var(--black);
}


/* =========================================
   MANIFIESTO
========================================= */

.manifesto {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 100px;

  align-items: center;
}

.manifesto-image {
  overflow: hidden;

  aspect-ratio: 0.82;
}

.manifesto-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.manifesto-content {
  max-width: 650px;
}

.manifesto-text {
  margin-top: 45px;
}

.manifesto-text p {
  margin-bottom: 24px;

  color: var(--white-soft);

  font-size: 14px;

  line-height: 1.85;
}

.manifesto-text strong {
  color: var(--gold);

  font-weight: 600;
}

.manifesto-signature {
  margin-top: 45px;

  font-family: var(--serif);

  color: var(--gold);

  font-size: 22px;

  font-style: italic;
}


/* =========================================
   VALORES
========================================= */

.values {
  border-top:
    1px solid var(--border);
}

.values-grid {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  border-top:
    1px solid var(--border);
}

.value-card {
  min-height: 300px;

  padding: 30px;

  border-right:
    1px solid var(--border);

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.value-card:last-child {
  border-right: 0;
}

.value-card:hover {
  background:
    rgba(
      229,
      200,
      117,
      0.025
    );

  transform:
    translateY(-4px);
}

.value-number {
  color: var(--gold);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 2px;
}

.value-card h3 {
  margin-top: 80px;

  font-family: var(--serif);

  font-size: 30px;

  font-weight: 400;
}

.value-card p {
  margin-top: 18px;

  color: var(--white-soft);

  font-size: 12px;

  line-height: 1.7;
}


/* =========================================
   CTA
========================================= */

.cta {
  width: 100%;

  padding:
    160px 7vw;

  text-align: center;

  border-top:
    1px solid var(--border);

  border-bottom:
    1px solid var(--border);
}

.cta-inner {
  max-width: 900px;

  margin: auto;
}

.cta .eyebrow {
  margin-bottom: 30px;
}

.cta h2 {
  margin-bottom: 45px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
  padding:
    80px 7vw 30px;
}

.footer-main {
  display: grid;

  grid-template-columns:
    2fr 1fr 1fr 1fr;

  gap: 50px;

  padding-bottom: 70px;

  border-bottom:
    1px solid var(--border);
}

.footer-brand p {
  max-width: 250px;

  margin-top: 20px;

  color: var(--white-soft);

  font-size: 12px;

  line-height: 1.7;
}

.footer-logo {
  width: 190px;
  height: 65px;
}

.footer-column {
  display: flex;

  flex-direction: column;

  gap: 13px;
}

.footer-column h4 {
  margin-bottom: 10px;

  color: var(--gold);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.footer-column a {
  color:
    rgba(
      244,
      241,
      233,
      0.55
    );

  font-size: 11px;

  transition:
    color 0.25s ease;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;

  justify-content: space-between;

  padding-top: 25px;

  color:
    rgba(
      244,
      241,
      233,
      0.35
    );

  font-size: 9px;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}


/* =========================================
   MODAL BÚSQUEDA
========================================= */

.search-modal {
  position: fixed;

  inset: 0;

  z-index: 3000;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 30px;

  background:
    rgba(
      5,
      7,
      7,
      0.96
    );

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.search-modal.open {
  opacity: 1;

  visibility: visible;
}

.search-modal-inner {
  position: relative;

  width:
    min(
      750px,
      100%
    );
}

.search-close {
  position: absolute;

  top: -50px;
  right: 0;

  border: 0;

  background: transparent;

  color: var(--white);

  font-size: 30px;
}

.search-modal h2 {
  margin-bottom: 35px;

  font-family: var(--serif);

  font-size:
    clamp(
      40px,
      6vw,
      70px
    );

  font-weight: 400;
}

.search-modal input {
  width: 100%;

  padding: 20px 0;

  background: transparent;

  border: 0;

  border-bottom:
    1px solid var(--border);

  outline: none;

  color: var(--white);

  font-size: 20px;
}

.search-modal input::placeholder {
  color:
    rgba(
      244,
      241,
      233,
      0.3
    );
}

.search-results {
  margin-top: 25px;
}

.search-result {
  display: flex;

  justify-content: space-between;

  padding: 15px 0;

  border-bottom:
    1px solid var(--border);

  color: var(--white-soft);

  font-size: 13px;
}


/* =========================================
   CARRITO
========================================= */

.cart-panel {
  position: fixed;

  top: 0;
  right: 0;

  width:
    min(
      450px,
      100%
    );

  height: 100vh;

  z-index: 4000;

  display: flex;

  flex-direction: column;

  background: #080d0d;

  border-left:
    1px solid var(--border);

  transform:
    translateX(100%);

  transition:
    transform 0.4s ease;
}

.cart-panel.open {
  transform:
    translateX(0);
}

.cart-panel-header {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 30px;

  border-bottom:
    1px solid var(--border);
}

.cart-panel-header h2 {
  font-family: var(--serif);

  font-size: 30px;

  font-weight: 400;
}

.cart-close {
  background: transparent;

  border: 0;

  color: var(--white);

  font-size: 28px;
}

.cart-items {
  flex: 1;

  overflow-y: auto;

  padding: 25px;
}

.cart-empty {
  padding: 60px 0;

  color: var(--white-soft);

  text-align: center;

  font-size: 13px;
}

.cart-item {
  display: grid;

  grid-template-columns:
    70px 1fr auto;

  gap: 15px;

  padding: 15px 0;

  border-bottom:
    1px solid var(--border);
}

.cart-item-image {
  width: 70px;
  height: 80px;

  object-fit: cover;
}

.cart-item-name {
  font-family: var(--serif);

  font-size: 16px;
}

.cart-item-price {
  margin-top: 6px;

  color: var(--gold);

  font-size: 11px;
}

.cart-remove {
  align-self: start;

  border: 0;

  background: transparent;

  color:
    rgba(
      244,
      241,
      233,
      0.45
    );

  font-size: 18px;
}

.cart-footer {
  padding:
    25px 30px 30px;

  border-top:
    1px solid var(--border);
}

.cart-total {
  display: flex;

  justify-content: space-between;

  margin-bottom: 20px;

  color: var(--white-soft);

  font-size: 12px;
}

.cart-total strong {
  color: var(--gold);

  font-size: 17px;
}

.checkout-button {
  width: 100%;
}

.overlay {
  position: fixed;

  inset: 0;

  z-index: 3500;

  background:
    rgba(
      0,
      0,
      0,
      0.55
    );

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.overlay.open {
  opacity: 1;

  visibility: visible;
}


/* =========================================
   REVEAL
========================================= */

.reveal {
  opacity: 0;

  transform:
    translateY(30px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;

  transform:
    translateY(0);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

  .main-nav {
    gap: 20px;

    margin-right: 25px;
  }

  .main-nav a {
    font-size: 9px;

    letter-spacing: 1.5px;
  }

  .brand-logo {
    width: 190px;
  }

  .product-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .values-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .value-card:nth-child(2) {
    border-right: 0;
  }

  .value-card:nth-child(1),
  .value-card:nth-child(2) {
    border-bottom:
      1px solid var(--border);
  }

  .footer-main {
    grid-template-columns:
      2fr 1fr 1fr;
  }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 800px) {

  .site-header {
    height: 72px;

    padding:
      0 5vw;
  }

  .brand-logo {
    width: 170px;
    height: 55px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    padding:
      120px 7vw 80px;
  }

  /*
    En móvil quitamos el parallax.
  */

  .hero-background {
    top: -5%;
    bottom: -5%;

    transform:
      scale(1.05);
  }

  .hero h1 {
    font-size:
      clamp(
        58px,
        15vw,
        100px
      );

    letter-spacing: -3px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;

    align-items: flex-start;
  }

  .hero-bottom span:nth-child(2) {
    display: none;
  }

  .section {
    width:
      calc(
        100% - 12vw
      );

    padding:
      90px 0;
  }

  .intro,
  .manifesto {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .section-header {
    flex-direction: column;

    align-items: flex-start;

    gap: 30px;
  }

  .product-grid {
    grid-template-columns:
      1fr 1fr;

    gap: 12px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: auto;

    border-right: 0 !important;

    border-bottom:
      1px solid var(--border);
  }

  .value-card:last-child {
    border-bottom: 0;
  }

  .value-card h3 {
    margin-top: 50px;
  }

  .footer-main {
    grid-template-columns:
      1fr 1fr;
  }

  /*
    Ajustamos el efecto de títulos
    para pantallas pequeñas.
  */

  .intro h2,
  .section-header h2,
  .manifesto h2,
  .cta h2 {
    letter-spacing: 1px;
  }

  .intro h2.text-revealed,
  .section-header h2.text-revealed,
  .manifesto h2.text-revealed,
  .cta h2.text-revealed {
    letter-spacing: -1px;
  }
}

/* =========================================================
   FÉNIX 1.2.2 — HOME + PÁGINAS TRANSACCIONALES
   Corrige la convivencia del header fijo con los bloques de
   WooCommerce y unifica botones, formularios y navegación.
========================================================= */

/* Home: separa las acciones del pie editorial del hero. */
.home .fenix-gutenberg-page .wp-block-cover.hero .hero-content {
  transform: translateY(-70px);
}

/* Home: cuadrícula equilibrada para cualquier múltiplo de tres. */
.home .fenix-gutenberg-page .product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home .fenix-gutenberg-page .product-grid > * {
  grid-column: span 2;
}

.home .fenix-gutenberg-page .product-grid > :nth-last-child(2):nth-child(3n + 1) {
  grid-column: 2 / span 2;
}

/* Carrito, checkout y cuenta: espacio bajo el header fijo. */
.woocommerce-cart .fenix-gutenberg-page,
.woocommerce-checkout .fenix-gutenberg-page,
.woocommerce-account .fenix-gutenberg-page {
  min-height: 70vh;
  padding: clamp(145px, 13vw, 180px) 7vw clamp(90px, 10vw, 140px);
}

.woocommerce-cart .fenix-entry-content,
.woocommerce-checkout .fenix-entry-content,
.woocommerce-account .fenix-entry-content {
  width: min(1180px, 100%);
  margin-inline: auto;
  color: var(--white-soft);
}

/* Botones principales de WooCommerce. */
.fenix-site .woocommerce a.button,
.fenix-site .woocommerce button.button,
.fenix-site .woocommerce input.button,
.fenix-site .wc-block-cart__submit-button,
.fenix-site .wc-block-components-checkout-place-order-button {
  min-height: 52px !important;
  padding: 14px 28px !important;
  border: 1px solid var(--gold) !important;
  border-radius: 0 !important;
  color: var(--black) !important;
  background: var(--gold) !important;
  box-shadow: none !important;
  font-family: var(--sans) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.6px !important;
  text-transform: uppercase;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}

.fenix-site .woocommerce a.button:hover,
.fenix-site .woocommerce button.button:hover,
.fenix-site .woocommerce input.button:hover,
.fenix-site .wc-block-cart__submit-button:hover,
.fenix-site .wc-block-components-checkout-place-order-button:hover {
  transform: translateY(-2px);
  border-color: var(--gold-light) !important;
  color: var(--black) !important;
  background: var(--gold-light) !important;
}

/* Los controles pequeños conservan su comportamiento nativo. */
.fenix-site .wc-block-components-quantity-selector__button,
.fenix-site .wc-block-cart-item__remove-link {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--white-soft) !important;
  background: transparent !important;
  letter-spacing: normal !important;
}

/* Carrito por bloques. */
.woocommerce-cart .wc-block-cart,
.woocommerce-cart .wc-block-components-sidebar-layout {
  color: var(--white-soft);
}

.woocommerce-cart .wc-block-cart-items,
.woocommerce-cart .wc-block-components-sidebar,
.woocommerce-cart .wc-block-components-totals-wrapper {
  border-color: var(--border) !important;
}

.woocommerce-cart .wc-block-cart-item__product a,
.woocommerce-cart .wc-block-components-product-name,
.woocommerce-cart .wc-block-components-totals-item__label,
.woocommerce-cart .wc-block-components-totals-item__value {
  color: var(--white) !important;
}

.woocommerce-cart .wc-block-cart-item__image img {
  background: var(--black-card);
}

/* Formularios de cuenta y checkout. */
.woocommerce-account .woocommerce input,
.woocommerce-account .woocommerce select,
.woocommerce-account .woocommerce textarea,
.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-combobox-control input,
.woocommerce-checkout .woocommerce input,
.woocommerce-checkout .woocommerce select,
.woocommerce-checkout .woocommerce textarea {
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  color: var(--white) !important;
  background: var(--black-card) !important;
  box-shadow: none !important;
}

.woocommerce-account .woocommerce input:focus,
.woocommerce-account .woocommerce select:focus,
.woocommerce-account .woocommerce textarea:focus,
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: var(--gold) !important;
  outline: none !important;
}

/* Navegación de Mi cuenta. */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  border-bottom: 1px solid var(--border);
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
  border-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 15px 18px;
  color: var(--white-soft) !important;
  background: transparent !important;
  transition: color .25s ease, background .25s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  color: var(--black) !important;
  background: var(--gold) !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  color: var(--white-soft);
}

.woocommerce-account .woocommerce-MyAccount-content a {
  color: var(--gold);
}

@media (max-width: 980px) {
  .home .fenix-gutenberg-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home .fenix-gutenberg-page .product-grid > *,
  .home .fenix-gutenberg-page .product-grid > :nth-last-child(2):nth-child(3n + 1) {
    grid-column: auto;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    margin-top: 36px;
  }
}

@media (max-width: 700px) {
  .home .fenix-gutenberg-page .wp-block-cover.hero .hero-content {
    transform: translateY(-15px);
  }

  .woocommerce-cart .fenix-gutenberg-page,
  .woocommerce-checkout .fenix-gutenberg-page,
  .woocommerce-account .fenix-gutenberg-page {
    padding: 110px 6vw 80px;
  }

  .home .fenix-gutenberg-page .product-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   MÓVIL
========================================= */

@media (max-width: 520px) {

  .brand-logo {
    width: 155px;
    height: 50px;
  }

  .header-actions {
    gap: 10px;
  }

  .cart-button span {
    display: none;
  }

  .hero {
    min-height: 90vh;
  }

  .hero h1 {
    font-size: 62px;
  }

  .hero-bottom {
    font-size: 7px;
  }

  .marquee {
    padding: 20px 0;
  }

  .marquee-group {
    gap: 27px;

    padding-right: 27px;
  }

  .marquee-group span {
    font-size: 10px;

    letter-spacing: 3px;
  }

  .marquee-group i {
    font-size: 7px;
  }

  .section {
    width:
      calc(
        100% - 10vw
      );
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .filters {
    overflow-x: auto;

    padding-bottom: 5px;
  }

  .filter-button {
    white-space: nowrap;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 12px;
  }

  .intro h2,
  .section-header h2,
  .manifesto h2,
  .cta h2 {
    font-size: 48px;
  }
}

/* =========================================================
   FÉNIX 1.2.5 — CUENTA + CARRITO VACÍO
   Refuerza contraste y lleva los bloques nativos de
   WooCommerce al sistema visual Fénix.
========================================================= */

/* Mi cuenta: títulos, etiquetas y ayudas legibles sobre negro. */
.woocommerce-account .woocommerce h2,
.woocommerce-account .woocommerce form label,
.woocommerce-account .woocommerce-form-login__rememberme,
.woocommerce-account .woocommerce-form-login .lost_password a {
  color: var(--white-soft) !important;
}

.woocommerce-account .woocommerce h2 {
  color: var(--white) !important;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 400;
  line-height: 1;
}

.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register {
  border-color: var(--border) !important;
  border-radius: 0;
  background: transparent;
}

/* Carrito vacío: títulos y productos sugeridos. */
.woocommerce-cart .wc-block-cart__empty-cart__title,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-heading {
  color: var(--white) !important;
  font-family: var(--serif);
  font-weight: 400;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
  color: var(--white-soft) !important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link.add_to_cart_button {
  min-height: 52px;
  padding: 16px 24px;
  border: 1px solid var(--gold) !important;
  border-radius: 0 !important;
  color: var(--black) !important;
  background: var(--gold) !important;
  box-shadow: none !important;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link.add_to_cart_button:hover {
  transform: translateY(-2px);
  border-color: var(--gold-light) !important;
  color: var(--black) !important;
  background: var(--gold-light) !important;
}

/* =========================================================
   Gutenberg: contenido editable + sistema visual Fénix
========================================================= */

.fenix-gutenberg-page,
.fenix-entry,
.fenix-entry-content {
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
}

.fenix-gutenberg-page .wp-block-group,
.fenix-gutenberg-page .wp-block-cover,
.fenix-gutenberg-page .wp-block-columns,
.fenix-gutenberg-page .wp-block-media-text,
.fenix-gutenberg-page .wp-block-gallery {
  margin-block-start: 0;
  margin-block-end: 0;
}

.fenix-gutenberg-page .wp-block-cover__inner-container {
  width: 100%;
  max-width: none;
  color: inherit;
}

.fenix-gutenberg-page .wp-block-cover.hero,
.fenix-gutenberg-page .wp-block-cover.editorial-hero,
.fenix-gutenberg-page .wp-block-cover.contact-hero {
  align-items: center;
  justify-content: flex-start;
}

.fenix-gutenberg-page .wp-block-cover.hero .wp-block-cover__image-background,
.fenix-gutenberg-page .wp-block-cover.editorial-hero .wp-block-cover__image-background,
.fenix-gutenberg-page .wp-block-cover.contact-hero .wp-block-cover__image-background {
  top: -10%;
  height: 120%;
  will-change: transform;
}

.fenix-gutenberg-page .wp-block-cover.hero .wp-block-cover__background,
.fenix-gutenberg-page .wp-block-cover.editorial-hero .wp-block-cover__background,
.fenix-gutenberg-page .wp-block-cover.contact-hero .wp-block-cover__background {
  z-index: 1;
  background: linear-gradient(90deg, rgba(5,7,7,.97), rgba(5,7,7,.72) 48%, rgba(5,7,7,.34));
  opacity: 1;
}

.fenix-gutenberg-page .wp-block-cover .hero-content,
.fenix-gutenberg-page .wp-block-cover .editorial-hero-content,
.fenix-gutenberg-page .wp-block-cover .contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 930px;
}

.fenix-gutenberg-page .hero h1,
.fenix-gutenberg-page .editorial-hero h1,
.fenix-gutenberg-page .contact-hero h1,
.store-hero h1 {
  color: var(--white) !important;
}

.fenix-gutenberg-page .hero-description,
.fenix-gutenberg-page .editorial-hero-copy,
.fenix-gutenberg-page .contact-hero-copy,
.store-hero-description,
.store-hero-description p {
  color: var(--white-soft) !important;
}

.fenix-gutenberg-page .wp-block-cover.hero .hero-content {
  transform: translateY(-30px);
}

.fenix-gutenberg-page .wp-block-buttons.hero-actions {
  display: flex;
  gap: 14px;
}

.fenix-gutenberg-page .wp-block-button.button-primary .wp-block-button__link,
.fenix-gutenberg-page .wp-block-button.button-secondary .wp-block-button__link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 0;
  padding: 14px 24px;
  color: var(--black);
  background: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: transform .35s ease, background .35s ease, color .35s ease;
}

.fenix-gutenberg-page .wp-block-button.button-secondary .wp-block-button__link {
  color: var(--white);
  background: transparent;
  border-color: rgba(244,241,233,.45);
}

.fenix-gutenberg-page .wp-block-button .wp-block-button__link:hover {
  transform: translateY(-3px);
  background: var(--gold-light);
  color: var(--black);
}

.fenix-gutenberg-page .hero-bottom {
  z-index: 3;
}

.fenix-gutenberg-page .hero-bottom p {
  margin: 0;
}

.fenix-gutenberg-page .marquee {
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid var(--border);
  padding: 18px 0;
}

.fenix-gutenberg-page .marquee-text {
  width: max-content;
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 36px);
  letter-spacing: 2px;
  animation: fenixGutenbergMarquee 22s linear infinite;
}

@keyframes fenixGutenbergMarquee {
  to { transform: translateX(-50%); }
}

.fenix-gutenberg-page .section {
  max-width: none;
  padding-inline: 7vw;
}

.fenix-gutenberg-page .manifesto .wp-block-columns {
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}

.fenix-gutenberg-page .manifesto-image img {
  width: 100%;
  min-height: 600px;
  object-fit: cover;
}

.fenix-gutenberg-page .values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.fenix-gutenberg-page .value-card {
  min-width: 0;
}

.fenix-empty-founders,
.fenix-contact-pending {
  margin-top: 40px;
  padding: 22px;
  border: 1px solid rgba(229,200,117,.35);
  color: var(--white-soft);
  background: rgba(229,200,117,.05);
}

.founder-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .75s cubic-bezier(.16,1,.3,1);
}

.founder-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.founder-socials a {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.fenix-honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.contact-status {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
}

.contact-status.success { border-color: rgba(102,187,106,.55); }
.contact-status.error { border-color: rgba(239,83,80,.55); }

/* WooCommerce: archivo y ficha reutilizables */
.fenix-shop-archive,
.fenix-product-template {
  padding-top: 100px;
  padding-bottom: 130px;
}

.fenix-shop-archive .woocommerce-result-count,
.fenix-shop-archive .woocommerce-ordering {
  margin-bottom: 48px;
}

.fenix-shop-archive ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 22px;
}

.fenix-shop-archive ul.products::before,
.fenix-shop-archive ul.products::after {
  display: none;
}

.fenix-shop-archive ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
}

.fenix-shop-archive ul.products li.product img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}

.fenix-shop-archive ul.products li.product:hover img {
  transform: scale(1.035);
}

.fenix-product-template div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(45px, 7vw, 110px);
}

.fenix-product-template div.product .woocommerce-product-gallery,
.fenix-product-template div.product .summary {
  float: none;
  width: auto;
  margin: 0;
}

.fenix-product-template div.product .product_title {
  font-size: clamp(46px, 6vw, 86px);
  line-height: .95;
}

.fenix-product-template div.product .price {
  margin: 26px 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 30px;
}

.fenix-product-template div.product .price,
.fenix-product-template div.product .price .amount,
.fenix-product-template div.product .woocommerce-product-details__short-description,
.fenix-product-template div.product .woocommerce-tabs,
.fenix-product-template div.product .woocommerce-tabs p,
.fenix-product-template div.product .woocommerce-tabs li a {
  color: var(--white-soft) !important;
}

.fenix-product-template div.product .price,
.fenix-product-template div.product .price .amount {
  color: var(--gold) !important;
}

.fenix-product-template div.product form.cart,
.fenix-product-template div.product .variations_form {
  margin-top: 34px;
}

.fenix-product-template div.product .woocommerce-tabs,
.fenix-product-template div.product .related,
.fenix-product-template div.product .upsells {
  grid-column: 1 / -1;
  width: 100%;
}

.fenix-product-template .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.fenix-product-template .woocommerce-tabs ul.tabs li {
  border: 0;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 980px) {
  .fenix-gutenberg-page .values-grid,
  .fenix-shop-archive ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fenix-product-template div.product { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .fenix-gutenberg-page .wp-block-buttons.hero-actions { align-items: stretch; flex-direction: column; }
  .fenix-gutenberg-page .wp-block-button { width: 100%; }
  .fenix-gutenberg-page .wp-block-button .wp-block-button__link { width: 100%; }
  .fenix-gutenberg-page .manifesto-image img { min-height: 420px; }
  .fenix-shop-archive ul.products { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .fenix-gutenberg-page .values-grid { grid-template-columns: 1fr; }
  .fenix-product-template { padding-top: 75px; }
  .fenix-gutenberg-page .wp-block-cover.hero .hero-content { transform: translateY(-15px); }
  .fenix-gutenberg-page .hero-bottom { display: none; }
}

@media (min-width: 701px) and (max-height: 820px) {
  .fenix-gutenberg-page .wp-block-cover.hero .hero-content { transform: translateY(-55px); }
}

/* =========================================================
   WORDPRESS + WOOCOMMERCE
========================================================= */

.fenix-site {
  background: var(--black);
  color: var(--white);
}

.fenix-site .hero h1,
.fenix-site .intro h2,
.fenix-site .section-header h2,
.fenix-site .manifesto h2,
.fenix-site .cta h2,
.fenix-site .product-name,
.fenix-site .value-card h3,
.fenix-site .site-footer h4,
.fenix-site .cart-panel h2,
.fenix-site .search-modal h2 {
  color: var(--white);
}

.fenix-site #page,
.fenix-site .site-content,
.fenix-site .ast-container {
  max-width: none;
  padding: 0;
  background: transparent;
}

.fenix-site.admin-bar .site-header {
  top: 32px;
}

.fenix-site .hero-background {
  background:
    linear-gradient(90deg, rgba(5, 7, 7, 0.95) 0%, rgba(5, 7, 7, 0.70) 45%, rgba(5, 7, 7, 0.35) 100%),
    var(--fenix-hero-image) center center / cover no-repeat;
}

.fenix-site .button,
.fenix-site .product-add {
  display: inline-flex !important;
  overflow: hidden !important;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
}

.fenix-site a.button.button-primary {
  border-color: var(--gold) !important;
  background: var(--gold) !important;
  color: var(--black) !important;
}

.fenix-site a.button.button-secondary {
  border-color: rgba(229, 200, 117, 0.35) !important;
  background: rgba(5, 7, 7, 0.25) !important;
  color: var(--white) !important;
}

.fenix-site a.button.button-primary:hover,
.fenix-site a.button.button-secondary:hover {
  color: var(--black) !important;
}

.fenix-site .product-add {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fenix-site [hidden] {
  display: none !important;
}

.fenix-empty-products {
  grid-column: 1 / -1;
  color: var(--white-soft);
  text-align: center;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: var(--gold);
  transition: transform 0.3s ease;
}

.search-modal form {
  margin: 0;
}

.fenix-mini-cart-contents ul,
.fenix-mini-cart-contents li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fenix-mini-cart-contents .woocommerce-mini-cart-item {
  position: relative;
  min-height: 92px;
  padding: 14px 32px 14px 86px;
  border-bottom: 1px solid var(--border);
}

.fenix-mini-cart-contents .woocommerce-mini-cart-item img {
  position: absolute;
  top: 14px;
  left: 0;
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.fenix-mini-cart-contents .remove {
  position: absolute;
  top: 14px;
  right: 0;
  color: var(--white-soft) !important;
}

.fenix-mini-cart-contents .quantity,
.fenix-mini-cart-contents .woocommerce-mini-cart__total {
  color: var(--gold);
  font-size: 12px;
}

.fenix-mini-cart-contents .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  padding: 22px 0 0;
}

.fenix-mini-cart-contents .woocommerce-mini-cart__buttons {
  display: none;
}

.fenix-content-shell {
  width: min(var(--max-width), calc(100% - 12vw));
  min-height: 70vh;
  margin: 0 auto;
  padding: 150px 0 100px;
}

.fenix-entry > h1,
.fenix-woocommerce-shell .page-title,
.fenix-woocommerce-shell .product_title {
  margin-bottom: 40px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 400;
  line-height: 1;
}

.fenix-entry-content,
.fenix-woocommerce-shell {
  color: var(--white-soft);
}

.fenix-woocommerce-shell a {
  color: var(--gold);
}

.fenix-woocommerce-shell input,
.fenix-woocommerce-shell select,
.fenix-woocommerce-shell textarea {
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--black-card);
  color: var(--white);
}

.fenix-woocommerce-shell button,
.fenix-woocommerce-shell .button {
  border: 1px solid var(--gold) !important;
  border-radius: 0 !important;
  background: var(--gold) !important;
  color: var(--black) !important;
}

.fenix-woocommerce-shell .products li.product {
  border: 1px solid var(--border);
  background: var(--black-card);
  padding-bottom: 20px;
}

.fenix-woocommerce-shell .products li.product .woocommerce-loop-product__title,
.fenix-woocommerce-shell .products li.product .price,
.fenix-woocommerce-shell .products li.product .button {
  margin-right: 20px;
  margin-left: 20px;
}

@media (max-width: 800px) {
  .fenix-site.admin-bar .site-header {
    top: 46px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    max-height: 0;
    margin: 0;
    padding: 0 7vw;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    background: rgba(5, 7, 7, 0.98);
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  }

  .admin-bar .main-nav {
    top: 118px;
  }

  .main-nav.open {
    max-height: 420px;
    padding-top: 36px;
    padding-bottom: 40px;
    border-color: var(--border);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    font-size: 12px;
  }

  .header-actions {
    margin-left: 10px;
  }

  .fenix-content-shell {
    width: calc(100% - 12vw);
    padding-top: 125px;
  }
}

@media (max-width: 520px) {
  .site-header .brand {
    max-width: calc(100vw - 170px);
  }

  .site-header .brand-logo,
  .site-header.scrolled .brand-logo {
    width: 190px;
  }

  .fenix-site.admin-bar .site-header {
    top: 46px;
  }
}


/* =========================================
   REDUCCIÓN DE MOVIMIENTO
========================================= */

@media (
  prefers-reduced-motion: reduce
) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;
  }

  .marquee-track {
    animation: none;
  }

  .hero-background {
    transform:
      scale(1.05);
  }

  .intro h2,
  .section-header h2,
  .manifesto h2,
  .cta h2 {
    opacity: 1;

    transform: none;

    filter: none;

    letter-spacing: -2px;
  }
}

/* =========================================
   ENLACES A PÁGINA DE PRODUCTO
========================================= */

.product-page-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-page-link .product-name {
  transition:
    color 0.25s ease;
}

.product-page-link:hover .product-name {
  color: var(--gold-light);
}



/* =========================================================
   V3.3 — LOGO DE NAVEGACIÓN MÁS GRANDE
   Usa un lockup horizontal derivado del logo original para
   que el símbolo y "COMUNIDAD FÉNIX" se aprecien claramente.
========================================================= */

.site-header {
  overflow: visible;
}

.site-header .brand {
  position: relative;
  min-width: 355px;
}

.site-header .brand-logo {
  width: 355px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: normal;
  filter:
    drop-shadow(0 0 9px rgba(229, 200, 117, 0.12));
}

.site-header.scrolled .brand-logo {
  width: 320px;
  height: 74px;
}

@media (max-width: 1250px) {

  .site-header .brand {
    min-width: 285px;
  }

  .site-header .brand-logo {
    width: 285px;
    height: 72px;
  }

  .site-header.scrolled .brand-logo {
    width: 270px;
    height: 68px;
  }

}

@media (max-width: 1100px) {

  .site-header .brand {
    min-width: 245px;
  }

  .site-header .brand-logo {
    width: 245px;
    height: 66px;
  }

  .site-header.scrolled .brand-logo {
    width: 235px;
    height: 62px;
  }

}

@media (max-width: 800px) {

  .site-header .brand {
    min-width: 0;
    max-width: calc(100vw - 115px);
  }

  .site-header .brand-logo,
  .site-header.scrolled .brand-logo {
    width: 270px;
    max-width: 100%;
    height: 62px;
  }

}

@media (max-width: 520px) {

  .site-header .brand-logo,
  .site-header.scrolled .brand-logo {
    width: 185px;
    height: 56px;
  }

  .site-header .brand {
    max-width: calc(100vw - 180px);
  }

}

/* =========================================================
   FÉNIX 1.2.3 — AJUSTES EDITORIALES DEL HOME
========================================================= */

/* Header más compacto y proporcionado. */
.fenix-site .site-header {
  height: 78px;
}

.fenix-site .site-header.scrolled {
  height: 68px;
}

.fenix-site .site-header .brand-logo {
  width: 310px;
  height: 68px;
}

.fenix-site .site-header.scrolled .brand-logo {
  width: 285px;
  height: 60px;
}

/* Hero: todos los elementos parten del mismo eje. */
.home .fenix-gutenberg-page .hero-content,
.home .fenix-gutenberg-page .hero-description,
.home .fenix-gutenberg-page .hero-actions {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.home .fenix-gutenberg-page .hero-bottom {
  right: 7vw;
  left: 7vw;
  width: auto;
  max-width: none;
  margin-inline: 0;
  color: rgba(229, 200, 117, .72);
}

/* Cintillo editorial más discreto. */
.home .fenix-gutenberg-page .marquee {
  padding: 13px 0;
}

.home .fenix-gutenberg-page .marquee-text {
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 4px;
}

/* Cuatro productos en una sola línea en escritorio. */
.home .fenix-gutenberg-page .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px;
}

.home .fenix-gutenberg-page .product-grid > *,
.home .fenix-gutenberg-page .product-grid > :nth-last-child(2):nth-child(3n + 1) {
  grid-column: auto !important;
}

.home .collection-all-products {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

/* Manifiesto: evita la doble cuadrícula de Gutenberg. */
.home .fenix-gutenberg-page .manifesto {
  display: block;
}

.home .fenix-gutenberg-page .manifesto .wp-block-columns {
  width: 100%;
}

.home .fenix-gutenberg-page .manifesto-content > p:not(.section-label) {
  margin: 0 0 24px;
  color: var(--white-soft);
  font-size: 14px;
  line-height: 1.85;
}

.home .fenix-gutenberg-page .manifesto-content strong {
  color: var(--gold);
  font-weight: 600;
}

/* Valores: recupera la tipografía editorial del sistema Fénix. */
.home .fenix-gutenberg-page .values > h2 {
  margin-bottom: 55px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(45px, 6vw, 85px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -2px;
}

.home .fenix-gutenberg-page .values > h2 em {
  color: var(--gold);
}

/* CTA final: dos líneas y acción centrada. */
.home .fenix-gutenberg-page .cta h2 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.home .fenix-gutenberg-page .cta h2 em {
  display: block;
}

.home .fenix-gutenberg-page .cta .wp-block-buttons {
  display: flex;
  justify-content: center;
}

@media (max-width: 1100px) {
  .fenix-site .site-header .brand-logo {
    width: 245px;
    height: 58px;
  }

  .fenix-site .site-header.scrolled .brand-logo {
    width: 230px;
    height: 54px;
  }

  .home .fenix-gutenberg-page .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .fenix-site .site-header,
  .fenix-site .site-header.scrolled {
    height: 68px;
  }

  .fenix-site .site-header .brand-logo,
  .fenix-site .site-header.scrolled .brand-logo {
    width: 205px;
    height: 50px;
  }

  .fenix-site .main-nav {
    inset-block-start: 68px;
  }

  .home .fenix-gutenberg-page .hero-description {
    max-width: 100%;
  }

  .home .fenix-gutenberg-page .hero-bottom {
    display: none;
  }

  .home .fenix-gutenberg-page .marquee-text {
    font-size: 11px;
    letter-spacing: 2.5px;
  }

  .home .fenix-gutenberg-page .product-grid {
    display: flex;
    gap: 14px;
    width: calc(100vw - 12vw);
    max-width: none;
    padding: 0 0 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home .fenix-gutenberg-page .product-grid::-webkit-scrollbar {
    display: none;
  }

  .home .fenix-gutenberg-page .product-grid > * {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .home .fenix-gutenberg-page .manifesto .wp-block-columns {
    gap: 45px;
  }

  .home .fenix-gutenberg-page .manifesto-image img {
    min-height: 420px;
  }

  .home .fenix-gutenberg-page .values > h2,
  .home .fenix-gutenberg-page .cta h2 {
    font-size: 48px;
  }
}

/* =========================================================
   FÉNIX 1.2.6 — HERO INFERIOR + MARQUEE CONTINUO
========================================================= */

/* El pie editorial se posiciona respecto del hero completo. */
.home .fenix-gutenberg-page .hero > .wp-block-cover__inner-container {
  position: static;
}

.home .fenix-gutenberg-page .hero-bottom {
  bottom: 34px;
  color: var(--white) !important;
}

.home .fenix-gutenberg-page .hero-bottom p {
  color: var(--white) !important;
}

/* Las copias se crean por JS según el ancho para evitar huecos. */
.home .fenix-gutenberg-page .marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: fenixMarquee linear infinite;
}

.home .fenix-gutenberg-page .marquee-track > .marquee-text {
  flex: 0 0 auto;
  padding-right: 48px;
  animation: none;
}

/* Cintillo de marca compartido: Inicio, Colección y Manifiesto. */
.fenix-brand-marquee {
  padding: 18px 0 !important;
}

.fenix-brand-marquee .marquee-track > .marquee-text,
.fenix-brand-marquee > .marquee-text {
  flex: 0 0 auto;
  width: max-content;
  margin: 0;
  padding-right: 48px;
  animation: none !important;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 16px !important;
  line-height: 1.4;
  letter-spacing: 4px !important;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .fenix-brand-marquee {
    padding: 16px 0 !important;
  }

  .fenix-brand-marquee .marquee-track > .marquee-text,
  .fenix-brand-marquee > .marquee-text {
    padding-right: 36px;
    font-size: 12px !important;
    letter-spacing: 3px !important;
  }
}


/* =========================================================
   FÉNIX 1.4.3 — NAVEGACIÓN MÓVIL
========================================================= */
@media (max-width: 800px) {
  .fenix-site .menu-toggle {
    display: block;
    order: -1;
    flex: 0 0 42px;
    margin: 0 12px 0 -8px;
    position: relative;
    z-index: 2;
  }

  .fenix-site .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .fenix-site .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .fenix-site .main-nav {
    z-index: 1;
  }

  .fenix-site .header-actions {
    margin-left: auto;
  }
}


/* =========================================================
   FÉNIX 1.5.1 — MENÚ MÓVIL A LA IZQUIERDA
========================================================= */
@media (max-width: 800px) {
  .fenix-site .menu-toggle {
    order: -1;
    margin: 0 12px 0 0;
    right: auto;
    transform: none;
  }

  .fenix-site .site-header .menu-toggle,
  .fenix-site .site-header .menu-toggle:hover,
  .fenix-site .site-header .menu-toggle:focus,
  .fenix-site .site-header .menu-toggle:active,
  .fenix-site .site-header .icon-button,
  .fenix-site .site-header .icon-button:hover,
  .fenix-site .site-header .icon-button:focus,
  .fenix-site .site-header .icon-button:active,
  .fenix-site .site-header .cart-button,
  .fenix-site .site-header .cart-button:hover,
  .fenix-site .site-header .cart-button:focus,
  .fenix-site .site-header .cart-button:active {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0;
  }
}


/* =========================================================
   FÉNIX 1.5.2 — FOOTER MÓVIL
========================================================= */
@media (max-width: 700px) {
  .fenix-site .site-footer { padding: 58px 6vw 24px; }
  .fenix-site .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 24px; padding-bottom: 42px; }
  .fenix-site .footer-brand { grid-column: 1 / -1; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
  .fenix-site .footer-brand .brand { display: inline-flex; max-width: 100%; }
  .fenix-site .footer-logo,
  .fenix-site .footer-brand .brand-logo { width: 210px; max-width: 78vw; height: auto; }
  .fenix-site .footer-brand p { max-width: none; margin-top: 14px; font-size: 12px; }
  .fenix-site .footer-column { gap: 0; }
  .fenix-site .footer-column:last-child { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--border); }
  .fenix-site .footer-column h4 { margin-bottom: 12px; color: var(--gold) !important; }
  .fenix-site .footer-column a { display: flex; min-height: 36px; align-items: center; font-size: 12px; line-height: 1.35; }
  .fenix-site .footer-bottom { align-items: center; gap: 9px; padding-top: 22px; text-align: center; line-height: 1.5; }
}


/* =========================================================
   FÉNIX 1.5.3 — CINTILLO CONTINUO EN IOS
========================================================= */
.fenix-brand-marquee .marquee-track {
  display: flex;
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  animation: none;
}

.fenix-brand-marquee .marquee-track.is-ready {
  animation: fenixMarquee var(--marquee-duration, 12s) linear infinite;
}

@media (max-width: 700px) {
  .fenix-brand-marquee::before,
  .fenix-brand-marquee::after {
    width: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fenix-brand-marquee::before,
  .fenix-brand-marquee::after {
    display: none;
  }

  .fenix-brand-marquee .marquee-track {
    transform: none !important;
  }
}


/* =========================================================
   FÉNIX 1.5.4 — LOGO DEL FOOTER MÓVIL
========================================================= */
@media (max-width: 700px) {
  .fenix-site .footer-brand {
    text-align: center;
  }

  .fenix-site .footer-brand .brand {
    display: flex;
    width: fit-content;
    margin-inline: auto;
  }

  .fenix-site .footer-logo,
  .fenix-site .footer-brand .brand-logo {
    width: 175px;
  }
}


/* =========================================================
   FÉNIX 1.5.5 — CENTRADO FORZADO DEL LOGO EN IOS
========================================================= */
@media (max-width: 700px) {
  .fenix-site .site-footer .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .fenix-site .site-footer .footer-brand > .brand {
    display: flex !important;
    width: 145px !important;
    max-width: 145px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    justify-content: center;
  }

  .fenix-site .site-footer .footer-brand > .brand .footer-logo {
    display: block !important;
    width: 145px !important;
    max-width: 145px !important;
    height: auto !important;
    margin: 0 auto !important;
  }
}
