/* Menu account header */
.userinfo-selector .popup-content.account-menu {
    width: 260px;
    min-width: 260px;
    padding: 8px;
    margin-top: 12px;
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(20, 24, 60, 0.14);
}
.userinfo-selector .account-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 26px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-top: 1px solid #e8e8ee;
    border-left: 1px solid #e8e8ee;
    transform: rotate(45deg);
}
.account-menu__guest {
    padding: 14px 12px 10px;
    text-align: center;
}
.account-menu__title {
    display: block;
    font-size: 16px;
    color: #1f2340;
}
.account-menu__text {
    margin: 6px 0 14px;
    font-size: 13px;
    line-height: 1.4;
    color: #6b6f85;
}
.userinfo-selector .popup-content.account-menu a.account-menu__btn,
.userinfo-selector .popup-content.account-menu a.account-menu__btn:visited {
    display: block;
    padding: 11px 16px;
    background: #ba0d0d;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    transition: background 0.2s ease;
}
.userinfo-selector .popup-content.account-menu a.account-menu__btn:hover {
    background: #d60f0f;
    color: #fff !important;
}
.account-menu__register {
    margin: 12px 0 0;
    font-size: 13px;
    color: #6b6f85;
}
.userinfo-selector .popup-content.account-menu .account-menu__register a {
    display: inline;
    padding: 0;
    color: #ba0d0d;
    font-weight: 600;
    text-decoration: underline;
}
.account-menu__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid #eee;
}
.account-menu__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    background: #eef0fa;
    color: #313F90;
    border-radius: 50%;
}
.account-menu__hello small {
    display: block;
    font-size: 12px;
    color: #6b6f85;
}
.account-menu__hello strong {
    display: block;
    font-size: 14px;
    color: #1f2340;
}
.account-menu__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.userinfo-selector .popup-content.account-menu .account-menu__list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    font-size: 14px;
    color: #1f2340;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}
.userinfo-selector .popup-content.account-menu .account-menu__list a i {
    width: 18px;
    text-align: center;
    color: #313F90;
}
.userinfo-selector .popup-content.account-menu .account-menu__list a:hover {
    background: #f3f4fb;
    color: #313F90;
}
.userinfo-selector .account-menu__list li.logout {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #eee;
}

/* ==========================================================================
   Pagina Marchi (elenco brand)
   Il tema disponeva le card con classi col-* di Bootstrap dentro celle larghe
   il 20%: i loghi venivano compressi a misure diverse e i nomi andavano a capo.
   Qui la lista diventa una griglia con celle uguali e logo centrato.
   I selettori sono ripetuti con #manufacturer per superare theme.css.
   ========================================================================== */
#main ul.brands-list,
#manufacturer #main ul.brands-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}
#main ul.brands-list .brand,
#manufacturer #main ul.brands-list .brand {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #e6e7ec;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#main ul.brands-list .brand:hover,
#manufacturer #main ul.brands-list .brand:hover {
    border-color: #ba0d0d;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.08);
}
#main ul.brands-list .brand-link,
#manufacturer #main ul.brands-list .brand-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 18px 12px 14px;
    color: #2b2b2b;
    text-decoration: none;
}
/* Box logo ad altezza fissa: i marchi restano allineati riga per riga */
#main ul.brands-list .brand-img,
#manufacturer #main ul.brands-list .brand-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    height: 90px;
    margin: 0 0 12px;
    padding: 0;
    flex: none;
}
#main ul.brands-list .brand-img img,
#manufacturer #main ul.brands-list .brand-img img {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}
#main ul.brands-list .brand-infos,
#manufacturer #main ul.brands-list .brand-infos {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    flex: none;
}
#main ul.brands-list .brand-name,
#manufacturer #main ul.brands-list .brand-name {
    display: block;
    color: #2b2b2b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}
#main ul.brands-list .brand:hover .brand-name,
#manufacturer #main ul.brands-list .brand:hover .brand-name {
    color: #ba0d0d;
}

@media (max-width: 767px) {
    #main ul.brands-list,
    #manufacturer #main ul.brands-list {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }
    #main ul.brands-list .brand-link,
    #manufacturer #main ul.brands-list .brand-link {
        padding: 12px 8px 10px;
    }
    #main ul.brands-list .brand-img,
    #manufacturer #main ul.brands-list .brand-img {
        height: 70px;
        margin-bottom: 8px;
    }
    #main ul.brands-list .brand-img img,
    #manufacturer #main ul.brands-list .brand-img img {
        max-height: 70px;
    }
    #main ul.brands-list .brand-name,
    #manufacturer #main ul.brands-list .brand-name {
        font-size: 13px;
    }
}.userinfo-selector .popup-content.account-menu { font-size: 14px; line-height: 1.4; text-align: left; }
.userinfo-selector .popup-content.account-menu .account-menu__guest { text-align: center; }
.userinfo-selector .popup-content.account-menu .account-menu__text { font-size: 13px; }

/* ==========================================================================
   Footer: sfondo blu scuro, testi bianchi
   Struttura (Leo Elements): .footer-center > 2 sezioni (colonne info + banda newsletter),
   .footer-bottom > 1 sezione (copyright / pagamenti)
   ========================================================================== */
#footer {
    --ft-bg: #313f90;
    --ft-panel: rgba(255, 255, 255, 0.07);
    --ft-line: rgba(255, 255, 255, 0.14);
    --ft-text: #fff;
    --ft-muted: rgba(255, 255, 255, 0.78);
    --ft-label: rgba(255, 255, 255, 0.62);
    --ft-accent: #e5383d;
    background: var(--ft-bg) !important;
    color: var(--ft-text);
    border-top: 0;
    font-size: 15px;
    line-height: 1.6;
}
#footer .footer-top,
#footer .footer-center,
#footer .footer-bottom,
#footer .elementor-section,
#footer .elementor-column-wrap,
#footer .elementor-widget-wrap,
#footer .elementor-background-overlay {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}
#footer .elementor-top-section {
    margin: 0 !important;
    padding: 0 !important;
}
#footer .elementor-column-wrap,
#footer .elementor-widget-wrap {
    min-height: 0 !important;
}
#footer .footer-top:empty,
#footer .footer-top .inner:empty {
    display: none;
}
#footer .footer-center {
    padding: 56px 0 0;
}

/* Reset spaziature di Elementor: le distanze le gestisce la griglia */
#footer .elementor-widget-wrap {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 20px;
    padding: 0 !important;
}
#footer .elementor-widget:not(:last-child) {
    margin-bottom: 0 !important;
}
#footer .elementor-column {
    width: auto !important;
    min-width: 0;
}
#footer .elementor-divider {
    display: none;
}
#footer .elementor-section .elementor-container {
    padding-left: 15px;
    padding-right: 15px;
}
#footer .elementor-row {
    display: grid !important;
    gap: 32px 56px;
    width: 100%;
}
#footer .elementor-column-wrap {
    padding: 0 !important;
}

