:root {
  --color1: #1d1d1b;
  --color2: #4e4e4e;
  --color3: #d1ccca;
  --color4: #fbdcd9;
  --color5: #ac988f;
  --color6: #e8dacf;
  --color7: #ffffff;

  --color8: #f6f6b3;
  --color9: #b08f43;

  --color10: #f1f1f3;
  --color11: #b4b6b9;

  --gradient-start: #e1ba70;
  --gradient-mid: #aa7648;
  --gradient-end: #a57c51;

  --hover-gradient-start: #f7d488;
  --hover-gradient-mid: #e1b35d;
  --hover-gradient-end: #d19c4b;
}

/*Fuentes*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kalnia:wght@100..700&display=swap');

.nav-links {
  display: flex;
  padding: 0;
  gap: 5rem;
}

/* Menu - Botones */
.gold-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 130px;
  padding: 0.6rem 1.4rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #1c1c1c, #2c2c2c);
  color: #f0e6c8;
  font-size: 1.4rem;
  text-decoration: none;
  transition: all 0.4s ease;
  cursor: pointer;
  overflow: hidden;
  z-index: 0;
}

.gold-button:hover {
  transform: translateX(5px);
}

.gold-button::before,
.gold-button::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    #ebd498,
    rgba(226, 187, 115, 0.36),
    rgba(223, 184, 111, 0.41)
  );
  opacity: 1;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.gold-button::before {
  top: 0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.gold-button::after {
  bottom: 0;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* Borde HOVER */
.gold-button .hover-border::before,
.gold-button .hover-border::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #e9cf91, #e5c37e, #e2bc74, #b69d6f);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.gold-button .hover-border::before {
  top: 0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.gold-button .hover-border::after {
  bottom: 0;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* Mostrar gradiente hover al hacer hover en el botón */
.gold-button:hover::before,
.gold-button:hover::after {
  opacity: 0;
}

.gold-button:hover .hover-border::before,
.gold-button:hover .hover-border::after {
  opacity: 1;
}

.text-gradient {
  position: relative;
  font-size: 24px;
  background: linear-gradient(
    90deg,
    #fdfff4,
    #fffde7,
    #fdfeee,
    #fff7d0,
    #ffeab5,
    #ebd19e,
    #e3be78,
    #cba86a,
    #bc8e5d
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  display: inline-block; 
  z-index: 3;
  white-space: nowrap; 
}

.gold-arrow {
  background-image: url("../img/arrow-icon.svg");
}

.nav-icons {
  display: flex;
  gap: 2.5rem;
}

.icon-link {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease;
}

/* Íconos normales */
.user-icon {
  background-image: url("../img/user-icon.svg");
}
.search-icon {
  background-image: url("../img/search-icon.svg");
}
.cart-icon {
  background-image: url("../img/cart-icon.svg");
}

/* Íconos en hover */
.user-icon:hover {
  background-image: url("../img/user-icon-hover.svg");
}
.search-icon:hover {
  background-image: url("../img/search-icon-hover.svg");
}
.cart-icon:hover {
  background-image: url("../img/cart-icon-hover.svg");
}

/* Menu */
#menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99; /* Asegura que esté por encima de otros elementos */
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px); /* Aplica el desenfoque */
  -webkit-backdrop-filter: blur(10px); /* Para Safari */
  font-size: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

#menu > nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.2rem 1rem 0.2rem 1rem;
}

#menu > nav > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Logo MAGNO */

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

#logoMagno {
  width: 13rem;
  height: auto;
}
