/*
Theme Name: Borsari E-commerce
Author: Fabulab srl
Author URI: https://www.fabulab.com/
Description: Borsari E-commerce Theme
Version: 1.0
Requires at least: 5.0
Requires PHP: 7.0
*/

/* Fonts */

@font-face {
    font-family: 'Raleway';
    src: url('/wp-content/themes/borsari-ecommerce/assets/fonts/Raleway/static/Raleway-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway';
    src: url('/wp-content/themes/borsari-ecommerce/assets/fonts/Raleway/static/Raleway-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway';
    src: url('/wp-content/themes/borsari-ecommerce/assets/fonts/Raleway/static/Raleway-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway';
    src: url('/wp-content/themes/borsari-ecommerce/assets/fonts/Raleway/static/Raleway-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway';
    src: url('/wp-content/themes/borsari-ecommerce/assets/fonts/Raleway/static/Raleway-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Raleway';
    src: url('/wp-content/themes/borsari-ecommerce/assets/fonts/Raleway/static/Raleway-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@view-transition {
    navigation: auto;
}

@keyframes move-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes move-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Apply the custom animation to the old and new page states */

/*  ::view-transition-old(root) {
    animation: 0.2s ease-in both move-out;
  }

  ::view-transition-new(root) {
    animation: 0.2s ease-in both move-in;
  } */


/* Normalize */
html,
body {
    margin: 0;
    padding: 0;
}

/* body.admin-bar {
    margin-top: 32px;
} */

/* Typography */
body {
    font-family: 'Raleway', sans-serif;
    /*  background-color: #f6f4f0; */
}

a {
    text-decoration: none;
    color: #333;
}

h1 {
    font-weight: 400;
    letter-spacing: 0.05em;
}

h2 {
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 2em;
}

/* Utilities */
.py {
    padding-top: 20px;
    padding-bottom: 20px;
}

.my {
    margin-top: 20px;
    margin-bottom: 20px;
}


/* Layout */
.wrapper {
    width: 100%;
    padding-left: 5% !important;
    padding-right: 5% !important;
    box-sizing: border-box;
}

.d-flex {
    display: flex;
}

.py {
    padding-top: 20px;
    padding-bottom: 20px;
}

.wrapper>.content {
    display: flex;
}

.site-logo img {
    height: 40px;
    width: auto;
    position: relative;
    top: 8px;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media screen and (max-width: 1300px) {
    .wrapper {
        padding-left: 32px;
        padding-right: 32px;
    }

    .wrapper>.content {
        display: flex;
    }

}

@media screen and (max-width: 768px) {

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .half {
        width: 100%;
    }

    .d-flex {
        flex-direction: column;
    }

    .d-flex.m-reverse {
        flex-direction: column-reverse;
    }

    .wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .wrapper>.content {
        display: block;
    }

}

@media screen and (min-width: 768px) {
    .half {
        width: 50%;
        display: flex;
    }
}

/* @media screen and (min-width: 768px) {
    .wrapper {
        padding-left: 10%;
        padding-right: 10%;
    }

    .wrapper>.content {
        display: flex;
    }

} */

/* End Layout */


/* General */
.button {
    border-radius: 50px;
    padding: 15px 20px;
    background-color: #333;
    color: #FFF;
    font-size: 12px;
    letter-spacing: 0.15em;
    /* text-transform: uppercase; */
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #FFF;
    color: #333;
}

.button--outline {
    background-color: transparent;
    border: 1px solid #333;
    color: #333;
}

.button--outline:hover {
    background-color: #333;
    color: #FFF;
}

.button--outline-white {
    background-color: transparent;
    border: 1px solid #FFF;
    color: #FFF;
}

.button--outline-white:hover {
    background-color: #FFF;
    color: #333;
}

.button-filter {
    display: none;
}

.icon_arrow-circle-dx .cls-1 {
    stroke-linecap: square;
    stroke-width: 2px;
}

.icon_arrow-circle-dx .cls-1,
.icon_arrow-circle-dx .cls-2 {
    fill: none;
    stroke: currentColor;
    stroke-miterlimit: 10;
}


/* Header */
.site-header {
    background-position: center;
    background-size: cover;
    color: #FFF;
    background-color: #333;
}

.header-menu-wrapper {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
    z-index: 11;
    position: relative;
    display: flex;
    background-color: #333;
}

header .front-page video {
    position: absolute;
    z-index: 0;
    width: 100%;
    object-fit: cover;
    height: 100%;
}

header .front-page {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    height: auto;
    aspect-ratio: 2.9;
}

header .box-description-img {
    display: flex;
    background-color: white;
    flex-direction: row;
    align-items: center;
    color: #333;
    gap: 50px;
    padding-top: 32px;
    padding-bottom: 32px;
}

header .box-description-img .product-category {
    overflow: hidden;
    width: fit-content;
    height: fit-content;
    flex-shrink: 0;
}

header .box-description-img .product-category img {
    object-position: center center;
    object-fit: cover;
    max-width: none;
    max-width: 500px;
    animation: animatedBackground 15s linear forwards;
}

@keyframes animatedBackground {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.3);
    }
}

@media screen and (min-width: 1921px) {
    header .front-page {
        aspect-ratio: 2.2;
    }
}

@media screen and (max-width: 1320px) {
    header .front-page {
        aspect-ratio: 2.2;
    }
}

@media screen and (max-width: 1024px) {
    header .front-page {
        aspect-ratio: 1.6;
    }
}

@media screen and (max-width: 820px) {
    header .box-description-img {
        flex-direction: column;
        padding-top: 80px;
        gap: 20px;
    }

    header .box-description-img .archive-description {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    header .front-page {
        aspect-ratio: 1.1;
    }

    .hamburger-menu {
        display: flex !important;
    }
}

@media screen and (max-width: 600px) {
    header .box-description-img .product-category {
        flex-shrink: 1;
        width: 100%;
        height: 500px;
    }
}

@media screen and (max-width: 470px) {
    header .front-page {
        aspect-ratio: 0.8;
    }
}

.hamburger-menu {
    height: 24px;
    width: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger-menu .line {
    width: 100%;
    background-color: #FFF;
    height: 3px;
    border-radius: 2px;
    pointer-events: none;
    transition: 0.3s transform, 0.3s opacity;
}

.hamburger-menu .first {
    transform-origin: top left;
}

.hamburger-menu.opened .first {
    transform: rotate(45deg) scaleX(1.45) translateY(-2px);
}

.hamburger-menu .line.last {
    transform-origin: bottom left;
}

.hamburger-menu.opened .last {
    transform: rotate(-45deg) scaleX(1.45) translateY(2px);
}

.hamburger-menu.opened .middle {
    opacity: 0;
}

/* Footer */

footer {
    background-color: #f6f4f0;
    margin-top: 40px;
}

.footer-navigation ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
}

footer .content.site-info {
    justify-content: space-between;
    align-items: center;
    padding: 65px 30px 40px 30px;
    align-items: flex-start;
    display: flex;
}

.footer-navigation ul li {
    margin: 6px 0;
    font-size: 14px;
}

.site-footer .nexixpay-loghi-container {
    display: flex;
    justify-content: center;
    gap: 2px;
    filter: grayscale();
    opacity: 0.8;
    align-items: center;
}

.site-footer .nexixpay-loghi-container img {
    height: 16px;
}

.grecaptcha-badge {
    display: none !important;
}

footer .recaptcha-text a {
    text-decoration: underline;
}

@media screen and (max-width: 768px){
    footer .content.site-info {
        flex-direction: column;
        gap: 30px;
    }
}

/* Navigation */

.main-navigation {
    flex-grow: 1;
    margin-left: 20px;
    position: relative;
}

.main-navigation ul {
    display: flex;
    justify-content: flex-start;
    list-style-type: none;
    padding: 0;
}

.main-navigation ul li {
    margin: 0 10px;
}

.main-navigation ul li a {
    padding: 8px;
    font-size: 16px;
    color: #FFF;
    letter-spacing: 0.15em;
    transition: background-color 0.3s, color 0.3s;
}

.main-navigation ul li:hover a {
    background-color: #fff;
    color: #333;
}

.close-filter {
    border: none;
    background-color: transparent;
}

.menu-toggle-cart {
    border: none;
    background-color: transparent;
}

.menu-toggle-icon::after {
    content: '\e032';
    font-family: WooCommerce;
    font-weight: 900;
    font-size: 24px;
    color: #FFF;
}

.close-filter .menu-toggle-icon::after {
    content: '\e013';
}

.menu-toggle-cart.opened .menu-toggle-icon::after {
    content: '\e013';
    color: #333;
}

.header-cart {
    display: flex;
    align-items: center;
    position: relative;
}

.header-cart a {
    display: flex;
    align-items: center;
    color: #FFF;
    font-size: 12px;
    letter-spacing: 0.15em;
}

.header-cart a:first-child {
    margin-right: 40px;
}

/* .sidebar {
    display: none;
} */

.cart-contents {
    position: relative;
    display: flex;
}

.cart-icon {
    position: relative;
    width: 20px;
}

.cart-icon .cls-1 {
    fill: #fff;
}

.cart-icon .cls-2 {
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
    stroke-width: 2px;
}

.account-icon {
    position: relative;
    width: 16px;
    margin-right: 8px;
}

.account-icon .cls-1 {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-miterlimit: 10;
    stroke-width: 2px;
}

.cart-total-items {
    position: absolute;
    top: 0;
    right: -8px;
    background-color: #000;
    color: #FFF;
    border-radius: 50%;
    padding: 4px;
    font-size: 10px;
    height: 8px;
    width: 8px;
    text-align: center;
    line-height: 8px;
    box-sizing: content-box;
}

.desktop-submenu {
    color: #FFF;
}

.desktop-submenu ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.desktop-submenu ul li {
    width: 25%;
    padding: 8px 0;
    box-sizing: border-box;
    /* border-bottom: 1px solid #FFF; */
}

.desktop-submenu ul li a {
    color: #FFF;

    font-size: 14px;
    /* text-transform: capitalize; */
}

.desktop-submenu ul li a:hover {
    text-decoration: underline;
}

#mobile-submenu {
    position: fixed;
    z-index: 11;
    width: calc(100% - 32px);
    left: 0;
    top: 105px;
    padding-left: 16px;
    padding-right: 16px;
    opacity: 1;
    height: 88vh;
    overflow-y: scroll;
}

#mobile-submenu ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

#mobile-submenu ul li {
    width: 50%;
    padding: 8px 0;
    box-sizing: border-box;
    /* text-align: center; */
    /* border-bottom: 1px solid #FFF; */
}

#mobile-submenu ul li a {
    color: #FFF;
    font-size: 14px;

    /* text-transform: capitalize; */
}

.mobile-account-link {
    width: 100%;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.mobile-account-link a {
    color: #FFF;
    font-size: 14px;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    justify-content: center;
}

#opened-menu-background,
#filter-menu-background {
    position: absolute;
    z-index: 10;
    background: #333;
    width: 100%;
    display: none
}

.sidebar {
    height: 100%;
    position: fixed;
    z-index: 14;
    top: 0;
    right: 0;
    background-color: #FFF;
    transition: transform 0.5s;
    overflow-y: auto;
    transform: translateX(100%);
    width: 25%;
}

.sidebar.opened {
    transform: translateX(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 13;
    animation: fadeIn 0.2s;
}

.overlay.active {
    display: block;
}

.mini-cart-sidebar {
    background-color: #FFF;
    color: #333;
    padding-left: 5px;
    padding-right: 16px;
    padding-bottom: 60px;
}

.woocommerce ul.product_list_widget li {
    padding: 6px;
}

.woocommerce ul.product_list_widget li a {
    color: #333;
    font-size: 14px;
    padding-top: 10px;
    padding-left: 16px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    font-weight: 600;
}

.woocommerce ul.product_list_widget li a.remove {
    font-size: 1.5em;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333 !important;
}

.woocommerce ul.product_list_widget li a.remove:hover {
    background-color: #333;
    color: #FFF !important;
}

.woocommerce ul.product_list_widget li img {
    width: 135px;
}

.woocommerce-mini-cart-item .quantity {
    padding-left: 16px;
}

.woocommerce-mini-cart__total {
    margin-left: 16px;
    border-top: 1px solid #333;
    padding-top: 16px;
}

.woocommerce-mini-cart__shipping {
    margin-left: 16px;
}

.woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 20px;
    text-align: center;
    padding-left: 16px;
}

.woocommerce-mini-cart__buttons .button {
    border-radius: 50px !important;
    padding: 12px 18px !important;
    background-color: #333 !important;
    color: #FFF !important;
    font-size: 12px !important;
    border: 1px solid #FFF !important;
}

.woocommerce-mini-cart__buttons .button:hover {
    background-color: transparent !important;
    border-color: #333 !important;
    color: #333 !important;
}

.woocommerce-mini-cart__empty-message {
    padding: 20px;
    text-align: center;
}

.wc-block-cart .wc-block-cart__submit-container--sticky::before {
    background-color: #333;
}

@media screen and (max-width: 768px) {
    .main-navigation {
        display: none;
    }

    /* .header-cart {
        margin-left: auto;
    } */

    .account-header-link {
        display: none !important;
    }

    .header-menu-wrapper {
        display: flex !important;
        position: fixed;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        transition: background-color 0.2s;
        box-sizing: border-box;
        top: 0;
        left: 0;
        z-index: 12;
    }

    .single-product {
        margin-top: 64px;
    }

    .single-product .header-menu-wrapper {
        background-color: #333 !important;
    }

    .woocommerce-cart .header-menu-wrapper {
        background-color: #333 !important;
    }

    .post-type-archive .header-menu-wrapper {
        background-color: #333 !important;
    }

    .post-type-archive {
        padding-top: 70px;
    }

    .woocommerce-cart {
        padding-top: 60px;
    }

    .woocommerce-checkout .header-menu-wrapper {
        background-color: #333 !important;
    }

    .woocommerce-account .header-menu-wrapper {
        background-color: #333 !important;
    }

    .woocommerce-account {
        padding-top: 70px;
    }

    .error404 .header-menu-wrapper {
        background-color: #333 !important;
    }

    .error404 {
        padding-top: 70px;
    }

    .admin-bar .header-menu-wrapper {
        top: 46px;
    }

    .site-logo img {
        top: 0;
    }

    .woocommerce ul.product_list_widget li a {
        flex-direction: column;
        font-size: 12px;
        padding-top: 0px;
    }

    .woocommerce ul.product_list_widget li img {
        width: 200px;
    }

    .woocommerce ul.product_list_widget li {
        padding-bottom: 20px;
    }

    .sidebar {
        width: 60%;
    }

    .sidebar h2 {
        font-size: 24px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1400px) {
    .sidebar {
        width: 40%;
    }
}

/* End Navigation */

/* Home */

.categoria-home {
    display: flex;
    padding: 60px;
    background-color: #999;
    color: #FFF;
    font-size: 24px;
    margin-bottom: 24px;
    justify-content: flex-end;
    box-sizing: border-box;
    align-items: center;
    gap: 20px;
    letter-spacing: 0.04em;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transition: background-size linear 5s;
}

.categoria-home:hover {
    background-size: 120% 120%;
}

@media screen and (max-width: 900px) {
    .categoria-home {
        background-size: cover;
    }

    .categoria-home:hover {
        background-size: cover;
    }
}

@media screen and (min-width: 768px) {
    .ratio-6-1 {
        aspect-ratio: 6 / 1;
    }
}

.categoria-home .icon_arrow-circle-dx {
    width: 24px;
}

/* Single Product */

.woocommerce div.product {
    box-sizing: border-box;
    background-color: #FFF;
}

.woocommerce .flex-product {
    display: flex;
    flex-wrap: wrap;
    max-width: 1600px;
    margin: auto;
}

.woocommerce .flex-product .summary.entry-summary {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

.woocommerce .flex-product .woocommerce-product-gallery {
    flex-grow: 1;
}

@media screen and (min-width: 768px) {
    .woocommerce .flex-product .summary.entry-summary {
        padding: 64px;
        max-width: 680px;
    }

}

.woocommerce-product-details__short-description {
    line-height: 1.5;
    letter-spacing: 0.02em;
}

/* .woocommerce-product-details__short-description br {
    display: inline-block;
    position: relative;
    height: 1em;
} */

.single-product .single-product-category {
    font-size: 30px;
    /* text-transform: lowercase; */
}

.single-product .product-tipologia {
    text-transform: lowercase;
    font-size: 12px;
    display: flex;
    align-items: flex-end;
}

.single-product #header {
    background-color: #333;
}

/* .single-product .product-materiali {
    padding-left: 1em;
} */

.variation-dropwdown {
    position: relative;
    padding-bottom: 15px;
}

.variation-label {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-end;
}

.variation-label label {
    text-transform: uppercase;
    font-weight: 400 !important;
    flex-grow: 1;
}

.variation-label a {
    font-size: 12px;
    color: #333;
}

.variation-dropwdown select {
    appearance: none !important;
    border-radius: 50px;
    padding: 12px 20px;
    width: 100%;
    background-image: none !important;
}

.variation-dropwdown .dropdown-icon {
    position: absolute;
    right: 20px;
    top: 10px;
}

.single-product .taxonomy-product_cat a {
    font-size: 32px !important;
}

.single-product h1.wp-block-post-title {
    line-height: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 24px !important;
}

.single-product .summary .quantity {
    display: none !important;
}

.single-product .single_add_to_cart_button {
    border-radius: 50px !important;
    padding: 13px 20px !important;
    width: 100% !important;
    position: relative;
    background-color: #333 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

#videoDialog {
    border: 0;
    background-color: transparent;
}

#videoDialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

#videoDialog #closeDialog {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;

}

#videoDialog video {
    width: 100%;
}

.single-product .single_add_to_cart_button .arrowhead-right-icon {
    position: absolute;
    right: 20px;
    top: 9px;
}

.single-product .variations {
    margin-bottom: 0 !important;
}

ul.large-dots {
    list-style-type: none;
    padding: 0;
    margin: auto;
    max-width: 300px;
}

ul.large-dots li {
    position: relative;
    padding-left: 50px;
    padding-right: 30px;
    margin-bottom: 20px;
}

ul.large-dots li::before {
    content: "\2022";
    font-size: 150px;
    line-height: 0.23;
    position: absolute;
    top: 0;
    left: 0;
}

.info-delivery {
    display: flex;
    align-items: center;
    padding-bottom: 12px;
}

.info-delivery .text {
    padding-left: 20px;
}

.single-product .material-value {
    margin-top: 0 !important;
    padding-left: 20px;
}

.single-product .wp-container-core-columns-is-layout-1 .wp-block-column:last-child {
    position: relative !important;
}

.single-product .tipologia-label {
    position: absolute;
    top: 0;
    right: 0;
}

/* Woocommerce overrides */

.woocommerce ul.products li.product a img {
    margin-bottom: 0;
}

.woocommerce-loop-product__title {
    font-size: 12px !important;
    font-weight: 400 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    padding-bottom: 0;
}

.wp-block-woocommerce-cart.alignwide {
    padding-left: 5%;
    padding-right: 5%;
    margin-top: 40px;
}

.wp-block-woocommerce-checkout {
    padding-left: 5%;
    padding-right: 5%;
}

.wc-block-cart__submit-container {
    background-color: #333;
}

.wc-block-components-checkout-place-order-button {
    background-color: #333;
    color: #FFF;
}

.wc-block-cart__submit-container a {
    color: #FFF;
}

#place_order {
    background-color: #333;
    color: #FFF;
    text-transform: capitalize;
}

.woocommerce-checkout #payment {
    background-color: #EEE;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: #FFF;
}