/* Riga 1: brand | informazioni | contatti */
#footer .footer-center .elementor-section-wrap > .elementor-section:first-child .elementor-row {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    padding-bottom: 40px;
}

/* Logo: versione bianca con sfondo trasparente al posto del JPG (sostituita via CSS) */
#footer .logo.img-fluid {
    display: block;
    content: url("../img/logo-footer-white.png");
    width: 245px;
    max-width: 100%;
    height: auto;
    padding: 0;
    background: none;
    border-radius: 0;
}

/* Titoli di colonna: "Informazioni", "SEGUICI" */
#footer .LeoBlockLink .title_block,
#footer h2.elementor-heading-title {
    position: relative;
    margin: 0 0 4px;
    padding-bottom: 12px;
    color: var(--ft-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.3;
    text-transform: uppercase;
}
#footer .LeoBlockLink .title_block::after,
#footer h2.elementor-heading-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--ft-accent);
    border-radius: 2px;
}
#footer .LeoBlockLink .linklist-toggle {
    margin: 0;
    padding: 0;
}
#footer .LeoBlockLink .icon-toggle {
    display: none !important;
}

/* Link */
#footer a {
    transition: color 0.2s ease, opacity 0.2s ease;
}
#footer a:focus-visible,
#footer input:focus-visible,
#footer button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
#footer .list-items {
    margin: 0;
    padding: 0;
    list-style: none;
}
#footer .list-items li {
    margin: 0;
}
#footer .list-items a.item-text {
    display: inline-block;
    padding: 6px 0;
    color: var(--ft-muted);
    text-decoration: none;
}
#footer .list-items a.item-text:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Icon box (indirizzo, telefono): icona in cerchio + etichetta + valore */
#footer .elementor-icon-box-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
}
#footer .elementor-icon-box-icon {
    flex: 0 0 auto;
    margin: 0 !important;
}
#footer .elementor-icon-box-icon .elementor-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #fff;
    font-size: 22px;
    background: var(--ft-panel);
    border-radius: 50%;
}
#footer .elementor-icon-box-icon .elementor-icon i {
    color: #fff;
}
#footer .elementor-icon-box-content {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}
#footer .elementor-icon-box-title {
    margin: 0 0 4px;
    color: var(--ft-label);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.4;
    text-transform: uppercase;
}
#footer .elementor-icon-box-title,
#footer .elementor-icon-box-title span,
#footer .elementor-icon-box-title a {
    color: var(--ft-label) !important;
    text-decoration: none !important;
    border: 0 !important;
}
#footer .elementor-icon-box-description {
    margin: 0;
    color: var(--ft-text);
    font-size: 15px;
    line-height: 1.65;
}
#footer .elementor-icon-box-description a {
    color: var(--ft-text);
    text-decoration: none;
}
#footer .elementor-icon-box-description a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
/* Telefono in evidenza */
#footer a[href^="tel:"],
#footer .elementor-icon-box-description a.color-default {
    display: inline-block;
    padding: 2px 0;
    color: #fff !important;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Social: cerchi bianchi, così le icone colorate restano leggibili sul blu */
#footer .block-social ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
#footer .block-social li {
    margin: 0;
}
#footer .block-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#footer .block-social li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

/* Riga 2: banda newsletter */
#footer .footer-center .elementor-section-wrap > .elementor-section:nth-child(2) .elementor-container {
    padding: 0 15px;
}
#footer .footer-center .elementor-section-wrap > .elementor-section:nth-child(2) .elementor-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    align-items: center;
    padding: 28px 36px;
    background: var(--ft-panel);
    border: 1px solid var(--ft-line);
    border-radius: 20px;
}
#footer .footer-center .elementor-section-wrap > .elementor-section:nth-child(2) .elementor-icon-box-wrapper {
    align-items: center;
}
#footer .footer-center .elementor-section-wrap > .elementor-section:nth-child(2) .elementor-icon-box-title,
#footer .footer-center .elementor-section-wrap > .elementor-section:nth-child(2) .elementor-icon-box-title span {
    margin: 0;
    color: #fff !important;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
}
#footer .footer-center .elementor-section-wrap > .elementor-section:nth-child(2) .elementor-icon-box-title br {
    display: none;
}
#footer #block-newsletter-label {
    margin: 0 0 12px;
    padding: 0;
    color: var(--ft-muted);
    font-size: 15px;
}
#footer .block_newsletter {
    width: 100%;
    max-width: none;
    margin: 0;
}
#footer .block_newsletter .row {
    margin: 0;
}
#footer .block_newsletter .row > [class*="col-"] {
    padding: 0;
    float: none;
    width: 100%;
}
#footer .block_newsletter .form-group {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
#footer .block_newsletter .form-group .clearfix {
    display: none;
}
#footer .block_newsletter .input-wrapper {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: none !important;
    border: 0 !important;
}
#footer .block_newsletter input[type="email"] {
    width: 100%;
    height: 50px;
    padding: 0 22px;
    color: #1f2340;
    font-size: 15px;
    background: #fff !important;
    border: 2px solid transparent !important;
    border-radius: 999px;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#footer .block_newsletter input[type="email"]::placeholder {
    color: #6b6f85;
    opacity: 1;
}
#footer .block_newsletter input[type="email"]:focus {
    border-color: var(--ft-accent) !important;
    box-shadow: 0 0 0 4px rgba(229, 56, 61, 0.3) !important;
    outline: 0;
}
#footer .block_newsletter button[name="submitNewsletter"] {
    flex: 0 0 auto;
    float: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
    height: 50px;
    margin: 0 !important;
    padding: 0 26px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    background: #c0161b;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
#footer .block_newsletter button[name="submitNewsletter"]:hover {
    background: #a51216;
    transform: translateY(-1px);
}
#footer .block_newsletter form .col-xs-12 > p {
    margin: 12px 0 0;
    color: var(--ft-label);
    font-size: 12.5px;
    line-height: 1.5;
}
#footer .block_newsletter .alert {
    margin: 12px 0 0;
    padding: 10px 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--ft-line);
    border-radius: 10px;
}

