/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.5.1.1791385876
Updated: 2026-10-07 15:11:16

*/
.eael-simple-menu-toggle-text {
  display: none!important;
}
/* =========================================================
   NAMIPAN - SOTTOMENU DESKTOP
   Evita che le voci del submenu vadano a capo e permette
   al dropdown di adattarsi automaticamente alla voce più lunga.
   ========================================================= */

@media (min-width: 1025px) {

    .sub-menu {
        width: max-content !important;
        min-width: 300px !important;
    }

    .sub-menu > li {
        width: 100% !important;
        min-width: max-content !important;
    }

    .sub-menu > li > a {
        width: 100% !important;
        white-space: nowrap !important;
    }

}
/* =========================================================
   NAMIPAN — WooCommerce Product Grid
   ========================================================= */

.namipan-shop-grid {
    --namipan-dark: #1C1B18;
    --namipan-text: #3F3D38;
    --namipan-green: #344126;
    --namipan-green-hover: #465735;
    --namipan-cream: #FAF7F0;
    --namipan-sand: #F4F0E8;
    --namipan-border: #D8D1C4;
}

/* GRID */
.namipan-shop-grid ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 38px 24px;
    margin: 0 !important;
    padding: 0 !important;
}

/* Rimuove il vecchio sistema float WooCommerce */
.namipan-shop-grid ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 0 22px !important;

    background: var(--namipan-cream);
    border: 1px solid var(--namipan-border);
    border-radius: 10px;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

/* Hover card */
.namipan-shop-grid ul.products li.product:hover {
    transform: translateY(-4px);
    border-color: #C8BDAA;
    box-shadow: 0 14px 34px rgba(28, 27, 24, 0.08);
}


/* =========================================================
   IMMAGINE
   ========================================================= */

.namipan-shop-grid ul.products li.product a img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;

    display: block;
    margin: 0 0 22px !important;

    background: var(--namipan-sand);

    transition: transform .5s ease;
}

.namipan-shop-grid ul.products li.product:hover a img {
    transform: scale(1.025);
}


/* =========================================================
   TITOLO PRODOTTO
   ========================================================= */

.namipan-shop-grid .woocommerce-loop-product__title {
    font-family: "Fraunces", serif !important;
    font-size: 21px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;

    color: var(--namipan-dark) !important;

    padding: 0 20px !important;
    margin: 0 0 10px !important;

    letter-spacing: -0.01em;
}


/* =========================================================
   PREZZO
   ========================================================= */

.namipan-shop-grid ul.products li.product .price {
    font-family: "DM Sans", sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.4;

    color: var(--namipan-green) !important;

    display: block;
    padding: 0 20px !important;
    margin: 0 0 18px !important;
}

.namipan-shop-grid ul.products li.product .price .amount {
    color: inherit !important;
}


/* =========================================================
   LINK PRODOTTO
   ========================================================= */

.namipan-shop-grid ul.products li.product
.woocommerce-LoopProduct-link {
    text-decoration: none !important;
    color: inherit !important;
}


/* =========================================================
   BOTTONE
   ========================================================= */