.woocommerce-checkout #payment div.payment_box::before {
    border: 1em solid #fff;
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: transparent;
}

.woocommerce-Address-title h2 {
    font-size: 20px;
}

.woocommerce-Address-title.title a.edit {
    float: left !important;
    margin-bottom: 16px;
}

/* https://rawgit.com/woothemes/woocommerce-icons/master/demo.html */
.woocommerce-Address-title.title a.edit::after {
    content: '\e603';
    font-family: WooCommerce;
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
    margin: 4px;
}

.woocommerce-page ul.products li.product {
    width: calc(25% - 4px);
    margin: 2px;
    margin-bottom: 35px;
}

.page-template-default .woocommerce ul.products li.product {
    /* width: calc(34% - 4px) !important; */
    margin-right: 0 !important;
    margin: 2px;
    margin-bottom: 35px;
    overflow: hidden;
}

.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    padding-top: 20px;
}

.woocommerce-LoopProduct-link.woocommerce-loop-product__link>div {
    overflow: hidden;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-LoopProduct-link.woocommerce-loop-product__link>span {
    padding-left: 15px;
    padding-right: 15px;
}

.archive-product-info-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 0;
    margin-top: 1em;
    color: #333;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    z-index: 9 !important
}

@media screen and (max-width: 768px) {

    .woocommerce ul.products[class*=columns-] li.product,
    .woocommerce-page ul.products[class*=columns-] li.product {
        width: calc(50% - 4px);
        margin: 2px;
        margin-bottom: 35px;
    }
}