/* Barra finale: copyright + "watered by" a sinistra, pagamenti a destra */
#footer .footer-bottom {
    margin-top: 40px;
    padding-bottom: 72px; /* spazio per i widget flottanti (cookie, reCAPTCHA) */
    border-top: 1px solid var(--ft-line) !important;
}
#footer .footer-bottom .elementor-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 32px;
    padding: 22px 0;
}
#footer .footer-bottom .elementor-widget-wrap {
    flex-direction: row;
    flex-wrap: wrap !important;
    align-items: center;
    gap: 8px 28px;
}
#footer .footer-bottom .elementor-column:last-child .elementor-widget-wrap {
    justify-content: flex-end;
    gap: 8px 14px;
}
#footer .footer-bottom .elementor-heading-title {
    margin: 0;
    color: var(--ft-label);
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
}
#footer .footer-bottom .elementor-image img {
    display: block;
    max-width: 100%;
    height: auto;
}
#footer .elementor-widget-LeoGenCode .elementor-widget-container > div {
    display: flex;
    align-items: center;
    gap: 8px;
}
#footer .watered-by {
    margin: 0;
    line-height: 1;
}
#footer .watered-by small,
#footer .watered-by small small {
    display: inline-block;
    color: var(--ft-label) !important;
    font-size: 12px;
    line-height: 1;
}
#footer .svg-container {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    color: #fff;
    font-size: 13px;
    line-height: 1;
}
#footer .svg-container svg {
    display: block;
    flex: 0 0 auto;
}
#footer .svg-container .cls-1 {
    fill: #fff !important;
}
#footer .svg-container b {
    color: #fff;
    font-weight: 600;
}

/* Tablet */
@media (max-width: 991px) {
    #footer .footer-center {
        padding-top: 44px;
    }
    #footer .footer-center .elementor-section-wrap > .elementor-section:first-child .elementor-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 32px;
    }
    #footer .footer-center .elementor-section-wrap > .elementor-section:first-child .elementor-column:first-child {
        grid-column: 1 / -1;
    }
    #footer .footer-center .elementor-section-wrap > .elementor-section:nth-child(2) .elementor-row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    #footer .footer-center {
        padding-top: 36px;
    }
    #footer .footer-center .elementor-section-wrap > .elementor-section:first-child .elementor-row {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 28px;
    }
    #footer .list-items a.item-text {
        padding: 10px 0;
    }
    #footer .footer-center .elementor-section-wrap > .elementor-section:nth-child(2) .elementor-row {
        padding: 20px 18px;
        border-radius: 16px;
    }
    #footer .footer-center .elementor-section-wrap > .elementor-section:nth-child(2) .elementor-icon-box-title {
        font-size: 19px;
    }
    #footer .block_newsletter .form-group {
        flex-direction: column;
    }
    #footer .block_newsletter button[name="submitNewsletter"] {
        width: 100%;
    }
    #footer .footer-bottom {
        margin-top: 32px;
    }
    #footer .footer-bottom .elementor-row {
        grid-template-columns: 1fr;
        padding: 20px 0 24px;
    }
    #footer .footer-bottom .elementor-column:last-child .elementor-widget-wrap {
        justify-content: flex-start;
    }
}

/* Checkout: logo corrieri */
#checkout .delivery-options-list img {
    max-width: 60px;
}

/* Sidebar prodotti (es. "Di Tendenza"): layout flex per colonne strette (tablet) */
.sidebar .block .products .thumbnail-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-left: 0;
    margin-right: 0;
}
.sidebar .block .products .thumbnail-container::after {
    display: none;
}
.sidebar .block .products .thumbnail-container .product-image {
    float: none;
    flex: 0 0 72px;
    width: 72px;
    padding: 0;
}
.sidebar .block .products .thumbnail-container .product-meta {
    float: none;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    padding: 0;
}
.sidebar .block .products .thumbnail-container .product-title {
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sidebar (es. "Prodotti speciali"): card a tutta larghezza, una per riga, anche a dimensioni intermedie */
.sidebar .block .products .leo-product-ajax > .ajax_block_product {
    flex: 0 0 100%;
    width: 100% !important;
    max-width: 100%;
    float: none;
}

/* Sidebar con carosello Leo (es. "Prodotti speciali"): a dimensioni intermedie slick calcola slide troppo strette.
   Si mostra come lista verticale a tutta larghezza. */
@media (max-width: 1199px) {
    #left-column .slick-list,
    #right-column .slick-list,
    .sidebar .slick-list {
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: visible;
    }
    #left-column .slick-track,
    #right-column .slick-track,
    .sidebar .slick-track {
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        transform: none !important;
    }
    #left-column .slick-slide,
    #right-column .slick-slide,
    .sidebar .slick-slide {
        float: none;
        width: 100% !important;
        height: auto !important;
    }
    #left-column .slick-cloned,
    #right-column .slick-cloned,
    .sidebar .slick-cloned {
        display: none !important;
    }
    #left-column .slick-arrow,
    #right-column .slick-arrow,
    .sidebar .slick-arrow,
    #left-column .slick-dots,
    #right-column .slick-dots,
    .sidebar .slick-dots {
        display: none !important;
    }
}

/* Breadcrumb desktop: allineato a sinistra al contenitore generale */
@media (min-width: 768px) {
    #wrapper .breadcrumb ol,
    .breadcrumb-bg .breadcrumb ol {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Breadcrumb: nessun margine/bordo che lascia una riga bianca sotto */
#wrapper .breadcrumb,
.breadcrumb-bg,
.breadcrumb-bg .breadcrumb {
    margin-bottom: 0;
    border: 0;
    box-shadow: none;
}

/* Breadcrumb: separatore ">" al posto di "/" */
#wrapper .breadcrumb li::after,
.breadcrumb-bg .breadcrumb li::after {
    content: ">";
}
#wrapper .breadcrumb li:last-child::after,
.breadcrumb-bg .breadcrumb li:last-child::after {
    content: "";
}

/* Breadcrumb mobile: riga singola, scorrimento orizzontale */
@media (max-width: 767px) {
    #wrapper .breadcrumb.hidden-sm-down,
    .breadcrumb-bg .breadcrumb.hidden-sm-down {
        display: block !important;
    }
    #wrapper .breadcrumb[data-depth="1"],
    .breadcrumb-bg .breadcrumb[data-depth="1"] {
        display: none !important;
    }
    #wrapper .breadcrumb ol,
    .breadcrumb-bg .breadcrumb ol {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        margin: 0;
        padding: 14px 16px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        list-style: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        scrollbar-width: none;
    }
    #wrapper .breadcrumb ol::-webkit-scrollbar,
    .breadcrumb-bg .breadcrumb ol::-webkit-scrollbar {
        display: none;
    }
    #wrapper .breadcrumb li,
    .breadcrumb-bg .breadcrumb li {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        white-space: nowrap;
    }
}

/* Scheda prodotto: nessuno zoom in hover sulla foto */
.zoomLens,
.zoomWindow,
.zoomWindowContainer {
    display: none !important;
}
.product-cover #zoom_product,
.images-container #zoom_product {
    cursor: default;
}

/* === Area cliente: pagina "Il tuo account" === */
.page-my-account .account-welcome {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 24px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f4f5fc 0%, #ffffff 100%);
    border: 1px solid #e8e8ee;
    border-radius: 14px;
}
.page-my-account .account-welcome__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    font-size: 22px;
    color: #fff;
    background: #ba0d0d;
    border-radius: 50%;
}
.page-my-account .account-welcome__text strong {
    display: block;
    font-size: 20px;
    color: #1f2340;
}
.page-my-account .account-welcome__text span {
    font-size: 14px;
    color: #6b6f85;
}
.page-my-account #content .links {
    margin: 0 -8px;
}
.page-my-account #content .links a {
    display: block;
    padding: 0 8px;
    margin-bottom: 16px;
    text-align: left;
    text-transform: none;
    font-weight: 400;
}
.page-my-account #content .links a span.link-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    padding: 20px 44px 20px 20px;
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(20, 24, 60, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.page-my-account #content .links a span.link-item::after {
    content: "\203A";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    line-height: 1;
    color: #b6b9c8;
    transition: transform 0.2s ease, color 0.2s ease;
}
.page-my-account #content .links a:hover span.link-item,
.page-my-account #content .links a:focus-visible span.link-item {
    transform: translateY(-2px);
    border-color: #ba0d0d;
    box-shadow: 0 10px 24px rgba(20, 24, 60, 0.10);
}
.page-my-account #content .links a:hover span.link-item::after {
    color: #ba0d0d;
    transform: translate(3px, -50%);
}
.page-my-account #content .links a i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    padding: 0;
    font-size: 24px;
    color: #ba0d0d;
    background: #fdeeee;
    border-radius: 12px;
}
.page-my-account #content .links a:hover i {
    color: #fff;
    background: #ba0d0d;
}
.page-my-account #content .links .link-text {
    display: block;
    min-width: 0;
}
.page-my-account #content .links .link-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2340;
}
.page-my-account #content .links .link-desc {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.35;
    color: #6b6f85;
}
.page-my-account .account-logout {
    text-align: center;
    padding: 8px 0 16px;
}
.page-my-account .account-logout__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-weight: 600;
    color: #ba0d0d;
    border: 1px solid #ba0d0d;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}