.namipan-shop-grid ul.products li.product .button {
    font-family: "DM Sans", sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #fff !important;
    background: var(--namipan-green) !important;

    border: 1px solid var(--namipan-green) !important;
    border-radius: 4px !important;

    padding: 15px 18px !important;
    margin: auto 20px 0 !important;

    text-align: center;
    text-decoration: none !important;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.namipan-shop-grid ul.products li.product .button:hover {
    color: #fff !important;
    background: var(--namipan-green-hover) !important;
    border-color: var(--namipan-green-hover) !important;
    transform: translateY(-1px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {

    .namipan-shop-grid ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
    }

}
@media (max-width: 600px) {

    .namipan-shop-grid ul.products {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .namipan-shop-grid .woocommerce-loop-product__title {
        font-size: 22px !important;
    }

}
/* Rimuove i clearfix WooCommerce che occupano celle nella CSS Grid */
.namipan-shop-grid ul.products::before,
.namipan-shop-grid ul.products::after {
    content: none !important;
    display: none !important;
}

/* =========================================================
   NAMIPAN — WooCommerce Product Grid - END
   ========================================================= */

/* =========================================================
   NAMIPAN — SINGLE PRODUCT WOOCOMMERCE
   ========================================================= */

body.single-product {
    --namipan-dark: #1C1B18;
    --namipan-text: #4A4741;
    --namipan-muted: #777168;
    --namipan-green: #344126;
    --namipan-green-hover: #465735;
    --namipan-cream: #FAF7F0;
    --namipan-sand: #F4F0E8;
    --namipan-border: #D8D1C4;
}


/* =========================================================
   CONTENITORE GENERALE
   ========================================================= */

body.single-product #primary {
    max-width: 1280px;
    margin: 0 auto;
    padding: 35px 28px 80px;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

body.single-product .woocommerce-breadcrumb {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--namipan-muted);

    margin: 0 0 35px;
}

body.single-product .woocommerce-breadcrumb a {
    color: var(--namipan-green);
    text-decoration: none;
}

body.single-product .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}


/* =========================================================
   AREA PRINCIPALE PRODOTTO
   ========================================================= */

body.single-product div.product {
    color: var(--namipan-text);
}


/* =========================================================
   GALLERY
   ========================================================= */

body.single-product
.woocommerce-product-gallery {
    margin-bottom: 40px !important;
}

body.single-product
.woocommerce-product-gallery__image {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

body.single-product
.woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: auto;

    border-radius: 10px;
}


/* Zoom */
body.single-product
.woocommerce-product-gallery__trigger {
    background: rgba(250, 247, 240, .95) !important;
    border: 1px solid var(--namipan-border);
    border-radius: 50%;

    width: 42px;
    height: 42px;

    display: flex !important;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   THUMBNAILS
   ========================================================= */

body.single-product .flex-control-thumbs {
    display: flex;
    gap: 12px;

    margin-top: 14px !important;
}

body.single-product .flex-control-thumbs li {
    margin: 0 !important;
}

body.single-product .flex-control-thumbs img {
    border-radius: 7px;
    border: 1px solid transparent;

    opacity: .65;

    transition:
        opacity .2s ease,
        border-color .2s ease;
}

body.single-product .flex-control-thumbs img:hover,
body.single-product .flex-control-thumbs img.flex-active {
    opacity: 1;
    border-color: var(--namipan-green);
}


/* =========================================================
   SUMMARY
   ========================================================= */

body.single-product .summary.entry-summary {
    padding: 20px 0 0 35px;
}


/* =========================================================
   TITOLO
   ========================================================= */

body.single-product
.product_title.entry-title {
    font-family: "Fraunces", serif !important;

    font-size: clamp(34px, 3vw, 48px) !important;
    font-weight: 500 !important;
    line-height: 1.12 !important;

    letter-spacing: -0.025em;

    color: var(--namipan-dark);

    margin: 0 0 16px !important;
}


/* =========================================================
   PREZZO
   ========================================================= */

body.single-product
.summary .price {
    font-family: "DM Sans", sans-serif !important;

    font-size: 25px !important;
    font-weight: 600 !important;

    color: var(--namipan-green) !important;

    margin: 0 0 24px !important;
}

body.single-product
.summary .price .amount {
    color: inherit !important;
}


/* =========================================================
   DESCRIZIONE BREVE
   ========================================================= */

body.single-product
.woocommerce-product-details__short-description {
    font-family: "DM Sans", sans-serif;

    font-size: 16px;
    line-height: 1.75;

    color: var(--namipan-text);

    margin-bottom: 30px;
}

body.single-product
.woocommerce-product-details__short-description p {
    margin: 0 0 10px;
}

body.single-product
.woocommerce-product-details__short-description strong {
    color: var(--namipan-dark);
    font-weight: 600;
}


/* =========================================================
   VARIAZIONI
   ========================================================= */

body.single-product table.variations {
    width: 100%;

    margin: 0 0 24px !important;

    border: 0 !important;
}

body.single-product
table.variations tr,
body.single-product
table.variations td,
body.single-product
table.variations th {
    border: 0 !important;
}

body.single-product
table.variations .label {
    display: block;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: .08em;

    color: var(--namipan-dark);

    padding: 0 0 8px !important;
}


/* Select accordatura */

body.single-product
table.variations select {
    width: 100% !important;
    min-height: 52px;

    font-family: "DM Sans", sans-serif;
    font-size: 15px;

    color: var(--namipan-dark);

    background: #fff;

    border: 1px solid var(--namipan-border);
    border-radius: 5px;

    padding: 0 15px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

body.single-product
table.variations select:focus {
    border-color: var(--namipan-green);

    box-shadow: 0 0 0 3px rgba(52, 65, 38, .08);
}


/* Reset */

body.single-product .reset_variations {
    display: inline-block;

    margin-top: 8px;

    font-family: "DM Sans", sans-serif;
    font-size: 12px;

    color: var(--namipan-muted);
}


/* =========================================================
   QUANTITÀ + ADD TO CART
   ========================================================= */

body.single-product
.woocommerce-variation-add-to-cart {
    display: flex;
    gap: 12px;
    align-items: stretch;

    margin-top: 10px;
}


/* Quantità */

body.single-product .quantity .qty {
    width: 70px;
    height: 52px;

    font-family: "DM Sans", sans-serif;
    font-size: 15px;

    text-align: center;

    color: var(--namipan-dark);

    background: #fff;

    border: 1px solid var(--namipan-border);
    border-radius: 5px;
}


/* Bottone acquisto */

body.single-product
.single_add_to_cart_button {
    flex: 1;

    min-height: 52px;

    font-family: "DM Sans", sans-serif !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    letter-spacing: .08em;
    text-transform: uppercase;

    color: #fff !important;

    background: var(--namipan-green) !important;

    border: 1px solid var(--namipan-green) !important;
    border-radius: 5px !important;

    padding: 16px 25px !important;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

body.single-product
.single_add_to_cart_button:hover {
    background: var(--namipan-green-hover) !important;
    border-color: var(--namipan-green-hover) !important;

    transform: translateY(-1px);
}


/* Stato disabilitato finché non sceglie l'accordatura */

body.single-product
.single_add_to_cart_button.disabled {
    opacity: .45 !important;
    cursor: not-allowed !important;
}


/* =========================================================
   META: SKU / CATEGORIA / BRAND
   ========================================================= */

body.single-product .product_meta {
    margin-top: 28px;
    padding-top: 18px;

    border-top: 1px solid var(--namipan-border);

    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    line-height: 1.8;

    color: var(--namipan-muted);
}

body.single-product .product_meta > span {
    display: block;
}

body.single-product .product_meta a {
    color: var(--namipan-green);
    text-decoration: none;
}


/* =========================================================
   TABS
   ========================================================= */

body.single-product
.woocommerce-tabs {
    clear: both;

    padding-top: 70px;
}


/* Barra tab */

body.single-product
.woocommerce-tabs ul.tabs {
    display: flex;

    gap: 35px;

    margin: 0 0 40px !important;
    padding: 0 !important;

    border-bottom: 1px solid var(--namipan-border);
}

body.single-product
.woocommerce-tabs ul.tabs::before,
body.single-product
.woocommerce-tabs ul.tabs::after {
    display: none !important;
}


/* Singola tab */

body.single-product
.woocommerce-tabs ul.tabs li {
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}

body.single-product
.woocommerce-tabs ul.tabs li::before,
body.single-product
.woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

body.single-product
.woocommerce-tabs ul.tabs li a {
    font-family: "DM Sans", sans-serif !important;

    font-size: 13px;
    font-weight: 600 !important;

    letter-spacing: .06em;
    text-transform: uppercase;

    color: var(--namipan-muted) !important;

    padding: 0 0 15px !important;

    border-bottom: 2px solid transparent;

    transition:
        color .2s ease,
        border-color .2s ease;
}

body.single-product
.woocommerce-tabs ul.tabs li.active a {
    color: var(--namipan-green) !important;
    border-bottom-color: var(--namipan-green);
}


/* =========================================================
   CONTENUTO TAB
   ========================================================= */

body.single-product
.woocommerce-Tabs-panel {
    max-width: 900px;

    font-family: "DM Sans", sans-serif;

    font-size: 16px;
    line-height: 1.8;

    color: var(--namipan-text);
}

body.single-product
.woocommerce-Tabs-panel p {
    margin: 0 0 20px;
}


/* Nasconde i titoli automatici
   "Description" e "Additional information" */

body.single-product
#tab-description > h2:first-child,
body.single-product
#tab-additional_information > h2:first-child {
    display: none;
}


/* Titoli interni */

body.single-product
.woocommerce-Tabs-panel h2,
body.single-product
.woocommerce-Tabs-panel h3 {
    font-family: "Fraunces", serif !important;

    color: var(--namipan-dark);
}

body.single-product
.woocommerce-Tabs-panel h2 {
    font-size: 32px;
    font-weight: 500;
}

body.single-product
.woocommerce-Tabs-panel h3 {
    font-size: 28px;
    font-weight: 500;

    margin-top: 45px;
    margin-bottom: 15px;
}


/* =========================================================
   VIDEO YOUTUBE
   ========================================================= */

body.single-product
#tab-description iframe {
    display: block;

    width: 100%;
    max-width: 820px;

    aspect-ratio: 16 / 9;
    height: auto;

    margin: 22px 0 30px;

    border: 0;
    border-radius: 10px;

    background: #000;
}


/* =========================================================
   TABELLA ATTRIBUTI
   ========================================================= */

body.single-product
.woocommerce-product-attributes {
    width: 100%;

    border: 1px solid var(--namipan-border) !important;
    border-radius: 8px;

    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

body.single-product
.woocommerce-product-attributes tr {
    background: transparent !important;
}

body.single-product
.woocommerce-product-attributes tr:nth-child(even) {
    background: var(--namipan-cream) !important;
}

body.single-product
.woocommerce-product-attributes th,
body.single-product
.woocommerce-product-attributes td {
    font-family: "DM Sans", sans-serif !important;

    font-size: 14px;

    padding: 15px 18px !important;

    border: 0 !important;
    border-bottom: 1px solid var(--namipan-border) !important;
}

body.single-product
.woocommerce-product-attributes tr:last-child th,
body.single-product
.woocommerce-product-attributes tr:last-child td {
    border-bottom: 0 !important;
}

body.single-product
.woocommerce-product-attributes th {
    width: 32%;

    font-weight: 600 !important;

    color: var(--namipan-dark);

    background: var(--namipan-sand);
}

body.single-product
.woocommerce-product-attributes td {
    color: var(--namipan-text);
}

body.single-product
.woocommerce-product-attributes td p {
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product
.woocommerce-product-attributes a {
    color: var(--namipan-green);
    text-decoration: none;
}


/* =========================================================
   RELATED PRODUCTS
   ========================================================= */

body.single-product
.related.products {
    margin-top: 90px;
}

body.single-product
.related.products > h2 {
    font-family: "Fraunces", serif !important;

    font-size: 36px !important;
    font-weight: 500 !important;

    color: var(--namipan-dark);

    margin-bottom: 30px !important;
}


/* Griglia */

body.single-product
.related.products ul.products {
    display: grid !important;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 24px;

    margin: 0 !important;
}


/* evita il problema del clearfix WooCommerce */
body.single-product
.related.products ul.products::before,
body.single-product
.related.products ul.products::after {
    display: none !important;
    content: none !important;
}


body.single-product
.related.products ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;

    padding: 0 0 20px !important;

    background: var(--namipan-cream);

    border: 1px solid var(--namipan-border);
    border-radius: 9px;

    overflow: hidden;
}


/* Immagine related */

body.single-product
.related.products li.product img {
    width: 100% !important;

    margin: 0 0 18px !important;
}


/* Titolo related */

body.single-product
.related.products .woocommerce-loop-product__title {
    font-family: "Fraunces", serif !important;

    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;

    color: var(--namipan-dark) !important;

    padding: 0 16px !important;
}


/* Prezzo related */

body.single-product
.related.products .price {
    font-family: "DM Sans", sans-serif !important;

    font-size: 15px !important;
    font-weight: 600 !important;

    color: var(--namipan-green) !important;

    padding: 0 16px !important;
}


/* Pulsante related */

body.single-product
.related.products .button {
    display: block;

    margin: 15px 16px 0 !important;
    padding: 13px 15px !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;

    letter-spacing: .07em;
    text-transform: uppercase;
    text-align: center;

    color: #fff !important;

    background: var(--namipan-green) !important;

    border-radius: 4px !important;
}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 1024px) {

    body.single-product #primary {
        padding-left: 22px;
        padding-right: 22px;
    }

    body.single-product
    .summary.entry-summary {
        padding-left: 20px;
    }

    body.single-product
    .related.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 767px) {

    body.single-product #primary {
        padding: 20px 16px 60px;
    }

    body.single-product
    .summary.entry-summary {
        padding: 20px 0 0;
    }

    body.single-product
    .product_title.entry-title {
        font-size: 34px !important;
    }

    body.single-product
    .summary .price {
        font-size: 22px !important;
    }


    /* Add to cart */

    body.single-product
    .woocommerce-variation-add-to-cart {
        flex-wrap: wrap;
    }

    body.single-product .quantity {
        width: 100%;
    }

    body.single-product
    .quantity .qty {
        width: 100%;
    }

    body.single-product
    .single_add_to_cart_button {
        width: 100%;
        flex-basis: 100%;
    }


    /* Tabs scrollabili */

    body.single-product
    .woocommerce-tabs ul.tabs {
        overflow-x: auto;

        gap: 25px;

        white-space: nowrap;
    }


    /* Related */

    body.single-product
    .related.products ul.products {
        grid-template-columns: 1fr;
    }

}
/* =========================================
   FIX SFONDO TABELLA VARIAZIONI
   ========================================= */