.woocommerce nav.woocommerce-pagination ul {
    border: none;
    margin: 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background-color: transparent;
    color: #333;
}

.woocommerce nav.woocommerce-pagination ul li .page-numbers {
    padding: 5px 5px;
    color: #929191;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    color: #333;
    background-color: transparent;
    border-bottom: solid 1px #333;
}

.woocommerce ul.products li.product a img {
    transition: transform 0.6s, opacity 0.2s;
}

.woocommerce ul.products li.product a img:hover {
    /* animation: animatedBackground 1s linear forwards; */
    transform: scale(1.2);
}

@keyframes animatedBackground {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2);
    }
}

/* Pagina Collezioni */
.category-title-box {
    width: 25%;
    display: block;
    background-size: cover;
    flex-shrink: 0;
    color: #FFF;
    display: flex;
    align-items: flex-end;
    padding: 2vw;
    justify-content: flex-end;
    position: relative;
}

.category-title-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.category-title-box--name {
    font-size: 1.8vw;
    z-index: 1;
}

.category-title-box--name svg {
    height: 0.9em;
    position: relative;
    top: 0.1em;
    width: auto;
}

.category-slider {
    /* padding-left: 60px;
    padding-right: 60px; */
    width: 56vw;
}

.collezioni .archive-product-image-wrapper {
    padding-top: 0 !important;
}