.page-my-account .account-logout__btn:hover {
    color: #fff;
    background: #ba0d0d;
}
@media (max-width: 575px) {
    .page-my-account .account-welcome { padding: 16px; }
    .page-my-account #content .links a span.link-item { padding: 16px 40px 16px 16px; }
}

/* Account: griglia uniforme + fix pulsante Esci */
.page-my-account #content > .row {
    margin-left: 0;
    margin-right: 0;
}
.page-my-account #content .links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    width: 100%;
}
.page-my-account #content .links a {
    float: none;
    width: auto;
    max-width: none;
    flex: none;
    margin: 0;
    padding: 0;
}
.page-my-account #content .links a span.link-item {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2340;
}
@media (max-width: 991px) {
    .page-my-account #content .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .page-my-account #content .links { grid-template-columns: 1fr; }
}
.page-my-account .account-logout .account-logout__btn,
.page-my-account .account-logout .account-logout__btn:visited {
    color: #ba0d0d !important;
    background: #fff;
    text-decoration: none;
}
.page-my-account .account-logout .account-logout__btn:hover {
    color: #fff !important;
    background: #ba0d0d;
}
.page-my-account .account-logout .account-logout__btn i {
    color: inherit;
}

/* ==========================================================
   AREA CLIENTE: stile coerente per tutte le sottopagine
   (indirizzi, ordini, note di credito, buoni, resi, dati,
   GDPR, lista desideri)
   ========================================================== */

/* --- Card contenitore --- */
.page-customer-account #content.page-content,
.page-customer-account #content {
    padding: 28px;
    font-size: 14px;
    color: #1f2340;
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(20, 24, 60, 0.04);
}
.page-my-account #content.page-content,
.page-my-account #content {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.page-customer-account #content h6 {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2340;
}

/* --- Form: etichette sopra i campi, colonna unica --- */
.page-customer-account #content form section,
.page-customer-account #content form .form-footer {
    max-width: 720px;
}
.page-customer-account #content form .form-group.row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin: 0 0 18px;
}
.page-customer-account #content form .form-group.row > label.form-control-label {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    padding: 0;
    margin: 0 0 6px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #1f2340;
    order: 1;
}
.page-customer-account #content form .form-group.row > .form-control-comment {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding: 0;
    margin: 0 0 6px;
    font-size: 12px;
    color: #8a8ea3;
    order: 2;
}
.page-customer-account #content form .form-group.row > .js-input-column,
.page-customer-account #content form .form-group.row > .col-md-6 {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding: 0;
    order: 3;
}
.page-customer-account #content form .form-group.row > .form-control-comment:last-child:empty {
    display: none;
}
.page-customer-account #content .form-control,
.page-customer-account #content select.form-control {
    height: 46px;
    padding: 0 14px;
    font-size: 14px;
    color: #1f2340;
    background-color: #fff;
    border: 1px solid #d9dbe6;
    border-radius: 10px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.page-customer-account #content .form-control:focus {
    border-color: #ba0d0d;
    box-shadow: 0 0 0 3px rgba(186, 13, 13, 0.12);
    outline: 0;
}
.page-customer-account #content .form-control::placeholder {
    color: #9a9db0;
}
.page-customer-account #content .form-control-comment,
.page-customer-account #content .form-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b6f85;
}
.page-customer-account #content .input-group .input-group-btn > .btn {
    height: 46px;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 600;
    color: #1f2340;
    background: #f3f4fb;
    border: 1px solid #d9dbe6;
    border-left: 0;
    border-radius: 0 10px 10px 0;
}
.page-customer-account #content .input-group .form-control {
    border-radius: 10px 0 0 10px;
}
.page-customer-account #content .form-group.has-error .form-control {
    border-color: #ba0d0d;
}
.page-customer-account #content .custom-checkbox label,
.page-customer-account #content .radio-inline {
    font-size: 14px;
    color: #1f2340;
}

/* --- Pulsanti --- */
.page-customer-account #content .btn.btn-primary,
.page-customer-account #content .form-footer .btn,
#mywishlist .btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 28px;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: #fff !important;
    background: #ba0d0d;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.page-customer-account #content .btn.btn-primary:hover,