body.single-product table.variations,
body.single-product table.variations tbody,
body.single-product table.variations tr,
body.single-product table.variations th,
body.single-product table.variations td,
body.single-product table.variations .label,
body.single-product table.variations .value {
    background: transparent !important;
    background-color: transparent !important;
}

/* =========================================
   ALLINEAMENTO VARIAZIONE
   ========================================= */

body.single-product table.variations tr {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    align-items: start;
}

body.single-product table.variations th.label {
    display: flex !important;
    align-items: center;
    min-height: 52px;

    padding: 0 !important;
    margin: 0 !important;
}

body.single-product table.variations td.value {
    padding: 0 !important;
    margin: 0 !important;
}

/* Select */
body.single-product table.variations select {
    height: 52px;
    margin: 0 !important;
}

/* Il link "Clear" non deve influenzare l'allineamento */
body.single-product table.variations .reset_variations {
    position: absolute;
}

/* Mobile */
@media (max-width: 767px) {

    body.single-product table.variations tr {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body.single-product table.variations th.label {
        min-height: auto;
    }
}

/* =========================================
   MESSAGGIO NESSUNA SPEDIZIONE FUORI EUROPA
   ========================================= */

.namipan-no-shipping {
    background: #F4F0E8;
    border: 1px solid #D8D1C4;
    border-radius: 8px;
    padding: 22px;
    font-family: "DM Sans", sans-serif;
    color: #3F3D38;
}

.namipan-no-shipping strong {
    display: block;
    font-family: "Fraunces", serif;
    font-size: 22px;
    font-weight: 500;
    color: #1C1B18;
    margin-bottom: 8px;
}

.namipan-no-shipping p {
    margin: 0 0 16px;
    line-height: 1.6;
}

.namipan-shipping-contact {
    display: inline-block;
    background: #344126;
    color: #fff !important;
    padding: 13px 18px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .07em;
    text-decoration: none !important;
}

.namipan-shipping-contact:hover {
    background: #465735;
}
/* =========================================================
   NAMIPAN — CART PAGE
   ========================================================= */

body.woocommerce-cart {
    --namipan-dark: #1C1B18;
    --namipan-text: #3F3D38;
    --namipan-muted: #777168;
    --namipan-green: #344126;
    --namipan-green-hover: #465735;
    --namipan-cream: #FAF7F0;
    --namipan-sand: #F4F0E8;
    --namipan-border: #D8D1C4;
}


/* CONTENITORE */

body.woocommerce-cart #content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 28px 90px;
}


/* TITOLO */

body.woocommerce-cart .page-header {
    margin-bottom: 45px;
}

body.woocommerce-cart .entry-title {
    font-family: "Fraunces", serif !important;
    font-size: 44px !important;
    font-weight: 500 !important;
    line-height: 1.15;
    letter-spacing: -0.02em;

    color: var(--namipan-dark);
}


/* =========================================================
   TABELLA CARRELLO
   ========================================================= */

body.woocommerce-cart
table.shop_table.cart {
    border: 1px solid var(--namipan-border) !important;
    border-radius: 9px !important;

    overflow: hidden;

    background: #fff;
}


/* Header tabella */

body.woocommerce-cart
table.shop_table.cart thead th {
    font-family: "DM Sans", sans-serif !important;

    font-size: 12px !important;
    font-weight: 600 !important;

    letter-spacing: .07em;
    text-transform: uppercase;

    color: var(--namipan-muted);

    background: var(--namipan-sand);

    border: 0 !important;
    border-bottom: 1px solid var(--namipan-border) !important;

    padding: 15px 18px !important;
}


/* Celle */

body.woocommerce-cart
table.shop_table.cart td {
    font-family: "DM Sans", sans-serif;

    color: var(--namipan-text);

    border: 0 !important;
    border-bottom: 1px solid var(--namipan-border) !important;

    padding: 20px 18px !important;

    vertical-align: middle;
}


/* Immagine */

body.woocommerce-cart
.product-thumbnail img {
    width: 95px !important;
    height: 95px !important;

    object-fit: cover;

    border-radius: 7px;
}


/* Nome prodotto */

body.woocommerce-cart
.product-name > a {
    font-family: "Fraunces", serif;

    font-size: 19px;
    font-weight: 500;

    color: var(--namipan-dark);

    text-decoration: none;
}

body.woocommerce-cart
.product-name > a:hover {
    color: var(--namipan-green);
}


/* Variazione 432 / 440 */

body.woocommerce-cart
.product-name dl.variation {
    display: flex;
    gap: 5px;

    margin-top: 7px !important;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;

    color: var(--namipan-muted);
}

body.woocommerce-cart
.product-name dl.variation dt,
body.woocommerce-cart
.product-name dl.variation dd,
body.woocommerce-cart
.product-name dl.variation p {
    margin: 0 !important;
}


/* Prezzi */

body.woocommerce-cart
.product-price,
body.woocommerce-cart
.product-subtotal {
    font-family: "DM Sans", sans-serif !important;

    font-size: 15px;
    font-weight: 600;

    color: var(--namipan-green) !important;
}


/* Quantity */

body.woocommerce-cart
.quantity .qty {
    width: 68px;
    height: 46px;

    font-family: "DM Sans", sans-serif;

    text-align: center;

    border: 1px solid var(--namipan-border);
    border-radius: 5px;

    background: #fff;
}


/* X remove */

body.woocommerce-cart
.product-remove .remove {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 32px !important;
    height: 32px !important;

    font-size: 20px !important;
    font-weight: 400 !important;

    color: var(--namipan-muted) !important;

    border: 1px solid var(--namipan-border);
    border-radius: 50%;

    text-decoration: none !important;
}

body.woocommerce-cart
.product-remove .remove:hover {
    color: #fff !important;
    background: var(--namipan-green) !important;
    border-color: var(--namipan-green);
}


/* =========================================================
   COUPON + UPDATE CART
   ========================================================= */

body.woocommerce-cart
table.cart td.actions {
    background: var(--namipan-cream);

    padding: 18px !important;
}

