@import url('sections/keyframes.css');
@import url('sections/arbolito.css');
@import url('sections/about.css');
@import url('sections/vitrina.css');
@import url('sections/gift-box.css');
@import url('sections/modal.css');
@import url('sections/table.css');
@import url('sections/filtros.css');
@import url('sections/toast.css');

:root{
    --modal-base-zindex: 300;
    --submodal-zindex: 302;
    --submodal-intermedio-zindex: 301;
}

body{
    user-select: none;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;

    display: flex;
    flex-direction: column;
    background: url('/assets/img/pattern-floor.jpg'),
    linear-gradient(to bottom, 
      #0a1128 0%, 
      #0d1b2a 25%,
      #1b263b 50%,
      #415a77 100%
    );

    background-position: center bottom, center top;
    background-size: 100px auto, 100% calc(100% - 100px);
    background-repeat: repeat-x, no-repeat;
}

header{
    background: rgba(5,10,18,0.8);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    filter: drop-shadow(2px 4px 6px black);
    z-index: 3;
}

header h1{
    margin: 0;
    font-family: "Braah One", sans-serif;
    font-size: 24px;
    color: lime;
    line-height: 1;
    font-weight: normal;
    flex: 1;
}

header nav ul{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav > ul > li{
    position: relative;
}


header nav ul > li > span{
    display: block;
    padding: 7px 10px;
    cursor: default;
}

header nav ul > li > span::after{
    content: "▼";
    font-size: 12px;
    display: inline-block;
    margin-left: 10px;
}

header nav ul a{
    display: block;
    color: white;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 5px;
    background: #4CAF50;
    transition: background 0.3s ease;
}

header nav ul a:hover{
    background: #45a049;
}

header nav ul li ul{
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(12,25,41,0.9);
    padding: 10px;
    border-radius: 0 0 2px 2px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    width: 200px;
    gap: 5px;
}

header nav ul li:hover ul{
    display: flex;
}


main{
    flex: 1;
    display: flex;
    position: relative;
    overflow: hidden;
    --vitrina-width: 650px;
    --vitrina-padding: 10px;
    --product-details-right:  calc(var(--vitrina-width) + ( var(--vitrina-padding) * 2 ) )
}


footer{
    background: black;
    color: white;
    text-align: center;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    grid-template-areas: "mute copy btn2";
}

footer p{
    grid-area: copy;
}

footer .mute{
    grid-area: mute;
    background: #45a049 url(/assets/icons/mute.svg) center/45px no-repeat;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
}

footer .mute:hover{
    background-color: #45a049;
}

footer .mute:active{
    background-color: #358039;
}

.gifts-boxes{
    position: absolute;
    bottom: 0;
    left: 500px;
    right: 0;
    z-index: 4;
}

.gifts-boxes > ul{
    position: relative;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.gifts-boxes .gift-box{
    width: 100px;
    height: 100px;
    background: none center/contain no-repeat;
    position: absolute;
}

.navidad-open .gifts-boxes{
    cursor: pointer ;
}

#countdown{
    display: none;
}

#saludo-navidad{
    position:fixed;
    inset: 0;
    background: var(--modal-background);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

#saludo-navidad div{
    font: 190px/155px "Braah One", sans-serif;
    color: yellow;
    text-align: center;
}

#saludo-navidad div span{
    display: block;
    animation: navidad 1s linear infinite alternate;
    filter: drop-shadow(3px 3px 3px red);


    background: linear-gradient(to bottom, yellow, lime);
    background-size: 100% 100%;

    -webkit-background-clip: text; /* For Chrome, Safari, etc. */
    background-clip: text;
  
    /* 3. Make the text itself transparent so the background shows through */
    -webkit-text-fill-color: transparent; /* For Chrome, Safari, etc. */
    color: transparent; 
}

.navidad-gracias{
    background: #30418f;
    border: 1px solid #4161b9;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 40px;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.13);
}

.navidad-gracias:hover{
    background: #263575;
}