.page-customer-account #content .form-footer .btn:hover,
#mywishlist .btn.btn-primary:hover {
    background: #d60f0f;
    transform: translateY(-1px);
}
.page-customer-account #content .form-footer {
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.page-customer-account #content .form-footer .btn.float-xs-right {
    float: none !important;
}
.page-customer-account #content .btn.btn-outline,
#mywishlist .btn.btn-outline,
#mywishlist .btn.btn-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    font-weight: 600;
    color: #ba0d0d !important;
    background: #fff;
    border: 1px solid #ba0d0d;
    border-radius: 10px;
}
.page-customer-account #content .btn.btn-outline:hover,
#mywishlist .btn.btn-outline:hover,
#mywishlist .btn.btn-info:hover {
    color: #fff !important;
    background: #ba0d0d;
}

/* --- Avvisi --- */
.page-customer-account #content .alert,
.page-customer-account .alert.alert-info {
    padding: 14px 18px;
    font-size: 14px;
    color: #1f2340;
    background: #f4f5fc;
    border: 1px solid #e1e4f5;
    border-left: 4px solid #313F90;
    border-radius: 10px;
}
.page-customer-account #content .alert-danger {
    background: #fdeeee;
    border-color: #f6cccc;
    border-left-color: #ba0d0d;
}
.page-customer-account #content .alert-success {
    background: #eefaf2;
    border-color: #c9ecd6;
    border-left-color: #1e9e57;
}

/* --- Tabelle (ordini, note di credito, lista desideri) --- */
.page-customer-account #content table.table,
#mywishlist table.table {
    width: 100%;
    margin: 0 0 16px;
    border: 1px solid #e8e8ee;
    border-radius: 12px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    background: #fff;
}
.page-customer-account #content table.table thead th,
#mywishlist table.table thead th {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b6f85;
    background: #f7f8fc;
    border: 0;
    border-bottom: 1px solid #e8e8ee;
}
.page-customer-account #content table.table td,
.page-customer-account #content table.table tbody th,
#mywishlist table.table td {
    padding: 14px 16px;
    font-size: 14px;
    color: #1f2340;
    border: 0;
    border-bottom: 1px solid #f0f0f5;
    vertical-align: middle;
}
.page-customer-account #content table.table tbody tr:last-child td,
.page-customer-account #content table.table tbody tr:last-child th,
#mywishlist table.table tbody tr:last-child td {
    border-bottom: 0;
}
.page-customer-account #content table.table-striped tbody tr:nth-of-type(odd),
#mywishlist table.table-striped tbody tr:nth-of-type(odd) {
    background: #fff;
}
.page-customer-account #content table.table tbody tr:hover,
#mywishlist table.table tbody tr:hover {
    background: #fafbfe;
}
.page-customer-account #content .label.label-pill {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
}
.page-customer-account #content table.table a {
    font-weight: 600;
    color: #ba0d0d;
}
.page-customer-account #content .orders .order,
.page-customer-account #content .order-line,
.page-customer-account #content .box {
    border-radius: 12px;
}
.page-customer-account #content .box {
    padding: 18px;
    background: #f7f8fc;
    border: 1px solid #e8e8ee;
}

/* --- Indirizzi (elenco) --- */
.page-customer-account #content .address {
    padding: 20px;
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 12px;
    box-shadow: none;
}
.page-customer-account #content .address .address-footer a {
    font-weight: 600;
    color: #ba0d0d;
}

/* --- GDPR --- */
.page-customer-account #content .psgdprinfo17 {
    float: none;
    width: 100%;
    margin: 0 0 16px;
    padding: 22px 24px;
    background: #f7f8fc;
    border: 1px solid #e8e8ee;
    border-radius: 12px;
}
.page-customer-account #content .psgdprinfo17 h2 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #1f2340;
}
.page-customer-account #content .psgdprinfo17 p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #6b6f85;
}
.page-customer-account #content .psgdprinfo17 p:last-child {
    margin-bottom: 0;
}
.page-customer-account #content .psgdprinfo17 a:not(.btn) {
    font-weight: 600;
    color: #ba0d0d;
}
.page-customer-account #content .psgdprgetdatabtn17 {
    float: none !important;
    margin: 0 10px 8px 0;
}
.page-customer-account #content .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

/* --- Lista desideri --- */
#mywishlist {
    padding: 28px;
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 14px;
}
#mywishlist h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    color: #1f2340;
}
#mywishlist .new-wishlist {
    max-width: 720px;
    margin-bottom: 24px;
}
#mywishlist .new-wishlist label {
    font-size: 13px;
    font-weight: 600;
    color: #1f2340;
}
#mywishlist .form-control {
    height: 46px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #d9dbe6;
    border-radius: 10px;
    box-shadow: none;
}
#mywishlist .form-control:focus {
    border-color: #ba0d0d;
    box-shadow: 0 0 0 3px rgba(186, 13, 13, 0.12);
}
#mywishlist .list-wishlist {
    overflow-x: auto;
}
#mywishlist table.table td a {
    color: #ba0d0d;
    font-weight: 600;
}
#mywishlist .send-wishlist {
    margin: 8px 0 20px;
}
#mywishlist .footer_links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 0 0;
    margin: 16px 0 0;
    list-style: none;
    border-top: 1px solid #eee;
}
#mywishlist .footer_links li {
    float: none !important;
}

/* --- Link di navigazione in fondo (Torna al tuo account / Home) --- */
.page-customer-account .page-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.page-customer-account .page-footer .account-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2340;
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 999px;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.page-customer-account .page-footer .account-link:hover {
    color: #ba0d0d;
    border-color: #ba0d0d;
}
.page-customer-account .page-footer .account-link i {
    font-size: 18px;
    color: inherit;
}
.page-my-account .page-footer {
    display: block;
}

@media (max-width: 575px) {
    .page-customer-account #content.page-content,
    .page-customer-account #content,
    #mywishlist {
        padding: 18px 16px;
    }
    .page-customer-account #content .btn.btn-primary,
    .page-customer-account #content .form-footer .btn {
        width: 100%;
    }
}

/* Sottocategorie come pillole */
#subcategories.subcategories-pills {
    margin: 0 0 20px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
#subcategories .subcategories-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
#subcategories .subcategories-pills-list li {
    width: auto;
    padding: 0;
}
#subcategories .subcategory-pill {
    display: inline-block;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #1f2340;
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 999px;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
#subcategories .subcategory-pill:hover,
#subcategories .subcategory-pill:focus {
    color: #fff;
    background: #ba0d0d;
    border-color: #ba0d0d;
    text-decoration: none;
}
@media (max-width: 767px) {
    #subcategories .subcategories-pills-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    #subcategories .subcategories-pills-list::-webkit-scrollbar {
        display: none;
    }
    #subcategories .subcategories-pills-list li {
        flex: 0 0 auto;
    }
}