body.woocommerce-cart
.coupon {
    display: flex;
    gap: 8px;
}

body.woocommerce-cart
.coupon #coupon_code {
    min-width: 180px;

    height: 46px;

    font-family: "DM Sans", sans-serif;

    border: 1px solid var(--namipan-border);
    border-radius: 5px;

    padding: 0 14px;
}


/* Bottoni secondari */

body.woocommerce-cart
.actions .button {
    min-height: 46px;

    font-family: "DM Sans", sans-serif !important;

    font-size: 11px !important;
    font-weight: 600 !important;

    letter-spacing: .07em;
    text-transform: uppercase;

    color: var(--namipan-green) !important;

    background: transparent !important;

    border: 1px solid var(--namipan-green) !important;
    border-radius: 4px !important;

    padding: 12px 18px !important;
}

body.woocommerce-cart
.actions .button:hover {
    color: #fff !important;
    background: var(--namipan-green) !important;
}


/* =========================================================
   TOTALI
   ========================================================= */

body.woocommerce-cart
.cart-collaterals {
    margin-top: 50px;
}

body.woocommerce-cart
.cart_totals {
    float: right;

    width: 46% !important;

    background: var(--namipan-cream);

    border: 1px solid var(--namipan-border);
    border-radius: 10px;

    padding: 30px;
}


/* Titolo Cart totals */

body.woocommerce-cart
.cart_totals h2 {
    font-family: "Fraunces", serif !important;

    font-size: 28px !important;
    font-weight: 500 !important;

    color: var(--namipan-dark);

    margin: 0 0 22px !important;
}


/* Tabella totali */

body.woocommerce-cart
.cart_totals table {
    border: 0 !important;
}

body.woocommerce-cart
.cart_totals th,
body.woocommerce-cart
.cart_totals td {
    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    padding: 14px 0 !important;

    border: 0 !important;
    border-bottom: 1px solid var(--namipan-border) !important;
}


/* Total finale */

body.woocommerce-cart
.order-total th,
body.woocommerce-cart
.order-total td {
    font-size: 18px !important;
    font-weight: 600 !important;

    color: var(--namipan-dark);
}

body.woocommerce-cart
.order-total .amount {
    color: var(--namipan-green);
}


/* =========================================================
   SPEDIZIONE
   ========================================================= */

body.woocommerce-cart
#shipping_method {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none;
}

body.woocommerce-cart
.woocommerce-shipping-destination {
    font-size: 12px;

    color: var(--namipan-muted);

    margin: 8px 0 !important;
}

body.woocommerce-cart
.shipping-calculator-button {
    font-family: "DM Sans", sans-serif;

    font-size: 12px;
    font-weight: 600;

    color: var(--namipan-green);

    text-decoration: underline;
}


/* =========================================================
   CHECKOUT CTA
   ========================================================= */

body.woocommerce-cart
.wc-proceed-to-checkout {
    padding: 22px 0 0 !important;
}

body.woocommerce-cart
.checkout-button {
    display: block !important;

    width: 100%;

    font-family: "DM Sans", sans-serif !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    letter-spacing: .08em;
    text-transform: uppercase;

    text-align: center;

    color: #fff !important;

    background: var(--namipan-green) !important;

    border: 1px solid var(--namipan-green) !important;
    border-radius: 5px !important;

    padding: 18px 24px !important;

    transition:
        background .2s ease,
        transform .2s ease;
}

body.woocommerce-cart
.checkout-button:hover {
    background: var(--namipan-green-hover) !important;

    transform: translateY(-1px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    body.woocommerce-cart #content {
        padding: 35px 16px 60px;
    }

    body.woocommerce-cart .entry-title {
        font-size: 36px !important;
    }

    body.woocommerce-cart
    .cart_totals {
        float: none;

        width: 100% !important;

        padding: 22px;
    }

    body.woocommerce-cart
    .coupon {
        flex-direction: column;
    }

    body.woocommerce-cart
    .coupon #coupon_code {
        width: 100% !important;
    }

    body.woocommerce-cart
    table.cart td.actions .button {
        width: 100% !important;

        margin-top: 8px;
    }

}

/* Footer eliminato */
body.woocommerce-cart #site-footer {
    display: none !important;
}

/* =========================================================
   NAMIPAN — CHECKOUT
   ========================================================= */

body.woocommerce-checkout {
    --namipan-dark: #1C1B18;
    --namipan-text: #3F3D38;
    --namipan-muted: #777168;
    --namipan-green: #344126;
    --namipan-green-hover: #465735;
    --namipan-cream: #FAF7F0;
    --namipan-sand: #F4F0E8;
    --namipan-border: #D8D1C4;
}


body.woocommerce-checkout #site-footer {
    display: none !important;
}


/* =========================================================
   CONTENITORE
   ========================================================= */

body.woocommerce-checkout #content {
    max-width: 1240px;

    margin: 0 auto;

    padding: 60px 28px 90px;
}


/* =========================================================
   TITOLO PAGINA
   ========================================================= */

body.woocommerce-checkout .page-header {
    margin-bottom: 42px;
}

body.woocommerce-checkout .entry-title {
    font-family: "Fraunces", serif !important;

    font-size: 44px !important;
    font-weight: 500 !important;
    line-height: 1.15;

    letter-spacing: -0.02em;

    color: var(--namipan-dark);
}


/* =========================================================
   COUPON
   ========================================================= */

body.woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin-bottom: 28px;
}

body.woocommerce-checkout .woocommerce-info {
    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    color: var(--namipan-text);

    background: var(--namipan-cream) !important;

    border: 1px solid var(--namipan-border);
    border-top: 1px solid var(--namipan-border) !important;
    border-radius: 7px;

    padding: 16px 18px !important;
}

body.woocommerce-checkout .woocommerce-info::before {
    color: var(--namipan-green) !important;
}

body.woocommerce-checkout .woocommerce-info a {
    color: var(--namipan-green);

    font-weight: 600;

    text-decoration: underline;
    text-underline-offset: 3px;
}


/* Coupon aperto */

body.woocommerce-checkout
form.checkout_coupon {
    margin: -10px 0 30px !important;

    padding: 20px !important;

    border: 1px solid var(--namipan-border) !important;
    border-radius: 7px !important;

    background: #fff;
}

body.woocommerce-checkout
form.checkout_coupon .input-text {
    height: 48px;

    border: 1px solid var(--namipan-border);
    border-radius: 5px;

    padding: 0 14px;
}

body.woocommerce-checkout
form.checkout_coupon .button {
    min-height: 48px;

    font-family: "DM Sans", sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;

    letter-spacing: .06em;
    text-transform: uppercase;

    color: var(--namipan-green) !important;
    background: transparent !important;

    border: 1px solid var(--namipan-green) !important;
    border-radius: 5px !important;
}


/* =========================================================
   DATI CLIENTE — DUE COLONNE
   ========================================================= */

body.woocommerce-checkout #customer_details {
    display: grid !important;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 55px;

    margin-bottom: 65px;
}

body.woocommerce-checkout #customer_details::before,
body.woocommerce-checkout #customer_details::after {
    display: none !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    float: none !important;

    width: 100% !important;

    margin: 0 !important;
}


/* =========================================================
   TITOLI SEZIONI
   ========================================================= */

body.woocommerce-checkout
.woocommerce-billing-fields > h3,
body.woocommerce-checkout
#ship-to-different-address,
body.woocommerce-checkout
#order_review_heading {
    font-family: "Fraunces", serif !important;

    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 1.25;

    color: var(--namipan-dark);

    margin: 0 0 25px !important;
}


/* =========================================================
   LABEL
   ========================================================= */

body.woocommerce-checkout
.woocommerce form .form-row label {
    font-family: "DM Sans", sans-serif;

    font-size: 13px;
    font-weight: 600;

    color: var(--namipan-dark);

    margin-bottom: 7px;
}

body.woocommerce-checkout
.woocommerce form .form-row .required {
    color: var(--namipan-green);
}


/* optional */

