body {
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    background-color: #e1acac;
    margin: 0;
    padding: 0;
}

/* BARRA DE NAVEGACIÓN */

.navbar {
    position: sticky;
    z-index: 10000;
    top: 0;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;

    background-color: #d89fa4;
    margin: 0;
    padding: 0;
    width: 100%;
    list-style-type: none;
    box-shadow: 0 4px 8px 0 #000000a8;
}

.navbar li h2 {
    margin-left: 2rem;
    margin-right: 2rem;
}

@media screen and (max-width: 80rem) {
    .navbar li h2 {
        margin: unset;
        margin-top: .5rem;
        margin-bottom: .5rem;
        text-align: center;
    }
}

@media screen and (max-width: 80rem) {
    .navbar {
        position: static;
        padding: 0;
        flex-flow: column;
        height: auto;
    }
}

.navbar a {
    display: block;
    width: 120px;
    height: 75px;

    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 96px;

    background-color: #d19095;
    padding: 10px;
    border-right: 1px solid #97686c;
    border-bottom: 1px solid #97686c;
    border-left: 1px solid #97686c;
    color: #161616;

    transition-duration: 0.8s;
}

@media screen and (max-width: 80rem) {
    .navbar a {
        width: auto;
        height: 2rem;
        font-size: unset;
        line-height: 2rem;
    }
}

.navbar a:hover {
    transition-duration: 0.8s;
    background: #d8b1b4;
}

.navbar a:link {
    text-decoration: none;
}

.navbar a:visited {
    text-decoration: none;
}

.navbar a:active {
    text-decoration: none;
}