/* Menu account (utente loggato): allineamenti e icone SVG */
.userinfo-selector .popup-content.account-menu .account-menu__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px 14px;
    margin: 0 0 6px;
    border-bottom: 1px solid #eee;
}
.userinfo-selector .account-menu__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: #ba0d0d;
    background: #fdeeee;
    border-radius: 50%;
}
.userinfo-selector .account-menu__avatar .am-ico {
    width: 22px;
    height: 22px;
}
.userinfo-selector .account-menu__hello {
    display: block;
    min-width: 0;
    line-height: 1.3;
}
.userinfo-selector .account-menu__hello small {
    display: block;
    font-size: 12px;
    color: #6b6f85;
}
.userinfo-selector .account-menu__hello strong {
    display: block;
    overflow: hidden;
    font-size: 15px;
    color: #1f2340;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.userinfo-selector .account-menu__hello em {
    display: block;
    overflow: hidden;
    font-size: 12px;
    font-style: normal;
    color: #8a8ea3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.userinfo-selector .popup-content.account-menu .account-menu__list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.2;
    color: #1f2340;
    text-align: left;
}
.userinfo-selector .popup-content.account-menu .account-menu__list a .am-ico {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #6b6f85;
    transition: color 0.2s ease;
}
.userinfo-selector .popup-content.account-menu .account-menu__list a span {
    flex: 1 1 auto;
    min-width: 0;
}
.userinfo-selector .popup-content.account-menu .account-menu__list a:hover .am-ico {
    color: #ba0d0d;
}
.userinfo-selector .popup-content.account-menu .account-menu__list a:hover {
    color: #ba0d0d;
    background: #fdf3f3;
}
.userinfo-selector .popup-content.account-menu .account-menu__list li.logout a,
.userinfo-selector .popup-content.account-menu .account-menu__list li.logout a .am-ico {
    color: #ba0d0d;
}

/* Menu account: nessuna chiusura mentre il mouse passa dall'icona al popup */
.userinfo-selector .popup-content.account-menu::after {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}
@media (min-width: 992px) {
    .userinfo-selector .popup-content.account-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.15s ease, visibility 0s linear 0.3s;
    }
    .userinfo-selector.popup-over:hover .popup-content.account-menu,
    .userinfo-selector.popup-over.open .popup-content.account-menu,
    .userinfo-selector.popup-over:focus-within .popup-content.account-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }
}


/* ==========================================================================
   Blocco SEO espandibile in homepage (.mt-seo)
   Chiuso di default con dissolvenza, "Scopri di più" lo apre. Solo CSS (checkbox + label).
   ========================================================================== */
.mt-seo {
    --mt-blue: #313f90;
    --mt-red: #c0161b;
    --mt-ink: #1f2340;
    --mt-muted: #4a4f6b;
    --mt-line: #dfe2f0;
    --mt-tint: #f4f6fc;
    --mt-collapsed: 300px;
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    color: var(--mt-ink);
}
.mt-seo__toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.mt-seo__body {
    position: relative;
    max-height: var(--mt-collapsed);
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.mt-seo__body::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mt-seo__toggle:checked ~ .mt-seo__body {
    max-height: 4000px;
}
.mt-seo__toggle:checked ~ .mt-seo__body::after {
    opacity: 0;
}
.mt-seo__title {
    margin: 0 0 20px;
    color: var(--mt-blue);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}
.mt-seo__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.mt-seo__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    background: var(--mt-tint);
    border: 1px solid var(--mt-line);
    border-radius: 16px;
}
.mt-seo__item--wide {
    grid-column: 1 / -1;
}
.mt-seo__icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    font-size: 20px;
    background: var(--mt-blue);
    border-radius: 50%;
}
.mt-seo__item h3 {
    margin: 0 0 8px;
    color: var(--mt-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.mt-seo__item p {
    margin: 0;
    color: var(--mt-muted);
    font-size: 15px;
    line-height: 1.7;
}
.mt-seo__item a {
    color: var(--mt-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mt-seo__item a:hover {
    color: var(--mt-red);
}

/* Call to action centrale */
.mt-seo__cta {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-top: -22px;
}
.mt-seo__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    margin: 0;
    padding: 0 28px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    background: var(--mt-red);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(192, 22, 27, 0.28);
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.mt-seo__btn:hover {
    background: #a51216;
    transform: translateY(-1px);
}
.mt-seo__btn::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: -3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease, margin 0.3s ease;
}
.mt-seo__toggle:focus-visible ~ .mt-seo__cta .mt-seo__btn {
    outline: 3px solid var(--mt-blue);
    outline-offset: 3px;
}
.mt-seo__btn-less {
    display: none;
}
.mt-seo__toggle:checked ~ .mt-seo__cta .mt-seo__btn-more {
    display: none;
}
.mt-seo__toggle:checked ~ .mt-seo__cta .mt-seo__btn-less {
    display: inline;
}
.mt-seo__toggle:checked ~ .mt-seo__cta .mt-seo__btn::after {
    margin-top: 3px;
    transform: rotate(-135deg);
}

@media (max-width: 767px) {
    .mt-seo {
        --mt-collapsed: 260px;
        margin: 28px auto;
    }
    .mt-seo__title {
        font-size: 22px;
    }
    .mt-seo__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .mt-seo__item {
        padding: 18px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .mt-seo__body,
    .mt-seo__btn,
    .mt-seo__btn::after {
        transition: none;
    }
}


/* ==========================================================================
   Checkout: card degli step e form coerenti con l'area cliente
   Ogni step e' una card a se' (quello in corso ha il bordo blu), le etichette
   dei campi stanno sopra e i campi sono a piena larghezza. La barra di avanzamento
   sta in checkout-process.tpl.
   ========================================================================== */

/* --- Card degli step --- */
body#checkout section.checkout-step.checkout-step {
    margin-bottom: 12px;
    padding: 16px 22px;
    background: #fff;
    border: 1px solid #e3e5ef;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(20, 24, 60, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body#checkout section.checkout-step.checkout-step.-current {
    border-color: rgba(49, 63, 144, 0.35);
    box-shadow: 0 8px 24px rgba(49, 63, 144, 0.08);
}
body#checkout section.checkout-step.checkout-step.-unreachable {
    background: #fafbfe;
    box-shadow: none;
}
body#checkout section.checkout-step.checkout-step .content {
    padding: 18px 0 4px;
}
body#checkout section.checkout-step.checkout-step .step-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
body#checkout section.checkout-step.checkout-step.-unreachable .step-title {
    color: #8a8ea3;
    cursor: default;
}

