/* ESTILOS PRINCIPALES */
@import url(../CSS/dinamicMenu.css);
@import url(../CSS/carrito.css);

/* ESTILOS GLOBALES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande',
        'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;

}

body {
    width: 100%;
    height: 100vh;
    position: relative;
}
#body{
     width: 100%;
    height: 100vh;
    position: relative;
}
.centrar {
    max-width: 1200px;
    margin: auto;
   
}

:root {
    --darkPink-color: rgba(245, 107, 157, 0.514);
    --mediumPink-color: rgba(236, 141, 228, 0.514);
    --btn-letter-color:rgb(253, 252, 252);
    --golden-color: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    --box-shadow-golden: #BF953F;
    --purple-color: rgb(243, 98, 243);
    --black-color: rgb(10, 10, 10);
}




/* HEADER */
header {
    width: 100%;
    padding: 10px;
    background: url(../IMG/fondo\ prueba3.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.figure_logo {
    width: 50%;
    max-width: 200px;
    min-width: 100px;
    height: 130px;
    text-align: center;
    border-radius: 27px;
    padding: 3px 20px;
    position: relative;
   
}

.figure_logo img {
    width: 80%;
    position: absolute;
    z-index: 0;
    left: 0;
  
}

.nombre_floristeria {
/*     background: url(../IMG/fondo\ titulo\ letras.jpg);
    background-clip: text;
    -webkit-text-fill-color: transparent; */
    font-family: "Great Vibes", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 25px;
    line-height: 20px;
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 0;
    padding: 6px;
    color: rgb(252, 251, 249);
}



nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
}


.ul_nav {
    width: 100%;
    height: 30px;
    margin:20px 0px 0px 10px;
    display: flex;
    justify-content: flex-end;
    gap: 70px;
    align-items: center;

}

.small_let {
    font-size: 13px;
}

.li_nav {
    margin-left: 15px;
    color: var(--btn-letter-color);
    background-color:var(--box-shadow-golden);
    cursor: pointer;
    border-radius: 15px 2px 15px 15px;
    padding: 10px 20px;
}

.cesta button {
    position: relative;
}

.mostrar_cantidad_en_cesta{
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display:flex;
    justify-content: center;
    align-items:center ;
    position: absolute;
    top: -6px;
    right: -13px;
    font-size: 60%;
    color: #f9f9f7;
    background: rgb(94, 93, 93);
}


.ul_nav li i {
    font-size: 20px;
    color: var(--btn-letter-color);
}

/* nav desplegable */

#div_menu {
    width: 100%;
    max-width: 500px;
    display: none;
    padding:6px;
    position: absolute;
    right: 0;
    z-index: 3;
}

.decoration {
    backdrop-filter: blur(10px);
    border-radius: 6px;
    border: 1px solid var(--mediumPink-color);
}

.div_icons {
    height: 10px;
    position: relative;
}
.div_icons i{
     font-size: 22px;
     cursor: pointer;
}



#close_icon, #menu_icon {
    display: none;
    position: absolute;
    right: 10px;
    top: 0;
}
#menu_icon{
    font-size: 25px;
}

.displayblock {
    display: none;
    
}

#dropDown_box {
    display: none;

}
  .options {
    padding: 6px 0px 6px 20px;
    }

.options i{
    margin-right: 15px;
    font-size: 20px;
}
.options button{
    background-color: transparent;
    border: none;
    font-size: 16px;
    color: white;
}
.options:hover {
    cursor: pointer;
    background-color: var(--darkPink-color);
}
.options a{
    color:white;
}

.description {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    border-radius: 10px;
    color: white;
    padding: 10px;
    width: 100%;
    max-width: 500px;
    margin: 10px auto;
    animation: backShowup 1.3s ease-in-out 1.3s forwards;
}

.description h1 {
    font-family: "Great Vibes", serif;
    font-size: 3em;
    transform: translateX(calc(100vw + 10px));
    animation: showup 1.5s ease-in-out forwards;
}

.description p {
    transform: translateX(calc(-100vw - 10px));
    animation: showup 1.5s ease-in-out 0.7s forwards;
}

.description a {
    transform: translateY(calc(200% + 10px));
    max-width: 200px;
    margin: auto;
    animation: showup 1.5s ease-in-out 1.4s forwards;
    color: rgb(252, 251, 251);
}

@keyframes showup {
    to {
        transform: translate(0%, 0%);
    }
}

@keyframes backShowup {
    to {
        backdrop-filter: blur(10px);
        box-shadow: 0px 0px 5px 0px var(--box-shadow-golden);
    }
}



.a_description:hover {
    background-color: var(--mediumPink-color);
}