/* BANNER */
.banner {
    width: 100%;
    height: 350px;
    background-color: rgb(205, 133, 147);
    background-image: linear-gradient(rgba(255, 255, 255, 0), #e1acac),
        url("./img/sakuratrees.jpg");
    background-repeat: no-repeat;
    background-size: cover;

    text-shadow: 0 0 10px #fff;
    text-align: center;
    font-size: 32px;
    color: #121212;
    padding-top: 100px;
}

@media screen and (max-width: 80rem) {
    .banner {
        padding-top: 50px;
        height: 400px;
    }
}

.banner h1 {
    font-size: 48px;
    font-weight: bold;
}

.banner p {
    margin-top: 0;
    margin-left: 1%;
    margin-right: 1%;
    font-weight: bold;
}

/* DESCRIPCIÓN PRINCIPAL */
.description {
    width: 45%;
    margin: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 0 30px 0;

    font-size: 150%;
}

.parchment {
    box-shadow: 2px 3px 20px black, 0 0 60px #8a4d0f inset;
    background: #fffef0bc;

    border-radius: 20px;
    padding: 10px 28px 10px 10px;
}

@media screen and (max-width: 80rem) {
    .description {
        width: 95%;
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 80rem) {
    .parchment {
        box-shadow: 2px 3px 20px black, 0 0 60px #8a4d0f inset;
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media screen and (max-width: 80rem) {
    .description h1 {
        text-align: center;
    }
}

/* PREGUNTAS FRECUENTES */

.faq summary {
    user-select: none;
    cursor: pointer;

    font-weight: bold;
    font-family: monospace;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-align: center;

    padding: 1rem;

    color: #000;
    background: #ca8787;
    border: 1px solid #856767;

    border-radius: 7px;
    transition: all 0.25s ease-out;
}

.faq p {
    background: #fae04233;
    border: 1px solid #221f0973;
    border-top: 0;
    padding-left: 1rem;

    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    padding: 0.5rem 1rem;
    margin: 0;
}

@media screen and (max-width: 80rem) {
    .faq p {
        padding: .4rem .4rem;
    }
}

@media screen and (max-width: 80rem) {
    .description.h1 {
        text-align: center;
    }
}

/* PIE DE PÁGINA */

.footer {
    background-color: #d19095;
    color: #1a1c1e;
    overflow-y: hidden;
    display: flex;
    justify-content: center;
}

.footer ul {
    list-style-type: none;
}

.contact {
    width: 400px;
}

.contact h2 {
    text-align: center;
}

.contact li {
    padding-bottom: 5px;
}



/* Mapa */
#map {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#map img {
    border: 1px solid #856767;
    border-radius: 5px;
    max-width: 25%;
}

@media screen and (max-width: 80rem) {
    #map img {
        max-height: 250px;
    }
}

/* CATÁLOGO */

.catalog {
    background: #ffffff00;
    font-size: 110%;
}

@media screen and (max-width: 80rem) {
    .catalog {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-left: auto;
        text-align: center;
    }
}

.catalog ul {
    list-style-type: none;
    margin: auto;
    padding: 0;
    width: 95%;
    display: flex;
    flex-wrap: wrap;
}

/*@media screen and (max-width: 80rem) {*/
/*    .catalog ul {*/
/*        width: 95%;*/
/*        margin-bottom: 0;*/
/*        padding-left: 0;*/
/*        padding-right: 0;*/
/*    }*/
/*}*/

.catalog li {
    display: flex;
    flex-flow: column;
    margin-left: 1%;
    margin-right: 1%;

    background: #eeb8ab;
    border: 1px solid #856767;
    box-shadow: 2px 3px 10px black;
    padding: 10px;
    padding-bottom: 5px;
    margin-bottom: 3vh;
    text-align: center;
    font-family: monospace;

    /*max-height: 200px;*/
    max-width: 20vw;
    min-width: 20vw;
}

@media screen and (max-width: 80rem) {
    .catalog li {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        min-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .code {
        display: none;
    }
}

.code {
    font-size: 0.8rem;
    color: gray;
    margin: 0;
    padding: 0;
}


.catalog img {
    border: 2px solid #0c0c0c5c;
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    margin: 0 auto; /* Center the image */
    display: block; /* Ensures no extra space below */
}

@media screen and (max-width: 80rem) {
    .catalog a {
        max-height: 80%;
        pointer-events: none;
    }
}

.catalog h2 {
    margin-bottom: 3px;
    margin-top: 2px;

    font-weight: bold;

    color: #080808;
}

.catalog h3 {
    color: #191919;
}

.catalog b {
    text-transform: uppercase;
}

.noStock {
    background-color: #0000001f;
    color: #583e35;
}

.haveStock {
    background-color: #5361273a;
    color: #536127;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}
.pagination button {
    display: block;
    font-weight: bold;
    font-size: 120%;
    background-color: #e8e8e8;
    color: #0f0f0f;
    border: 2px ridge #11111162;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    width: 3em;
    height: 3.5em;
    line-height: 3.5em;
    text-align: center;
    user-select: none;
}

/* Página actual */
.pagination button:disabled {
    background-color: dodgerblue;
    color: white;
}

.pagination button:hover:not(:disabled) {
    background-color: #cbcbcb;
}

.pageTitle {
    margin-left: 1em;
    margin-bottom: 0.5em;
    margin-top: 10px;
    font-weight: bold;
    font-size: 2em;
    flex-flow: row;
}

@media screen and (max-width: 80rem) {
    .pageTitle {
        margin-left: auto;
        margin-right: auto;
    }
}

.pageTitle p {
    margin-bottom: 0.5em;
}

.categories {
    margin-top: 0.5em;
}

.categories button {
    margin-right: 1rem;
    
    font-weight: bold;
    font-size: 50%;
    background-color: #e8e8e8;
    color: #0f0f0f;
    border: 2px ridge #11111162;
    border-radius: 5px;
    text-decoration: none;
    height: 2.5em;
    line-height: 2.5em;
    user-select: none;
    cursor: pointer;
}

.categories button:disabled {
    background-color: #858585;
    cursor: unset;
}

.categories button:hover:not(:disabled) {
    background-color: #cbcbcb;
}

#searchForm {
    background-color: #ead5a3;
    width: 300px;
    height: 44px;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

@media screen and (max-width: 80rem) {
    #searchForm {
        margin-left: auto;
        margin-right: auto;
    }
}

#searchForm input {
    all: unset;
    font-weight: normal;
    font-size: 20px;
    text-align: left;
    color: #000;
    height: 100%;
    width: 100%;
    padding-left: 10px;
    border-style: solid;
    border-color: #d0bb88;
    border-right: 0;
}

#searchForm input::placeholder {
    color: #000;
    opacity: 0.7;
}

#searchForm button {
    all: unset;
    background-color: #eee;
    border-style: outset;
    cursor: pointer;
    width: 44px;
    height: 44px;
}

#searchForm button svg {
    color: #fff;
    width: 24px;
    height: 24px;
    padding: 10px;
}