.collezioni.page-template-default .woocommerce ul.products li.product {
    margin-bottom: 0 !important;
}

@media screen and (max-width: 768px) {
    .category-slider {
        width: 100%;
        margin-top: 40px;
    }
}

.category-slider .all-products-category {
    margin: 2px;
    display: flex;
    justify-content: center;
}

.category-slider .all-products-category a {
    padding-top: 20px;
    width: 100%;
}

.category-slider .all-products-category .fake-product-box {
    background-color: white;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* End Pagina Collezioni */

.swiper-button-prev,
.swiper-button-next {
    color: #333;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    content: '';
}

.icon .cls-1 {
    stroke-linecap: square;
    stroke-width: 2px;
}

.icon .cls-1,
.icon .cls-2 {
    fill: none;
    stroke: currentColor;
    stroke-miterlimit: 10;
}

.icon-arrow {
    width: 12px;
}

.icon-arrow.dx {
    transform: rotate(270deg);
}

.icon-arrow .cls-1 {
    fill: none;
    stroke: currentColor;
    stroke-linecap: square;
    stroke-miterlimit: 10;
    stroke-width: 2px;
}

/* Pagina archivio */

.archive-wrapper {
    margin-top: 16px;
}

.archive-wrapper .orderby {
    appearance: none;
    -webkit-appearance: none;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');
    border: none;
    padding: 10px;
    background-repeat: no-repeat;
    background-position: right 8px center;
    cursor: pointer;
    width: 185px;
}

.archive-wrapper .orderby:focus {
    outline: none;
}

.archive-wrapper .archive-product-image-wrapper {
    overflow: hidden !important;
    padding-top: 0 !important;
}

/* Filtri */
.filter-box {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    border-bottom: 1px solid #333;
    margin-bottom: 16px;
    position: relative;
}

.filter-box .widgettitle {
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.filter-box .widgettitle svg {
    position: relative;
    height: 0.9em;
    top: 0.1em;
    left: 0.5em;
    width: auto;
}

.filter-box .widget {

    width: 200px;
    padding: 20px 0;
}

.filter-box .woocommerce-widget-layered-nav-list {
    display: none;
}

.filter-box .widget:hover {
    background-color: #333;
    color: #FFF;
}

@keyframes filterFadeIn {
    from {
        opacity: 0;
        /* transform: translateY(-10px); */
        /*  height: 0; */
        transform: translateY(-10px) scaleY(0);

    }

    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
        /*  transform: translateY(0); */
        /*  height: fit-content; */
    }
}



.filter-box .widget .woocommerce-widget-layered-nav-list a {
    color: #FFF;
}

/* .filter-box .widgettitle::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #333;
    margin-top: 10px;
} */

.chosen-filters .remove-filter {
    background-color: #333;
    color: #FFF;
    padding: 4px 8px;
    margin-right: 8px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
}

/* .chosen-filters .remove-filter:hover {
    background-color: #FFF;
    color: #333;
} */

.chosen-filters .remove-filter svg {
    margin-left: 12px;
}

.archive .content-filter-mobile {
    display: none;
}

#linea-mobile {
    display: none;
}