body.woocommerce-checkout .optional {
    font-weight: 400;

    color: var(--namipan-muted);
}


/* =========================================================
   CAMPI
   ========================================================= */

body.woocommerce-checkout
.woocommerce form .form-row input.input-text,
body.woocommerce-checkout
.woocommerce form .form-row textarea {
    width: 100%;

    font-family: "DM Sans", sans-serif;

    font-size: 15px;

    color: var(--namipan-dark);

    background: #fff;

    border: 1px solid var(--namipan-border);
    border-radius: 5px;

    padding: 13px 14px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


/* altezza input */

body.woocommerce-checkout
.woocommerce form .form-row input.input-text {
    min-height: 50px;
}


/* Focus */

body.woocommerce-checkout
.woocommerce form .form-row input.input-text:focus,
body.woocommerce-checkout
.woocommerce form .form-row textarea:focus {
    border-color: var(--namipan-green);

    box-shadow: 0 0 0 3px rgba(52,65,38,.08);
}


/* Spaziatura */

body.woocommerce-checkout
.woocommerce form .form-row {
    margin: 0 0 18px !important;
}


/* =========================================================
   SELECT / SELECT2
   ========================================================= */

body.woocommerce-checkout
.select2-container .select2-selection--single {
    height: 50px !important;

    border: 1px solid var(--namipan-border) !important;
    border-radius: 5px !important;

    background: #fff !important;
}

body.woocommerce-checkout
.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    height: 50px;

    line-height: 50px !important;

    padding-left: 14px !important;

    font-family: "DM Sans", sans-serif;

    font-size: 15px;

    color: var(--namipan-dark) !important;
}

body.woocommerce-checkout
.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 48px !important;

    right: 8px !important;
}


/* =========================================================
   SPEDIRE A INDIRIZZO DIFFERENTE
   ========================================================= */

body.woocommerce-checkout
#ship-to-different-address label {
    display: flex;

    align-items: center;

    gap: 10px;

    cursor: pointer;
}

body.woocommerce-checkout
#ship-to-different-address input {
    width: 18px;
    height: 18px;

    accent-color: var(--namipan-green);
}


/* =========================================================
   NOTE ORDINE
   ========================================================= */

body.woocommerce-checkout #order_comments {
    min-height: 130px;

    resize: vertical;
}


/* =========================================================
   RIEPILOGO ORDINE
   ========================================================= */

body.woocommerce-checkout
#order_review_heading {
    margin-top: 10px !important;
}

body.woocommerce-checkout
#order_review {
    display: grid;

    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);

    gap: 35px;

    align-items: start;
}


/* =========================================================
   TABELLA ORDINE
   ========================================================= */

body.woocommerce-checkout
.woocommerce-checkout-review-order-table {
    width: 100%;

    border: 1px solid var(--namipan-border) !important;
    border-radius: 9px !important;

    overflow: hidden;

    background: #fff;
}


/* header */

body.woocommerce-checkout
.woocommerce-checkout-review-order-table thead th {
    font-family: "DM Sans", sans-serif !important;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: .07em;
    text-transform: uppercase;

    color: var(--namipan-muted);

    background: var(--namipan-sand);

    border: 0 !important;
    border-bottom: 1px solid var(--namipan-border) !important;

    padding: 15px 18px !important;
}


/* celle */

body.woocommerce-checkout
.woocommerce-checkout-review-order-table td,
body.woocommerce-checkout
.woocommerce-checkout-review-order-table tfoot th {
    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    color: var(--namipan-text);

    padding: 16px 18px !important;

    border: 0 !important;
    border-bottom: 1px solid var(--namipan-border) !important;
}


/* nome prodotto */

body.woocommerce-checkout
.woocommerce-checkout-review-order-table .product-name {
    color: var(--namipan-dark);
}


/* variazione */

body.woocommerce-checkout
.woocommerce-checkout-review-order-table dl.variation {
    margin: 7px 0 0 !important;

    font-size: 12px;

    color: var(--namipan-muted);
}

body.woocommerce-checkout
.woocommerce-checkout-review-order-table dl.variation dt,
body.woocommerce-checkout
.woocommerce-checkout-review-order-table dl.variation dd,
body.woocommerce-checkout
.woocommerce-checkout-review-order-table dl.variation p {
    margin: 0 !important;
}


/* Prezzi */

body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.amount {
    font-weight: 600;

    color: var(--namipan-green);
}


/* Totale */

body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.order-total th,
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.order-total td {
    font-size: 18px;

    color: var(--namipan-dark);
}


/* =========================================================
   METODO SPEDIZIONE
   ========================================================= */

body.woocommerce-checkout
#shipping_method {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none;
}

body.woocommerce-checkout
#shipping_method label {
    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    color: var(--namipan-text);
}


/* =========================================================
   PAGAMENTO
   ========================================================= */

body.woocommerce-checkout
#payment {
    background: var(--namipan-cream) !important;

    border: 1px solid var(--namipan-border);
    border-radius: 9px;

    overflow: hidden;
}

body.woocommerce-checkout
#payment ul.payment_methods {
    margin: 0 !important;

    padding: 22px !important;

    border-bottom: 1px solid var(--namipan-border) !important;
}

body.woocommerce-checkout
#payment ul.payment_methods li {
    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    color: var(--namipan-text);
}


/* Radio */

body.woocommerce-checkout
#payment input[type="radio"] {
    accent-color: var(--namipan-green);
}


/* box descrizione metodo pagamento */

body.woocommerce-checkout
#payment div.payment_box {
    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    line-height: 1.6;

    color: var(--namipan-text);

    background: var(--namipan-sand) !important;

    border-radius: 5px;
}

body.woocommerce-checkout
#payment div.payment_box::before {
    border-bottom-color: var(--namipan-sand) !important;
}


/* =========================================================
   PLACE ORDER
   ========================================================= */

body.woocommerce-checkout
#payment .place-order {
    padding: 22px !important;

    margin: 0 !important;
}

body.woocommerce-checkout
#place_order {
    width: 100%;

    min-height: 55px;

    font-family: "DM Sans", sans-serif !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    letter-spacing: .08em;
    text-transform: uppercase;

    color: #fff !important;

    background: var(--namipan-green) !important;

    border: 1px solid var(--namipan-green) !important;
    border-radius: 5px !important;

    padding: 17px 22px !important;

    transition:
        background .2s ease,
        transform .2s ease;
}

body.woocommerce-checkout
#place_order:hover {
    background: var(--namipan-green-hover) !important;

    transform: translateY(-1px);
}


/* =========================================================
   ERRORI
   ========================================================= */

body.woocommerce-checkout
.woocommerce-error {
    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    color: #7B332C;

    background: #FAF3F1 !important;

    border: 1px solid #D7B6B1 !important;
    border-top: 1px solid #D7B6B1 !important;
    border-radius: 7px;

    padding: 16px 20px 16px 45px !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    body.woocommerce-checkout #customer_details {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    body.woocommerce-checkout #order_review {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 767px) {

    body.woocommerce-checkout #content {
        padding: 35px 16px 60px;
    }

    body.woocommerce-checkout .entry-title {
        font-size: 36px !important;
    }

    body.woocommerce-checkout
    .woocommerce-billing-fields > h3,
    body.woocommerce-checkout
    #ship-to-different-address,
    body.woocommerce-checkout
    #order_review_heading {
        font-size: 25px !important;
    }

    body.woocommerce-checkout
    .form-row-first,
    body.woocommerce-checkout
    .form-row-last {
        float: none !important;

        width: 100% !important;
    }

}
/* =========================================================
   NAMIPAN — WOOCOMMERCE CATEGORY ARCHIVE
   ========================================================= */

body.tax-product_cat {
    --namipan-dark: #1C1B18;
    --namipan-text: #3F3D38;
    --namipan-muted: #777168;
    --namipan-green: #344126;
    --namipan-green-hover: #465735;
    --namipan-cream: #FAF7F0;
    --namipan-sand: #F4F0E8;
    --namipan-border: #D8D1C4;
}


