@font-face {
    font-family: 'Season Mix';
    src: url('../fonts/SeasonMix-TRIAL-Heavy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/fonnts.com-Basic_Sans_Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/fonnts.com-Basic_Sans_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}


html {
  scroll-padding-top: 7rem;
  height: 100%;
}

body {
    font-family: 'Season Mix', sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
}

main{
    flex: 1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


a {
  text-decoration: none;
  color: inherit;
}

h1{
    font-size: 2.1rem;
}

h2{
    font-size: 1.4rem;
}

h3{
    font-size: 1rem;
}



.my-navbar{
    width: 100%;
    background-color: #990012;
    height: 7rem;
    /* padding-top: 20px; */
    padding-bottom: 5px;
    padding-left: 10rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* justify-content: space-evenly; */
    column-gap: 10%;
}



.my-navbar-items{
    margin-top: 20px;
    font-size: larger;
    color: white;
    display: flex;
    flex-direction: row;
    /* width: 100%; */
    justify-content: center;
    column-gap: 5rem;
    list-style-type: none;
    align-items: center;
}

.my-navbar-items li a {
    position: relative;
    display: inline-block;
}

.nav-active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -40px; /* distancia respecto al texto */
    width: 170%;
    height: 4px;
    background-color: white;
    border-radius: 2px;
}


.navbar-logo{
    width: auto;
    height: 80px;
}

.navbar-shop-logo{
    width: auto;
    height: 55px;
    margin-left: 10%;
    cursor: pointer;
    display: none;
}







/* Main section */


/* .main-content-store {
    display: flex;
    flex-direction: row;
}
 */


 .top-message{
    background-color: #dccdbd;
    width: 100%;
    height: 4rem;
    text-align: center;
    padding-top: 15px;
}


/* Filter section */

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.filter-option input {
    width: 14px;
    height: 14px;
}

 .filter-section {
    display: flex;
    flex-direction: column;
}


.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

#toggleFilters {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Animación suave */
#filtersContent {
    transition: all 0.3s ease;
}

/* Oculto */
.hidden {
    display: none;
}

/* price slider */

.price-range {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.price-slider {
    width: 100%;
    appearance: none;
    height: 4px;
    background: #dccdbd;
    border-radius: 5px;
    outline: none;
    background: linear-gradient(to right, #3b1f0f 50%, #dccdbd 50%);
}

/* círculo del slider */
.price-slider::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: #3b1f0f;
    border-radius: 50%;
    cursor: pointer;
}

.price-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #3b1f0f;
    border-radius: 50%;
    cursor: pointer;
}


.main-content-store{
    display: grid;
    grid-template-columns: 250px 1fr;
    padding: 15px 15px 75px 15px;
}


/* Section store products */

.products-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.product-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.product-card img{
    width: 205px;
    height: auto;
    object-fit: contain;
}

.product-card h3{
    font-size: 1rem;
    margin-top: 1rem;
}

.product-card p{
    margin-top: 0.5rem;
}


/* Footer */


footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: black;
    padding: 100px 0px;
}


.footer-main-menu {
   display: flex;
   flex-direction: column;
   color: white;
   gap: 1rem;
   margin-right: 80px;
}


#footer-logo {
    width: 200px;
    height: 200px;
}

.footer-socialmedia {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 1rem;
}


.footer-socialmedia img {
    width: 16px;
    height: 34px;
}

.footer-socialmedia a:first-child img {
      width: 34px;
}



@media (max-width: 768px) {

    /* NAVBAR */
    .my-navbar {
        flex-direction: row;
        height: 70px;
        padding: 1rem;
        /* gap: 1rem; */
        justify-content: space-between;
        align-items: center;
    }

    .my-navbar-items {
       display: none;
    }

    .navbar-logo {
        height: 40px;
    }

    .navbar-shop-logo {
        /* height: 40px;
        margin-left: 0; */
        display: none;
    }

    .top-message h2 {
        font-size: 1.2rem;
    }

    .filter-section{
        display: none;
    }

    .main-content-store{
        width: 100vw;
    }

    .products-container{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .product-card{
        margin-left: 50%;
    }


    /* FOOTER */
    footer {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 50px 20px;
        text-align: center;
    }

    #footer-logo {
        width: 80px;
        height: auto;
    }

    .footer-main-menu {
        margin-right: 0;
    }

    .footer-socialmedia {
        flex-direction: row;
        gap: 1.5rem;
    }

    .footer-socialmedia img {
        width: auto;
        height: 20px;
    }

    #footer-insta{
        height: 25px !important;
    }
}


/* Sidebar shopping cart */

.offcanvas {
    width: 380px;
    background-color: #f3efeb;
}

.offcanvas-header {
    border-bottom: 2px solid #d8c7b8;
}

.offcanvas-body {
    padding: 2rem;
}


/* Dropdown store navbar item */

.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    background-color: #cbb59c;
    border: none;
    padding: 10px 0;
    position: absolute;
    left: -50px !important;
    /* transform: translateX(-30px); */
    top: 40px !important;
    margin-top: 10px;
    min-width: 200px;
    opacity: 0.95;
    border-radius: 0px;
}

.dropdown-item {
    color: #1b0e06;
    /* font-size: 0.9rem; */
    padding: 10px 20px;
    text-align: center;
    height: 22px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: transparent !important;
    color: inherit;
    text-decoration: underline;
}