.description p {
    font-size: 12px;
    margin: 4px 0px 10px 0px;

}

/* MAIN */
#main {
    width: 100%;
    padding: 10px 0;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* flex: 1; */
}

#main .centrar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ul_main {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
   
}

.btn {
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 15px 2px 15px 15px;
    background: var(--box-shadow-golden);
    color: var(--btn-letter-color);
    transition: .3s;
    
    
}

.btn:hover {
    scale: 1.1;
}

/* BTN-OFERTAS */
#ofertas {
    background: rgb(209, 77, 77);
}

.span_oferta {
    font-size: 12px;
    font-weight: bold;
}

/* countdown */
#countdown{
    display: none;
}

:root {
    --primary: #282829;
    --secondary: rgba(241, 119, 119, 0.829);
    --glass: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(29, 30, 39, 0.678);
}


.hq-countdown {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 400px;
    padding: 3px;
    margin: auto;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hq-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(145deg, var(--primary), var(--secondary));
    border-radius: 7px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
}

.hq-countdown-item:hover {
    transform: translateY(-5px);
}

.hq-number {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hq-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Ended state */
.hq-ended {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    animation: pulse 1.5s infinite;
}

.hq-ended .hq-countdown-item {
    background: rgba(255, 255, 255, 0.15);
}

.hq-countdown-ended {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* SECTION DINAMIC_CONTENT */
#dinamic_section {
    width: 100%;
}

.container_carousel {
    width: 100%;
    padding: 10px;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.over_flow {
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.over_flow i {
    font-size: 3em;
    font-weight: bold;
}

#ul_carousel {
    width: 100%;
    display: flex;
    gap: 50px;
    padding: 4px;
    overflow: hidden;
    color: #000000;
}

.li_carousel {
    display: flex;
    width: 100%;
    flex-shrink: 0;
    border: 1px solid var(--mediumPink-color);
    border-radius: 7px;
    padding: 4px;
    transition: 1s;
}

.description_carousel {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 15px;
}

.description_carousel h2 {
    font-size: 25px;
}

.description_carousel h3 {
    font-size: 15px;
}

.description_carousel p {
    font-size: 12px;
    padding: 6px 0px;
}

.div_btn_carousel {
    width: 100px;
    margin: 0 auto;
}

.btn_carousel {
    width: 100%;
    padding: 6px;
    border: none;
    background-color: var(--box-shadow-golden);
    border-radius: 7px;
    font-size: 15px;
}

.img_carousel {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img_carousel img {
    width: 100%;
    border-radius: 7px;
    aspect-ratio: 1;
}

/* FLORES */
#div_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-items: center;
    align-items: center;

}

.caja-flor {
    width: 100%;
    height: 100%;
    max-height: 400px;
    max-width: 250px;
    border: 1px solid rgb(211, 210, 210);
    border-radius: 7px;
    padding: 7px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}

.caja-flor img {
    width: 100%;
    max-width: 160px;
    border-radius: 7px;
    object-fit: cover;
    aspect-ratio: 1;
}

.caja-flor button {
    width: 80%;
    max-width: 100px;
    background-color: var(--box-shadow-golden);
    color:var(--btn-letter-color);
    padding: 8px 0px;
    border-radius: 7px;
    border: none;
    outline: none;
    cursor: pointer;
   
}

.caja-flor p {
    font-size: 12px;
}

/* OFERTAS */
.hr{
    margin: 50px;
}

/* FOOTER */
footer {
    background: var(--darkPink-color);
    width: 100%;
    padding: 3px;
}

.ul_footer {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.li_footer {
    max-width: 200px;
    margin: 6px auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    
}

.li_footer a{
    display: flex;
    align-items: center;
    gap: 5px;
}

#icon {
    border-radius: 100%;
}

/* MEDIA QUERIES */
/* @media (max-width:600px) {

    #div_menu {
        display: block;
        padding: 2px;
    }

    #menu_icon {
        display: block;
    }


    .ul_carousel {
        width: 90%;
    }

    .ul_nav {
        display: none;
    }

    .options {
        padding: 3px;
    }

    .div_description h2 {
        font-size: 15px;
    }

}
 */


@media (max-width:1000px) {
    .ul_main{
        padding: 4px;
        margin: auto;
        max-width: 800px;
        display: grid;
        grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
        gap: 10px;
    }
    .ul_main li{
        text-align: center;
    }
     #div_menu {
        display: block;
        
    }

    #menu_icon {
        display: block;
    }


    .ul_carousel {
        width: 90%;
    }

    .ul_nav {
        display: none;
    }

    .div_description h2 {
        font-size: 15px;
    }
    .ul_footer{
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }
    .li_footer{
        font-size: calc(100% - 5px);
        
    }
}