/* Numero dello step / spunta di completamento: tondi, come nella barra di avanzamento */
body#checkout section.checkout-step.checkout-step .step-number,
body#checkout section.checkout-step.checkout-step .done {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin: 0 10px 0 0;
    padding: 0;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
}
body#checkout section.checkout-step.checkout-step .step-number {
    background: #313f90;
    color: #fff;
}
body#checkout section.checkout-step.checkout-step.-unreachable .step-number {
    background: #eceef7;
    color: #8a8ea3;
}
body#checkout section.checkout-step.checkout-step .done {
    background: #313f90;
    color: #fff;
    font-size: 18px;
}

/* --- Ordina come ospite / Accedi: due pillole al posto del testo con la barra "|" --- */
body#checkout #checkout-personal-information-step ul.nav-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px !important;
    padding: 0;
}
body#checkout #checkout-personal-information-step ul.nav-inline .nav-item {
    margin: 0;
}
body#checkout #checkout-personal-information-step ul.nav-inline .nav-item:nth-child(2) {
    display: none;
}
body#checkout #checkout-personal-information-step ul.nav-inline .nav-link {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    background: #fff;
    border: 1px solid #d9dbe6;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2340;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
body#checkout #checkout-personal-information-step ul.nav-inline .nav-link:hover {
    border-color: #313f90;
    color: #313f90;
}
body#checkout #checkout-personal-information-step ul.nav-inline .nav-link.active {
    background: #313f90;
    border-color: #313f90;
    color: #fff;
}

/* --- Form (informazioni personali, indirizzi): etichetta sopra, campo a piena larghezza --- */
body#checkout :is(#checkout-personal-information-step, #checkout-addresses-step) form .form-group.row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin: 0 0 16px;
}
body#checkout :is(#checkout-personal-information-step, #checkout-addresses-step) form .form-group.row > label.form-control-label {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    padding: 0;
    margin: 0 0 6px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #1f2340;
    order: 1;
}
body#checkout :is(#checkout-personal-information-step, #checkout-addresses-step) form .form-group.row > .form-control-comment {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding: 0;
    margin: 0 0 6px;
    font-size: 12px;
    color: #8a8ea3;
    order: 2;
}
body#checkout :is(#checkout-personal-information-step, #checkout-addresses-step) form .form-group.row > .form-control-comment:last-child:empty {
    display: none;
}
body#checkout :is(#checkout-personal-information-step, #checkout-addresses-step) form .form-group.row > .js-input-column,
body#checkout :is(#checkout-personal-information-step, #checkout-addresses-step) form .form-group.row > .col-md-6 {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding: 0;
    order: 3;
}
body#checkout :is(#checkout-personal-information-step, #checkout-addresses-step) form .form-control,
body#checkout :is(#checkout-personal-information-step, #checkout-addresses-step) form select.form-control {
    height: 46px;
    padding: 0 14px;
    font-size: 14px;
    color: #1f2340;
    background-color: #fff;
    border: 1px solid #d9dbe6;
    border-radius: 10px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body#checkout :is(#checkout-personal-information-step, #checkout-addresses-step) form .form-control:focus {
    border-color: #ba0d0d;
    box-shadow: 0 0 0 3px rgba(186, 13, 13, 0.12);
    outline: 0;
}
body#checkout :is(#checkout-personal-information-step, #checkout-addresses-step) form .form-control::placeholder {
    color: #9a9db0;
}
body#checkout :is(#checkout-personal-information-step, #checkout-addresses-step) form .form-group.has-error .form-control {
    border-color: #ba0d0d;
}
body#checkout :is(#checkout-personal-information-step, #checkout-addresses-step) form .form-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b6f85;
}
/* Password con "Mostra": campo e pulsante uniti */
body#checkout :is(#checkout-personal-information-step, #checkout-addresses-step) form .input-group .form-control {
    border-radius: 10px 0 0 10px;
}
body#checkout :is(#checkout-personal-information-step, #checkout-addresses-step) form .input-group .input-group-btn > .btn {
    height: 46px;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 600;
    color: #1f2340;
    background: #f3f4fb;
    border: 1px solid #d9dbe6;
    border-left: 0;
    border-radius: 0 10px 10px 0;
}

@media (max-width: 575px) {
    body#checkout section.checkout-step.checkout-step {
        padding: 14px 16px;
        border-radius: 12px;
    }
    body#checkout section.checkout-step.checkout-step .step-title {
        font-size: 14px;
    }
    body#checkout section.checkout-step.checkout-step .step-number,
    body#checkout section.checkout-step.checkout-step .done {
        margin-right: 8px;
    }
}


/* ==========================================================================
   Carrello da mobile: riga prodotto in griglia
   Il tema usa le colonne Bootstrap (col-xs-6 / col-xs-2 / col-sp-12): sotto i 480px il totale
   della riga va a capo sotto la quantita'. Qui la riga diventa una griglia: foto + nome/prezzi
   in alto, sotto (a tutta larghezza) quantita' - n +, totale della riga e cestino sulla stessa riga.
   Solo sotto i 768px: da tablet in su resta il layout a colonne del tema.
   ========================================================================== */
