@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%;
  overflow-x: hidden;
}

body {
  font-family: 'Season Mix', sans-serif;
  height: 100%;
  overflow-x: hidden;
  max-width: 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{
    min-height: 100vh;
    background-color: #f1edea;
}

.top-message{
    background-color: #dccdbd;
    width: 100%;
    height: 4rem;
    text-align: center;
    padding-top: 15px;
}


.product-section{
    display: flex;
    flex-direction: row;
    margin-left: 15%;
    margin-top: 2rem;
    gap: 2rem;
    /* width: 100%; */
}


.products-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}


.product-small-images{
    display: flex;
    flex-direction: column;
    gap: 2rem;

}

.product-small-images img{
   width: 100px;
   height: 100px;
}


.product-main-image{
    position: relative;
    width: 700px;
    height: 700px;
}

.product-main-image img{
    width: 700px;
    height: 700px;
}

/* .product-small-images img:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
} */

.product-info{
   padding: 10% 10% 10% 0;
   display: flex;
   flex-direction: column;
   gap: 2rem;
}

.product-info hr{
   color: #f1edea;
}


.product-info-top {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-info-mid{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.product-info-mid button{
    padding: 12px 18px;
    width: 135px;
    border-radius: 6px;
    border: 2px solid #dccdbd;
    background-color: transparent;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
}



/* 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;
}



/* .product-info-mid button:first-child{
    background-color: #dccdbd;
} */


.product-info-mid button.active {
    background-color: #dccdbd;
}


.product-info-bottom{

}

.product-counter{

      width: 150px;
   height: 45px;
   display: flex;
   justify-content: space-evenly;
   border: 1px solid;
   border-color: #dccdbd;
   padding-top: 8px;
   padding-bottom: 8px;
   border-radius: 4px;
}



.add-cart-btn{
    margin-top: 2rem;
    width: 50%;
    padding: 16px;
    background-color: #1b0e06;
    color: white;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    cursor: pointer;
    margin-left: 25%;   
    /* display: none; */
}


.extra-products-section {
    text-align: center;
    padding: 4rem 2rem;
}

/* CONTENEDOR GENERAL */
.carousel-wrapper {
    position: relative;
    margin-top: 2rem;
    max-width: 900px;
}

/* SCROLL HORIZONTAL */
.carousel-scroll {
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
}

/* OCULTAR SCROLL */
.carousel-scroll::-webkit-scrollbar {
    display: none;
}

.products-scroll {
    /* justify-content: center; */
    display: flex;
    gap: 0.5rem;
    overflow-x: hidden; 
    /* 👈 ocultamos scroll */
    scroll-behavior: auto;
    width: 100%;
    padding: 2rem 4rem; /* espacio para flechas */
    /* padding-left: calc(50vw - 140px); */
    /* padding-right: calc(50vw - 140px); */
}

.product-card {
    min-width: 280px;
    flex: 0 0 auto;
    /* background-color: #fff; */
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    margin-right: 100px;
}

.product-card img {
    /* width: 70%;
    height: auto; */
    width: 560px; 
    height: 560px;
}

/* TARJETAS */


/* BOTONES */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1b0e06;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    opacity: 0.9;
}

.carousel-btn:hover {
    opacity: 1;
}

.carousel-btn.left {
    left: -20px;
}

.carousel-btn.right {
    right: -20px;
}


.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #3b2a1f;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}


/* Sidebar shopping cart */
.offcanvas {
    width: 380px;
    background-color: #f3efeb;
}

.offcanvas-header {
    border-bottom: 2px solid #d8c7b8;
}

.offcanvas-body {
    padding: 2rem;
}


/* 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;
}

.arrow {
    position: absolute;
    bottom: 15px;   /* 👈 las baja */
    top: auto;      /* 👈 quitamos el centrado vertical */
    transform: none;

    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
}

.arrow.left {
    right: 60px;  /* 👈 separación entre flechas */
}

.arrow.right {
    right: 10px;  /* 👈 pegada a la esquina */
}

.slider-container {
    display: none;
    width: 50%;
}


.slider-wrapper {
    position: relative;
    /* max-width: 48rem; */
    margin: 0 auto;

}

.slider {
    display: flex;
    /* aspect-ratio: 16 / 9; */
    height: calc(100dvh - 7rem);
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25); */
    /* border-radius: 0.5rem; */
}

/* 
.slider img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
} */

.slider img {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
}


@media (max-width: 768px) {

    .my-navbar {
        flex-direction: row;
        height: 70px;
        padding: 1rem;
        justify-content: space-between;
        align-items: center;
    }

    .my-navbar-items {
       display: none;
    }

    .navbar-logo {
        height: 40px;
    }

    .navbar-shop-logo {
        display: none;
    }

    .product-section{
        flex-direction: column;
        justify-content: center;
        /* align-items: center; */
    }

    .product-small-images{
        display: none;    
    }

    .product-main-image{
        height: auto;
        width: auto;
        display: none;
    }

    .product-main-image img{
        height: 75vw;
        width: auto;
    }

    .product-card img{
        height: 75vw;
        width: auto;
    }

    .top-message {
        height: 8vh;
       display: flex;
       justify-content: center;
       align-items: center;
    }
     

    .top-message h2 {
        font-size: 1.2rem;
    }

    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;
    }



    .slider-container {
        display: block;
        width: 100%;
        max-width: 350px;
        /* margin: 0 auto; */
        position: relative;
        left: -9%;
    }

    .swiper {
        width: 100%;
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .swiper-slide img {
        width: 100%;
        height: auto;
        display: block;
    }
} 