/* =========================================================
   CONTENITORE GENERALE
   ========================================================= */

body.tax-product_cat #primary {
    width: 100%;
}

body.tax-product_cat #main {
    max-width: 1240px;

    margin: 0 auto;

    padding: 42px 28px 90px;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

body.tax-product_cat .woocommerce-breadcrumb {
    margin: 0 0 28px !important;

    font-family: "DM Sans", sans-serif !important;

    font-size: 13px !important;
    font-weight: 400;

    line-height: 1.5;

    color: var(--namipan-muted) !important;
}

body.tax-product_cat .woocommerce-breadcrumb a {
    color: var(--namipan-muted) !important;

    text-decoration: none !important;

    transition: color .2s ease;
}

body.tax-product_cat .woocommerce-breadcrumb a:hover {
    color: var(--namipan-green) !important;
}


/* =========================================================
   HEADER CATEGORIA
   ========================================================= */

body.tax-product_cat .woocommerce-products-header {
    margin: 0 0 38px !important;
    padding: 0 !important;
}

body.tax-product_cat
.woocommerce-products-header__title {
    margin: 0 !important;

    font-family: "Fraunces", serif !important;

    font-size: 48px !important;
    font-weight: 500 !important;

    line-height: 1.1;

    letter-spacing: -0.02em;

    color: var(--namipan-dark) !important;
}


/* Descrizione categoria, se la aggiungerai */

body.tax-product_cat
.woocommerce-products-header
.term-description {
    max-width: 760px;

    margin-top: 18px;

    font-family: "DM Sans", sans-serif;

    font-size: 16px;

    line-height: 1.7;

    color: var(--namipan-text);
}

body.tax-product_cat
.woocommerce-products-header
.term-description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   BARRA RISULTATI + ORDINAMENTO
   ========================================================= */

body.tax-product_cat
.woocommerce-result-count {
    float: left !important;

    margin: 0 0 30px !important;

    font-family: "DM Sans", sans-serif !important;

    font-size: 13px !important;
    font-weight: 400;

    line-height: 46px;

    color: var(--namipan-muted) !important;
}

body.tax-product_cat
.woocommerce-ordering {
    float: right !important;

    margin: 0 0 30px !important;
}


/* Select ordinamento */