@media screen and (min-width: 769px) {
    .filter-box .widget:hover .woocommerce-widget-layered-nav-list {
        display: flex;
        position: absolute;
        width: 100%;
        left: 0;
        top: 79px;
        background-color: #333;
        padding: 40px;
        z-index: 1;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding-left: 200px;
        transform-origin: top;
        animation: filterFadeIn 0.2s;
    }

    .filter-box .widget:hover .woocommerce-widget-layered-nav-list li {
        width: 25%;
    }
}

@media screen and (max-width: 768px) {
    .filter-box .widget {
        width: 100%;
        padding: 12px 0;
    }

    .filter-box .widget {
        background-color: #333;
        color: #FFF;
    }

    .filter-box .woocommerce-widget-layered-nav-list {
        position: relative !important;
        display: block !important;
        animation: none !important;
        width: calc(100% - 32px) !important;
        box-sizing: border-box;
        padding-left: 20px;
        font-size: 14px;
    }

    .filter-box .woocommerce-widget-layered-nav-list a {
        text-transform: lowercase;
    }

    .woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item {
        padding-bottom: 6px;
    }

    .widget.woocommerce.widget_layered_nav.woocommerce-widget-layered-nav::before {
        content: '';
        display: block;
        margin-left: 16px;
        margin-right: 16px;
        border: 1px solid white;
    }

    #opened-menu-background,
    #filter-menu-background {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
    }

    .archive #filter-menu-background {
        overflow-y: scroll;
    }

    .archive .filter-mobile {
        display: none;
    }

    .archive .content {
        display: block;
    }

    .button-filter {
        display: block;
        border-radius: 50px;
        padding: 10px 15px;
        background-color: #333;
        color: #FFF;
        font-size: 12px;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        cursor: pointer;
        transition: background-color 0.3s;
        box-shadow: none;
        text-shadow: none;
        margin-left: 12px;
        height: 40px;
    }

    .button-filter:hover {
        background-color: #FFF;
        color: #333;
    }

    .filter-box {
        color: #FFF;
        flex-direction: column;
    }

    .filter-box .widgettitle {
        text-align: start;
        padding-left: 16px;
        font-weight: bold;
    }

    .filtri-inseriti {
        display: flex;
        justify-content: space-between;
        height: auto;
        padding-top: 10px;
    }

    .chosen-filters a {
        margin-top: 5px;
    }

    .bi-chevron-down {
        display: none;
    }

    #linea-mobile {
        display: block;
        padding-left: 16px;
        padding-right: 16px;
    }
}


/* Login e Account */

.login-form-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.input-text {
    padding: 10px;
}

.login-form-wrapper .woocommerce-form-login__submit {
    padding: 10px;
    background-color: #333 !important;
    color: #FFF !important;
    letter-spacing: 0.15em;
    font-size: 12px;
}

.reset-password-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.reset-password-form .input-text {
    padding: 10px;
}

.fpf-fields {
    display: none;
}

.on-screen::after {
    content: attr(data-index) " on screen";
    position: absolute;
    top: 0;
    left: 0;
    background-color: #333;
    color: #FFF;
    padding: 4px;
    font-size: 12px;
    z-index: 1;
}

.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    transition: opacity 0.2s, transform 0.2s;
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.woocommerce-LoopProduct-link.woocommerce-loop-product__link.off-screen {
    opacity: 0;
    transform: translateY(10px);
}

#linktoconfiguratore {
    border-radius: 50px !important;
    padding: 13px 0px !important;
    text-align: center;
    width: 100% !important;
    position: relative;
    background-color: #c69668 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #fff;
    display: block;
    margin-bottom: 30px;
}

/* .woocommerce-LoopProduct-link.woocommerce-loop-product__link.on-screen {
    opacity: 1;
} */