@media (max-width: 767px) {
    body#cart .cart-grid-body .cart-overview {
        padding: 0;
    }
    body#cart .cart-items {
        padding: 0;
        margin: 0;
    }
    body#cart .cart-items .cart-item {
        padding: 16px;
        border-bottom: 1px solid #eceef7;
    }
    body#cart .cart-items .cart-item:last-child {
        border-bottom: 0;
    }
    body#cart .cart-item .product-line-grid {
        display: grid;
        grid-template-columns: 84px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 12px;
        align-items: start;
        margin: 0;
    }
    /* ::before/::after del .row e il .clearfix diventerebbero celle vuote della griglia */
    body#cart .cart-item .product-line-grid::before,
    body#cart .cart-item .product-line-grid::after,
    body#cart .cart-item .product-line-grid > .clearfix {
        display: none;
    }

    /* Foto */
    body#cart .cart-item .product-line-grid-left {
        grid-column: 1;
        grid-row: 1;
        float: none;
        width: auto;
        max-width: none;
        padding: 0 !important;
    }
    body#cart .cart-item .product-line-grid-left .product-image {
        display: block;
    }
    body#cart .cart-item .product-line-grid-left img {
        display: block;
        width: 100%;
        height: auto;
        border: 1px solid #e3e5ef;
        border-radius: 12px;
    }

    /* Nome, prezzi, attributi */
    body#cart .cart-item .product-line-grid-body {
        grid-column: 2;
        grid-row: 1;
        float: none;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 0;
    }
    body#cart .cart-item .product-line-grid-body br {
        display: none;
    }
    body#cart .cart-item .product-line-grid-body > .product-line-info {
        margin-bottom: 6px;
    }
    body#cart .cart-item .product-line-grid-body > .product-line-info > a.label {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #1f2340;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
    }
    body#cart .cart-item .product-line-grid-body .product-price {
        margin-bottom: 4px;
        font-size: 14px;
    }
    body#cart .cart-item .product-line-grid-body .product-discount {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 0 8px;
        font-size: 13px;
        color: #8a8ea3;
    }
    body#cart .cart-item .product-line-grid-body .product-discount .regular-price {
        margin: 0;
        color: #8a8ea3;
        text-decoration: line-through;
    }
    body#cart .cart-item .product-line-grid-body .product-discount .discount {
        margin: 0;
        padding: 0;
        color: #ba0d0d;
        font-weight: 600;
    }
    body#cart .cart-item .product-line-grid-body .current-price .price {
        color: #ba0d0d;
        font-size: 16px;
        font-weight: 700;
    }
    body#cart .cart-item .product-line-grid-body > .product-line-info:not(.product-price):not(:first-child) {
        margin-bottom: 2px;
        font-size: 12.5px;
        color: #6b6f85;
    }
    body#cart .cart-item .product-line-grid-body > .product-line-info:not(.product-price):not(:first-child) .label {
        font-weight: 600;
        color: #6b6f85;
    }

    /* Quantita' + totale riga + cestino: una riga sola, a tutta larghezza */
    body#cart .cart-item .product-line-grid-right {
        grid-column: 1 / -1;
        grid-row: 2;
        float: none;
        width: auto;
        padding: 0;
    }
    body#cart .cart-item .product-line-grid-right > .row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
    }
    body#cart .cart-item .product-line-grid-right > .row::before,
    body#cart .cart-item .product-line-grid-right > .row::after {
        display: none;
    }
    body#cart .cart-item .product-line-grid-right > .row > .hidden-md-up {
        display: none;
    }
    body#cart .cart-item .product-line-grid-right > .row > .col-md-10 {
        flex: 1 1 auto;
        float: none;
        width: auto;
        min-width: 0;
        padding: 0;
    }
    body#cart .cart-item .product-line-grid-right > .row > .col-md-10 > .row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0;
    }
    body#cart .cart-item .product-line-grid-right > .row > .col-md-10 > .row::before,
    body#cart .cart-item .product-line-grid-right > .row > .col-md-10 > .row::after {
        display: none;
    }
    body#cart .cart-item .product-line-grid-right .qty,
    body#cart .cart-item .product-line-grid-right .price {
        float: none;
        width: auto;
        padding: 0;
    }
    body#cart .cart-item .product-line-grid-right .qty {
        flex: 0 0 auto;
    }
    body#cart .cart-item .product-line-grid-right .price {
        flex: 0 1 auto;
        margin-left: auto;
        text-align: right;
    }
    body#cart .cart-item .product-line-grid-right .price .product-price {
        line-height: 1.2;
    }
    body#cart .cart-item .product-line-grid-right .price .product-price strong {
        color: #1f2340;
        font-size: 17px;
        font-weight: 700;
        white-space: nowrap;
    }

    /* Quantita': - [n] + con aree di tocco da 40px (al posto delle frecce verticali) */
    body#cart .cart-item .product-line-grid-right .bootstrap-touchspin {
        display: flex;
        align-items: stretch;
        float: none;
        width: auto;
        height: 42px;
        overflow: hidden;
        background: #fff;
        border: 1px solid #d9dbe6;
        border-radius: 999px;
    }
    body#cart .cart-item .product-line-grid-right .bootstrap-touchspin .input-group-addon {
        display: none;
    }
    body#cart .cart-item .product-line-grid-right .bootstrap-touchspin .input-group-btn-vertical {
        display: contents;
    }
    body#cart .cart-item .product-line-grid-right .bootstrap-touchspin > .form-control {
        order: 1;
        float: none;
        width: 40px;
        height: 40px;
        padding: 0;
        color: #1f2340;
        font-size: 15px;
        font-weight: 600;
        text-align: center;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        -moz-appearance: textfield;
        appearance: textfield;
    }
    body#cart .cart-item .product-line-grid-right .bootstrap-touchspin > .form-control::-webkit-outer-spin-button,
    body#cart .cart-item .product-line-grid-right .bootstrap-touchspin > .form-control::-webkit-inner-spin-button {
        margin: 0;
        -webkit-appearance: none;
    }
    body#cart .cart-item .product-line-grid-right .bootstrap-touchspin .btn-touchspin {
        display: flex;
        align-items: center;
        justify-content: center;
        float: none;
        width: 40px;
        max-width: none;
        height: 40px;
        margin: 0;
        padding: 0;
        color: #1f2340;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    body#cart .cart-item .product-line-grid-right .bootstrap-touchspin .btn-touchspin:hover,
    body#cart .cart-item .product-line-grid-right .bootstrap-touchspin .btn-touchspin:active {
        background: #f3f4fb;
    }
    body#cart .cart-item .product-line-grid-right .bootstrap-touchspin .btn-touchspin i {
        display: none;
    }
    body#cart .cart-item .product-line-grid-right .bootstrap-touchspin .bootstrap-touchspin-down {
        order: 0;
    }
    body#cart .cart-item .product-line-grid-right .bootstrap-touchspin .bootstrap-touchspin-up {
        order: 2;
    }
    body#cart .cart-item .product-line-grid-right .bootstrap-touchspin .bootstrap-touchspin-down::before {
        content: "\2212";
        font-size: 20px;
        line-height: 1;
    }
    body#cart .cart-item .product-line-grid-right .bootstrap-touchspin .bootstrap-touchspin-up::before {
        content: "+";
        font-size: 20px;
        line-height: 1;
    }

    /* Cestino: area di tocco 40px, a destra */
    body#cart .cart-item .product-line-grid-right > .row > .col-md-2 {
        flex: 0 0 auto;
        float: none;
        width: auto;
        padding: 0;
    }
    body#cart .cart-item .product-line-grid-right .cart-line-product-actions {
        display: flex;
        align-items: center;
        gap: 4px;
        line-height: 1;
    }
    body#cart .cart-item .product-line-grid-right .cart-line-product-actions .remove-from-cart {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 0;
        color: #8a8ea3;
        border-radius: 50%;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    body#cart .cart-item .product-line-grid-right .cart-line-product-actions .remove-from-cart .material-icons {
        float: none;
        margin: 0;
        font-size: 22px;
    }
    body#cart .cart-item .product-line-grid-right .cart-line-product-actions .remove-from-cart:hover,
    body#cart .cart-item .product-line-grid-right .cart-line-product-actions .remove-from-cart:focus-visible {
        color: #ba0d0d;
        background: #fdeeee;
    }
}
