:root {
    --negro: #191717;
    --white: #FFFFFF;
    --cafe : #7f674d;
    --back: #F9F6F0;
    --cafe_back: #85695a;
    --background_ind: #a29859;
    --width: 250px;
    --cafe_text: #b1937e;
    --cafe_footer: #825f3e;
    --amarillo_claro: #f4f4f2;
    --azul_oscuro: #212529;
    --naranja_apagado: #b09c75;
    --sombra: rgba(112,112,112,0.48);
    --naranja_claro: #e1cec3;
    --cafe_claro: #bfa98a;
    --cafe_back: #DECEBB;
}

/* Globales */
html{
    font-size: 62.5%;
    box-sizing: border-box;
    scroll-snap-type: y mandatory;
}
/* Tipografia */
h1 {
    font-size: 3.8rem;
}
h2 {
    font-size: 2.8rem;
}
h3 {
    font-size: 1.8rem;
    color: var(--negro);
}
h1,h2,h3 {
    text-align: center;
}
p {
    font-size: 17px;
}
a {
    text-decoration: none;
}
.libertinus {
  font-family: "Libertinus Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--azul_oscuro);
}
.serif {
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
}
.aboreto {
  font-family: "Aboreto", system-ui;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
}

/* Navegacion Principal */
.header {
    margin-top: 0;
    padding: 1rem 2rem;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    position: fixed;
    align-items: center;
    z-index: 1000;
}
.header a {
    color: var(--white);
}
.headerr {
    margin-top: 0;
    padding: 1rem 2rem;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    position: fixed;
    align-items: center;
    z-index: 1000;
    background-color: var(--cafe_claro);
}
.headerr a {
    color: var(--white);
}
body {
    font-size: 16px;
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;
    background-color: var(--white);
    width: 100%;
    margin: 0;
    padding: 0;
}
.contenedor {
    max-width: 100%;
    margin: 0 auto;
    background-color: var(--amarillo_claro);
}
.sombraa {
    margin-top: 10rem;
    box-shadow: 0px 5px 15px 0px var(--sombra);
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
}
.sombra {
    margin-top: 0.5rem;
    box-shadow: 0px 5px 15px 0px var(--sombra);
    background-color: var(white);
    padding: 2rem;
    border-radius: 1rem;
}
/*Hero*/
.hero {
    background-image: url(../img/supin.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 45% top;
    position: relative;
    height: 100vh;
    min-height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.contenido-hero {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 20px;
    text-decoration: none;
}
.contenido-hero h1 {
    font-weight: 400; 
    font-family: "Libertinus Sans", sans-serif;
    font-style: normal;
    font-size: 80px;
    margin-bottom: 1rem;
    text-transform:capitalize;
}
.contenido-hero h3 {
    font-size: 2rem;
    text-transform:capitalize;
    font-weight: 700;
    color: var(--azul_oscuro);
}
/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media screen and (max-width: 768px) {
    .contenido-hero {
        margin-bottom: 0.5rem;
        padding-top: 3rem;
    }
    .contenido-hero .h1 {
        font-size: 50px;
    }
    .sombra {
        padding: 5px;
    }
    .grid {
        gap: 1rem;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .contenido-hero {
        padding: auto;
    }
    .contenido-hero .h1 {
        font-size: 60px;
    }
}
/*Heroo*/
.heroo {
    background-image: url(../img/supser.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 45% top;
    position: relative;
    height: 50vh;
    min-height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

/* Productos */
.producto {
    border: 1px solid var(--cafe_text);
    padding: 1rem;
    border-radius: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
    transform: translateY(0);
    box-shadow: 0 2px 5px var(--sombra);
}
.producto:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 20px var(--sombra);
    z-index: 10;
}
.producto a {
    text-decoration: none;
    color: var(--negro);
}
.producto__imagen {
    height: 25rem;
    object-fit: contain;
    border-radius: 2rem;
    border-style: none;
    overflow: clip;
}
.producto__nombre {
    font-size: 3rem;
}
.producto__nombre,
.producto__precio {
    font-family: var(--negro);
    margin: 1rem 0;
    text-align: center;
    line-height: 1.2;
}
@media(max-width: 768px) {
    .boton {
        width: 30%;
    }
    body, html {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
    .boton {
        margin-top: 1.5rem;
        padding: 0.8rem 2rem;
        font-size: 1.6rem;
    }
    .producto__nombre {
    font-size: 2rem;
    }
}

/* Página del producto */
@media (min-width: 768px) {
    .suplemento {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .suplemento img {
        width: 25rem;
        margin: 0 auto;
        display: block;
    }
}
.suplemento {
    position: relative;
    text-align: center;
}
.suplemento__contenido {
    padding: 2rem;
    width: 87%;
    padding-bottom: 3rem;
}
.suplemento__contenido h1 {
    font-size: 4rem;
    color: var(--negro);
    text-align:center;
}
.suplemento__contenido ul {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--negro);
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.2;
    padding-bottom: 3rem;
}
.suplemento__contenido p, .suplemento__contenido ul {
    margin-top: 0;
    font-size: 2.5rem;
}
.suplemento__contenido ul, .suplemento__contenido p {
    margin-top: 0;
    font-size: 2.5rem;
    text-align: left;
}
.boton {
    display: inline-block;
    background-color: var(--naranja_apagado);
    color: var(--white);
    margin: 0.8rem 0;
    text-align: center;
    border-radius: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 24px;
    text-transform: initial;
    justify-content: center;
    border: 5px double var(--white);
    padding: 0.5em 1em;
    min-width: 0;
    width: auto;
    box-sizing: border-box;
    align-self: center;
}
.boton:hover {
    transform: translateY(-6px);
    cursor: pointer;
}
.boton svg {
    transform: translateY(5px);
    padding-right: 2rem;
}
/**Menu**/
.button-container {
  display: flex;
  width: 80%;
  height: 70px;
  align-items: center;
  justify-content: space-evenly;
}
.button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.button:hover {
  transform: translateY(-3px);
  color: var(--negro);
  width: 100%;

}
.icon {
  width: 28px !important;
  height: 28px !important;
}
.menu {
    line-height: 1.6;
    color: var(--white);
    width: fit-content;
    display: flex;
    list-style: none;
    width: auto;
    position: relative;
    margin: 0;
}
.menu a {
    text-decoration: none;
    color: var(--negro);
    font-size: 20px;
    line-height: inherit;
    transform: translateX(-12px);
}
.menu .link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    max-width: fit-content;
}
.menu .link::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}
.menu .item {
    position: relative;
}
.menu .item .submenu {
    display: flex;
    flex-direction: column;
    position: absolute;
    justify-content: left;
    top: 100%;
    border-radius: 5px 5px 16px 16px;
    left: 50%;
    width: 100vw;
    overflow: hidden;
    border: 1px solid var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-12px);
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    list-style: none;
    z-index: 9999999;
}
.menu .item:hover .submenu {
    width: 235px;
    left: 30%;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    border-color: var(--white);
    background-color: var(--cafe_back);
    z-index: 99999;
    justify-content: left;
    color: var(--white);
}
.menu .item:hover .link {
    color: var(--white);
    border-radius: 16px 16px 0 0;
}
.menu .item:hover .link::after {
    transform: scaleX(1);
    transform-origin: right;
}
.menu .item:hover .link svg {
    fill: #ffffff;
    transform: rotate(-180deg);
}
.submenu .submenu-item {
    width: 100%;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}
.submenu .submenu-link {
    display: block;
    padding: 16px 20px;
    width: 100%;
    position: relative;
    text-align: left;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    font-size: 14px !important;
    color: var(--negro);
    background: transparent;
    border-radius: 8px;
    z-index: 1; 
}
.submenu .submenu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cafe_back);
    border-radius: 8px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1; 
}
.submenu .submenu-link:hover::before {
    transform: scaleX(1);
    transform-origin: right;
}
.submenu .submenu-link:hover {
    color: var(--white);
}
.box {
  width: 50px;
  height: 50px;
  float: left;
  transition: .5s linear;
  position: relative;
  display: flex;
  overflow: hidden;
  padding: 0;
  text-align: center;
  margin: 0;
  background: transparent;
  text-transform: uppercase;
  font-weight: 900;
  align-items: center;
  justify-content: center;
}
.box:before {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  border-bottom: 4px solid transparent;
  border-left: 4px solid transparent;
  box-sizing: border-box;
  transform: translateX(100%);
}
.box:after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-top: 4px solid transparent;
  border-right: 4px solid transparent;
  box-sizing: border-box;
  transform: translateX(-100%);
}
.box:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  color: var(--negro);
}
.box:hover:before {
  border-color: var(--white);
  height: 100%;
  transform: translateX(0);
  transition: .3s transform linear, .3s height linear .3s;
}
.box:hover:after {
  border-color: var(--white);
  height: 100%;
  transform: translateX(0);
  transition: .3s transform linear, .3s height linear .5s;
}
button {
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  outline: none;
  border: none;
  background: transparent;
}
@media (min-width: 768px) {
    .submenu .submenu-link {
        padding: 12px 16px;
        font-size: 16px !important;
    }
    .menu .item:hover .submenu {
        width: 250px;
        left: 30%;
        transform: translateX(-50%) translateY(0);
    }
}

/** Footer **/
.footer {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    text-align: center;
}