body.tax-product_cat
.woocommerce-ordering select {
    min-width: 220px;

    height: 46px;

    padding: 0 38px 0 14px;

    font-family: "DM Sans", sans-serif !important;

    font-size: 13px !important;
    font-weight: 500;

    color: var(--namipan-text);

    background-color: #FFFFFF;

    border: 1px solid var(--namipan-border);
    border-radius: 5px;

    outline: none;

    cursor: pointer;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

body.tax-product_cat
.woocommerce-ordering select:hover,
body.tax-product_cat
.woocommerce-ordering select:focus {
    border-color: var(--namipan-green);

    box-shadow:
        0 0 0 3px rgba(52, 65, 38, .06);
}


/* =========================================================
   CLEARFIX CONTROLLI
   ========================================================= */

body.tax-product_cat
.woocommerce-ordering + ul.products,
body.tax-product_cat
.woocommerce-result-count + .woocommerce-ordering {
    clear: none;
}


/* =========================================================
   GRID PRODOTTI
   ========================================================= */

body.tax-product_cat ul.products {
    clear: both;

    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 38px 24px;

    width: 100%;

    margin: 0 !important;
    padding: 0 !important;
}


/* IMPORTANTE:
   rimuove i pseudo-elementi WooCommerce che possono
   occupare una cella invisibile della grid */

body.tax-product_cat
ul.products::before,

body.tax-product_cat
ul.products::after {
    content: none !important;

    display: none !important;
}


/* =========================================================
   CARD PRODOTTO
   ========================================================= */

body.tax-product_cat
ul.products li.product {
    float: none !important;

    width: auto !important;

    margin: 0 !important;

    padding: 0 0 22px !important;

    background: var(--namipan-cream);

    border: 1px solid var(--namipan-border);

    border-radius: 10px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

body.tax-product_cat
ul.products li.product:hover {
    transform: translateY(-4px);

    border-color: #C8BDAA;

    box-shadow:
        0 14px 34px
        rgba(28, 27, 24, .08);
}


/* =========================================================
   LINK PRODOTTO
   ========================================================= */

body.tax-product_cat
ul.products li.product
.woocommerce-LoopProduct-link {
    display: block;

    color: inherit !important;

    text-decoration: none !important;
}


/* =========================================================
   IMMAGINE
   ========================================================= */

body.tax-product_cat
ul.products li.product a img {
    display: block;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    margin: 0 0 22px !important;

    background: var(--namipan-sand);

    transition:
        transform .5s ease;
}

body.tax-product_cat
ul.products li.product:hover a img {
    transform: scale(1.025);
}


/* =========================================================
   TITOLO PRODOTTO
   ========================================================= */

body.tax-product_cat
.woocommerce-loop-product__title {
    padding: 0 20px !important;

    margin: 0 0 10px !important;

    font-family: "Fraunces", serif !important;

    font-size: 21px !important;
    font-weight: 500 !important;

    line-height: 1.3 !important;

    letter-spacing: -0.01em;

    color: var(--namipan-dark) !important;
}


/* =========================================================
   PREZZO
   ========================================================= */

body.tax-product_cat
ul.products li.product .price {
    display: block;

    padding: 0 20px !important;

    margin: 0 0 18px !important;

    font-family: "DM Sans", sans-serif !important;

    font-size: 17px !important;
    font-weight: 600 !important;

    line-height: 1.4;

    color: var(--namipan-green) !important;
}

body.tax-product_cat
ul.products li.product
.price .amount {
    color: inherit !important;
}


/* =========================================================
   BOTTONE
   ========================================================= */

body.tax-product_cat
ul.products li.product .button {
    display: block;

    margin: auto 20px 0 !important;

    padding: 15px 18px !important;

    font-family: "DM Sans", sans-serif !important;

    font-size: 12px !important;
    font-weight: 600 !important;

    line-height: 1 !important;

    letter-spacing: .08em;

    text-transform: uppercase;

    text-align: center;

    color: #FFFFFF !important;

    background:
        var(--namipan-green) !important;

    border:
        1px solid
        var(--namipan-green) !important;

    border-radius: 4px !important;

    text-decoration: none !important;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

body.tax-product_cat
ul.products li.product .button:hover {
    color: #FFFFFF !important;

    background:
        var(--namipan-green-hover) !important;

    border-color:
        var(--namipan-green-hover) !important;

    transform: translateY(-1px);
}


/* =========================================================
   PAGINAZIONE
   ========================================================= */

body.tax-product_cat
.woocommerce-pagination {
    margin-top: 55px;
}

body.tax-product_cat
.woocommerce-pagination ul.page-numbers {
    display: flex !important;

    justify-content: center;

    gap: 7px;

    margin: 0 !important;

    padding: 0 !important;

    border: 0 !important;
}

body.tax-product_cat
.woocommerce-pagination
ul.page-numbers li {
    border: 0 !important;
}

body.tax-product_cat
.woocommerce-pagination
.page-numbers a,

body.tax-product_cat
.woocommerce-pagination
.page-numbers span {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 40px;
    height: 40px;

    padding: 0 12px !important;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    color: var(--namipan-text);

    background: transparent;

    border: 1px solid var(--namipan-border);

    border-radius: 4px;

    text-decoration: none;
}

body.tax-product_cat
.woocommerce-pagination
.page-numbers .current {
    color: #FFFFFF !important;

    background:
        var(--namipan-green) !important;

    border-color:
        var(--namipan-green) !important;
}

body.tax-product_cat
.woocommerce-pagination
.page-numbers a:hover {
    color: #FFFFFF !important;

    background:
        var(--namipan-green-hover) !important;

    border-color:
        var(--namipan-green-hover) !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    body.tax-product_cat #main {
        padding:
            38px 24px 75px;
    }

    body.tax-product_cat
    .woocommerce-products-header__title {
        font-size: 42px !important;
    }

    body.tax-product_cat
    ul.products {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 30px 20px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body.tax-product_cat #main {
        padding:
            28px 16px 60px;
    }

    body.tax-product_cat
    .woocommerce-breadcrumb {
        margin-bottom: 20px !important;
    }

    body.tax-product_cat
    .woocommerce-products-header {
        margin-bottom: 28px !important;
    }

    body.tax-product_cat
    .woocommerce-products-header__title {
        font-size: 36px !important;
    }


    /* risultato + select uno sotto l'altro */

    body.tax-product_cat
    .woocommerce-result-count,

    body.tax-product_cat
    .woocommerce-ordering {
        float: none !important;

        width: 100%;

        margin-bottom: 15px !important;
    }

    body.tax-product_cat
    .woocommerce-result-count {
        line-height: 1.5;
    }

    body.tax-product_cat
    .woocommerce-ordering select {
        width: 100%;
    }


    /* Grid */

    body.tax-product_cat
    ul.products {
        grid-template-columns: 1fr;

        gap: 26px;
    }

    body.tax-product_cat
    .woocommerce-loop-product__title {
        font-size: 22px !important;
    }

}
/* =========================================
   NAMIPAN — HEADER CART
   ========================================= */

.namipan-header-cart {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    color: #344126;

    text-decoration: none !important;
}

.namipan-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.namipan-cart-icon svg {
    width: 35px;
    height: 35px;
}


/* Numerino */

.namipan-cart-count {
    position: absolute;

    top: 0;
    right: -2px;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 18px;
    height: 18px;

    padding: 0 5px;

    border-radius: 20px;

    background: #344126;

    color: #fff;

    font-family: "DM Sans", sans-serif;

    font-size: 10px;
    font-weight: 600;

    line-height: 1;
}


/* Se il carrello è vuoto non mostra il badge */

.namipan-cart-count.is-empty {
    display: none;
}


/* Hover */

.namipan-header-cart:hover {
    color: #465735;
}
/* =========================================================
   NAMIPAN — ARCHIVI WOOCOMMERCE ATTRIBUTI / TASSONOMIE
   ========================================================= */

body.woocommerce main.site-main {
    --namipan-dark: #1C1B18;
    --namipan-text: #3F3D38;
    --namipan-muted: #777168;
    --namipan-green: #344126;
    --namipan-green-hover: #465735;
    --namipan-cream: #FAF7F0;
    --namipan-sand: #F4F0E8;
    --namipan-border: #D8D1C4;
}


/* =========================================================
   CONTENITORE
   ========================================================= */

body.woocommerce main.site-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 42px 28px 90px;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

body.woocommerce main.site-main > .woocommerce-breadcrumb {
    margin: 0 0 28px !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5;

    color: var(--namipan-muted) !important;
}

body.woocommerce main.site-main > .woocommerce-breadcrumb a {
    color: var(--namipan-muted) !important;
    text-decoration: none !important;

    transition: color .2s ease;
}

body.woocommerce main.site-main > .woocommerce-breadcrumb a:hover {
    color: var(--namipan-green) !important;
}


/* =========================================================
   HEADER ARCHIVIO
   ========================================================= */

body.woocommerce main.site-main > .woocommerce-products-header {
    margin: 0 0 38px !important;
    padding: 0 !important;
}

body.woocommerce main.site-main
> .woocommerce-products-header
.woocommerce-products-header__title {
    margin: 0 !important;

    font-family: "Fraunces", serif !important;
    font-size: 48px !important;
    font-weight: 500 !important;
    line-height: 1.1;

    letter-spacing: -0.02em;

    color: var(--namipan-dark) !important;
}


/* eventuale descrizione */

body.woocommerce main.site-main
> .woocommerce-products-header
.term-description {
    max-width: 760px;

    margin-top: 18px;

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;

    color: var(--namipan-text);
}


/* =========================================================
   RISULTATI + ORDINAMENTO
   ========================================================= */

body.woocommerce main.site-main > .woocommerce-result-count {
    float: left !important;

    margin: 0 0 30px !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 13px !important;
    font-weight: 400;

    line-height: 46px;

    color: var(--namipan-muted) !important;
}


body.woocommerce main.site-main > .woocommerce-ordering {
    float: right !important;

    margin: 0 0 30px !important;
}


/* Select */

body.woocommerce main.site-main
> .woocommerce-ordering select {
    min-width: 220px;
    height: 46px;

    padding: 0 38px 0 14px;

    font-family: "DM Sans", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500;

    color: var(--namipan-text);

    background: #fff;

    border: 1px solid var(--namipan-border);
    border-radius: 5px;

    outline: none;
    cursor: pointer;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

body.woocommerce main.site-main
> .woocommerce-ordering select:hover,

body.woocommerce main.site-main
> .woocommerce-ordering select:focus {
    border-color: var(--namipan-green);

    box-shadow:
        0 0 0 3px rgba(52,65,38,.06);
}


/* =========================================================
   GRID PRODOTTI
   ========================================================= */

body.woocommerce main.site-main > ul.products {
    clear: both;

    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 38px 24px;

    width: 100%;

    margin: 0 !important;
    padding: 0 !important;
}


/* Rimuove i clearfix WooCommerce */

body.woocommerce main.site-main > ul.products::before,
body.woocommerce main.site-main > ul.products::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   CARD
   ========================================================= */

body.woocommerce main.site-main
> ul.products
> li.product {
    float: none !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 0 22px !important;

    background: var(--namipan-cream);

    border: 1px solid var(--namipan-border);
    border-radius: 10px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


body.woocommerce main.site-main
> ul.products
> li.product:hover {
    transform: translateY(-4px);

    border-color: #C8BDAA;

    box-shadow:
        0 14px 34px rgba(28,27,24,.08);
}


/* =========================================================
   LINK PRINCIPALE
   ========================================================= */

body.woocommerce main.site-main
> ul.products
> li.product
> .woocommerce-LoopProduct-link {
    display: block;

    color: inherit !important;

    text-decoration: none !important;
}


/* =========================================================
   IMMAGINE
   ========================================================= */

body.woocommerce main.site-main
> ul.products
> li.product img {
    display: block;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    margin: 0 0 22px !important;

    background: var(--namipan-sand);

    transition: transform .5s ease;
}


body.woocommerce main.site-main
> ul.products
> li.product:hover img {
    transform: scale(1.025);
}


/* =========================================================
   TITOLO
   ========================================================= */

body.woocommerce main.site-main
> ul.products
.woocommerce-loop-product__title {
    padding: 0 20px !important;

    margin: 0 0 10px !important;

    font-family: "Fraunces", serif !important;

    font-size: 21px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;

    letter-spacing: -0.01em;

    color: var(--namipan-dark) !important;
}


/* =========================================================
   PREZZO
   ========================================================= */

body.woocommerce main.site-main
> ul.products
> li.product
.price {
    display: block;

    padding: 0 20px !important;

    margin: 0 0 18px !important;

    font-family: "DM Sans", sans-serif !important;

    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.4;

    color: var(--namipan-green) !important;
}

body.woocommerce main.site-main
> ul.products
> li.product
.price .amount {
    color: inherit !important;
}


/* =========================================================
   BOTTONE
   ========================================================= */

body.woocommerce main.site-main
> ul.products
> li.product
> .button {
    display: block;

    margin: auto 20px 0 !important;

    padding: 15px 18px !important;

    font-family: "DM Sans", sans-serif !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    letter-spacing: .08em;
    text-transform: uppercase;

    text-align: center;

    color: #fff !important;

    background: var(--namipan-green) !important;

    border: 1px solid var(--namipan-green) !important;
    border-radius: 4px !important;

    text-decoration: none !important;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}


body.woocommerce main.site-main
> ul.products
> li.product
> .button:hover {
    color: #fff !important;

    background: var(--namipan-green-hover) !important;

    border-color: var(--namipan-green-hover) !important;

    transform: translateY(-1px);
}


/* =========================================================
   PAGINAZIONE
   ========================================================= */

body.woocommerce main.site-main
> .woocommerce-pagination {
    clear: both;

    margin-top: 55px;
}


body.woocommerce main.site-main
> .woocommerce-pagination
ul.page-numbers {
    display: flex !important;

    justify-content: center;

    gap: 7px;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}


body.woocommerce main.site-main
> .woocommerce-pagination
ul.page-numbers li {
    border: 0 !important;
}


body.woocommerce main.site-main
> .woocommerce-pagination
.page-numbers a,

body.woocommerce main.site-main
> .woocommerce-pagination
.page-numbers span {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 40px;
    height: 40px;

    padding: 0 12px !important;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;

    color: var(--namipan-text);

    background: transparent;

    border: 1px solid var(--namipan-border);
    border-radius: 4px;

    text-decoration: none;
}


body.woocommerce main.site-main
> .woocommerce-pagination
.page-numbers .current {
    color: #fff !important;

    background: var(--namipan-green) !important;

    border-color: var(--namipan-green) !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    body.woocommerce main.site-main {
        padding: 38px 24px 75px;
    }

    body.woocommerce main.site-main
    > .woocommerce-products-header
    .woocommerce-products-header__title {
        font-size: 42px !important;
    }

    body.woocommerce main.site-main
    > ul.products {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 30px 20px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body.woocommerce main.site-main {
        padding: 28px 16px 60px;
    }


    body.woocommerce main.site-main
    > .woocommerce-breadcrumb {
        margin-bottom: 20px !important;
    }


    body.woocommerce main.site-main
    > .woocommerce-products-header {
        margin-bottom: 28px !important;
    }


    body.woocommerce main.site-main
    > .woocommerce-products-header
    .woocommerce-products-header__title {
        font-size: 36px !important;
    }


    /* Risultati e ordinamento */

    body.woocommerce main.site-main
    > .woocommerce-result-count,

    body.woocommerce main.site-main
    > .woocommerce-ordering {
        float: none !important;

        width: 100%;

        margin-bottom: 15px !important;
    }


    body.woocommerce main.site-main
    > .woocommerce-result-count {
        line-height: 1.5;
    }


    body.woocommerce main.site-main
    > .woocommerce-ordering select {
        width: 100%;
    }


    /* Grid */

    body.woocommerce main.site-main
    > ul.products {
        grid-template-columns: 1fr;

        gap: 26px;
    }


    body.woocommerce main.site-main
    > ul.products
    .woocommerce-loop-product__title {
        font-size: 22px !important;
    }

}
/* =========================================================
   NAMIPAN — EMPTY CART
   ========================================================= */

body.woocommerce-cart .page-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 70px 28px 100px;
}


/* Contenitore stato carrello vuoto */
body.woocommerce-cart .page-content > .woocommerce {
    /*max-width: 760px;*/
    margin: 0 auto;
    text-align: center;
}


/* =========================================================
   MESSAGGI WOOCOMMERCE
   ========================================================= */

body.woocommerce-cart
.woocommerce-notices-wrapper {
    margin: 0 0 28px;
}


/* Messaggio prodotto rimosso */
body.woocommerce-cart
.woocommerce-message {
    position: relative;

    margin: 0 0 16px !important;
    padding: 16px 20px !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6;

    color: #3F3D38 !important;

    background: #FAF7F0 !important;

    border: 1px solid #D8D1C4 !important;
    border-top: 1px solid #D8D1C4 !important;
    border-radius: 7px !important;

    box-shadow: none !important;

    text-align: left;
}


/* elimina icona WooCommerce standard */
body.woocommerce-cart
.woocommerce-message::before {
    display: none !important;
}


/* Link "¿Deshacer?" */
body.woocommerce-cart
.woocommerce-message
.restore-item {
    color: #344126 !important;

    font-weight: 600;

    text-decoration: underline;
    text-underline-offset: 3px;
}

body.woocommerce-cart
.woocommerce-message
.restore-item:hover {
    color: #465735 !important;
}


/* =========================================================
   CARRELLO VUOTO
   ========================================================= */

body.woocommerce-cart
.cart-empty.woocommerce-info {
    position: relative;

    margin: 0 !important;

    padding: 44px 30px 20px !important;

    font-family: "Fraunces", serif !important;

    font-size: clamp(30px, 3vw, 42px) !important;
    font-weight: 500 !important;
    line-height: 1.2;

    letter-spacing: -0.02em;

    color: #1C1B18 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    text-align: center;
}


/* elimina icona/info WooCommerce */
body.woocommerce-cart
.cart-empty.woocommerce-info::before {
    display: none !important;
}


/* linea decorativa sotto il titolo */
body.woocommerce-cart
.cart-empty.woocommerce-info::after {
    content: "";

    display: block;

    width: 44px;
    height: 1px;

    margin: 22px auto 0;

    background: #344126;
}


/* =========================================================
   DIV VUOTO GENERATO DA WOOCOMMERCE
   ========================================================= */

body.woocommerce-cart
.wc-empty-cart-message:empty {
    display: none !important;
}


/* =========================================================
   RETURN TO SHOP
   ========================================================= */

body.woocommerce-cart
.return-to-shop {
    margin: 30px 0 0 !important;

    text-align: center;
}


body.woocommerce-cart
.return-to-shop
.button.wc-backward {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 26px !important;

    font-family: "DM Sans", sans-serif !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    letter-spacing: .08em;

    text-transform: uppercase;

    color: #fff !important;

    background: #344126 !important;

    border: 1px solid #344126 !important;
    border-radius: 4px !important;

    box-shadow: none !important;

    text-decoration: none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


body.woocommerce-cart
.return-to-shop
.button.wc-backward:hover {
    color: #fff !important;

    background: #465735 !important;

    border-color: #465735 !important;

    transform: translateY(-1px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    body.woocommerce-cart
    .page-content {
        padding: 45px 16px 70px;
    }


    body.woocommerce-cart
    .woocommerce-message {
        padding: 14px 16px !important;

        font-size: 13px !important;
    }


    body.woocommerce-cart
    .cart-empty.woocommerce-info {
        padding:
            34px 10px 18px !important;

        font-size: 32px !important;
    }


    body.woocommerce-cart
    .return-to-shop
    .button.wc-backward {
        width: 100%;

        min-height: 52px;
    }

}
/* =========================================================
   NAMIPAN — MESSAGGI WOOCOMMERCE
   ========================================================= */

.woocommerce-message {
    position: relative;

    max-width: 1240px;
    margin: 24px auto !important;

    padding: 18px 190px 18px 22px !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.6;

    color: #3F3D38 !important;

    background: #FAF7F0 !important;

    border: 1px solid #D8D1C4 !important;
    border-top: 1px solid #D8D1C4 !important;
    border-radius: 7px !important;

    box-shadow: none !important;
}


/* Elimina l'icona WooCommerce standard */
.woocommerce-message::before {
    display: none !important;
}


/* =========================================================
   CTA "VER CARRITO"
   ========================================================= */

.woocommerce-message .button.wc-forward {
    position: absolute;

    top: 50%;
    right: 18px;

    transform: translateY(-50%);

    min-height: 42px;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    padding: 0 18px !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    letter-spacing: .07em;
    text-transform: uppercase;

    color: #fff !important;

    background: #344126 !important;

    border: 1px solid #344126 !important;
    border-radius: 4px !important;

    text-decoration: none !important;

    box-shadow: none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.woocommerce-message .button.wc-forward:hover {
    color: #fff !important;

    background: #465735 !important;

    border-color: #465735 !important;

    transform:
        translateY(-50%)
        translateY(-1px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .woocommerce-message {
        margin: 18px 16px !important;

        padding: 16px !important;

        font-size: 13px !important;
    }


    .woocommerce-message .button.wc-forward {
        position: static;

        transform: none;

        width: 100%;

        margin-top: 14px !important;

        min-height: 46px;
    }


    .woocommerce-message .button.wc-forward:hover {
        transform: translateY(-1px);
    }

}