/*!
Theme Name: Savinelli
Theme URI: http://underscores.me/
Author: WEBBAMI
Author URI: https://www.webbami.it/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: savinelli
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Savinelli is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

.taxonomy-description{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    bottom: 60px;
}
.taxonomy-description h2{
    text-align: center;
}

.cat-info{
    border: 1px solid #ddd;
}
.product-list {
    display: flex;
    flex-wrap: wrap; /* Permette di andare a capo dopo 3 prodotti */
    gap: 0px; /* Spaziatura tra i prodotti */
}

.product-item {
    flex: 1 1 calc(33.33%);
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #ddd;
    max-width: 33.33%;
}

@media (max-width: 768px) {
    .product-item {
        flex: 1 1 calc(50%);
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    .product-item {
        flex: 1 1 100%;
        max-width: 50%;
    }
}

.cat-info .found-prod{
    text-transform: uppercase;
    font-size: 11px;
}

.tit-prod{
    font-weight: 400;
    font-family: "eula";
    font-size: 1.125rem;
    line-height: 1.125rem;
}

.pagination {
    display: flex;
    justify-content: end;
    margin: 40px 20px;
    list-style-type: none;
    padding: 0;
}

.pagination .page-numbers {
    margin: 0px;
}

.pagination .page-numbers {
    padding: 8px 12px;
    text-decoration: none;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    color: #333;
}

.pagination .page-numbers:not(.dots):hover {
    background-color: #06162e;
    color: white;
    border: 1px solid transparent !important;
}

.pagination .page-numbers.current {
    padding: 8px 12px;
    background-color: #06162e;
    color: white;
    border: 1px solid #06162e;
}

.nobeforeafter:before,
.nobeforeafter:after{
    display: none !important
}

.showlang{
    position: absolute;
    top: 30px;
    left: 0px;
    width: 100%;
    z-index: 999999;
}
.showlang a{
    display: inline-block;
    width: 100%;
    background: white;
    padding: 12px 0px;
    color: black !important;
    border-bottom: 1px solid black;
}
.showlang a:last-child{
    border-bottom: 0px !important;
}

@media screen and (max-width:991px){
    .hide-in-mobile{
        display: none !important;
    }
    .breadcrumbs{
        top: 100px !important;
    }
    .actions a.tocart{
        width: 90% !important;
        min-width: inherit !important;
    }
}
@media screen and (min-width:992px){
    .row.mt-top-margin{
        margin-top: -80px;
    }
    .show-in-mobile{
        display: none !important;
    }
}
