﻿/* ==============================================
   personal-area.css    Area Personale GdB+
   Palette : #000 / #fff / #ffdd00
   Dipende : gdb2.css (Inter, Merriweather, btn-dark, btn-outline-dark, bg-yellow)
============================================== */

/*  LAYOUT BASE  */

body {

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.text-body-sm {
    font-size: .875rem;
    line-height: 1.5;
}



/*  HEADER PAGINA (titolo + border-bottom)  */

.title-area {
    font-family: 'Merriweather', serif;
    font-size: 2.625rem;
    line-height: 3.25rem;
    font-weight: 700;
    color: #000;
}


.sottosezione {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #777;
}

@media (max-width: 575.98px) {
    .title-area {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    .sottosezione {
        font-size: 0.875rem;
    }
}

.sottosezione a {
    text-decoration: none;
    color: #666;
}

.sottosezione a:hover {
    color: #888;
}

header.border-bottom {
    border-color: #e0e0e0 !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/*  SIDEBAR  */

ul.side-bar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    border-right: 1px solid #ececec;
    height: 100%;
}

ul.side-bar-menu li {
    margin-bottom: .2rem;
}


ul.side-bar-menu li a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .65rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: .875rem;
    font-weight: 500;
    border-bottom:1px solid #f5f5f5;
}

ul.side-bar-menu li a:hover {
    background: #eeeeee;
    color: #000;
    text-decoration: none;
}

ul.side-bar-menu li a.active {
    background: #ffdd00;
    color: #000;
    font-weight: 600;
}

ul.side-bar-menu li a.active:hover {
    background: #f5d200;
}

.title-menu {
    font-size: .875rem;
    font-weight: inherit;
    line-height: 1.4;
}

ul.side-bar-menu li a .nav-icon {
    width: 1.1rem;
    text-align: center;
    font-size: .875rem;
    opacity: .45;
    flex-shrink: 0;
}

ul.side-bar-menu li a .nav-chevron {
    margin-left: auto;
    font-size: .6rem;
    opacity: .2;
    flex-shrink: 0;
    transition: opacity .12s, transform .12s;
}

ul.side-bar-menu li a:hover .nav-chevron {
    opacity: .5;
    transform: translateX(2px);
}

ul.side-bar-menu li a.active .nav-icon {
    opacity: .8;
}

ul.side-bar-menu li a.active .nav-chevron {
    opacity: .5;
}


/* Benvenuto */
.welcome-greeting {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    padding: 0;
    margin: 0;
}

.welcome-sub {
    font-size: .9375rem;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* Section label */

.section-header {
    padding-bottom: .5rem;
    border-bottom: 1px solid #efefef;
}

.section-label {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #bbb;
}

/*  SERVICE CARDS (abbonamenti)  */

.svc-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.125rem 1.25rem;
    height: 100%;
    background: #fff;
}

.svc-active {
    border-left: 3px solid #ffdd00;
}

.svc-inactive {
    background: #fafafa;
}

.svc-name {
    font-size: .9375rem;
    font-weight: 600;
    color: #000;
    margin-bottom: .2rem;
}

.svc-meta {
    font-size: .8125rem;
    color: #666;
}

.svc-badge {
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.svc-badge--on  { background: #ffdd00; color: #000; }
.svc-badge--off { background: #e8e8e8; color: #666; }

.svc-btn {
    font-size: .8125rem !important;
    padding: .35rem .9rem !important;
    display: inline-block;
    cursor: pointer;
}

/*  SERVICES LIST (newsletter / community / premium)  */


.services-group-title {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #555;
    padding: .6rem 1.1rem;
    background: #f8f8f8;
    border-bottom: 1px solid #efefef;
}

.services-group-title i {
    font-size: .65rem;
}

/* Righe servizio */

.svc-row {
    padding: .7rem 1.1rem;
    border-bottom: 1px solid #f4f4f4;
    background: #fff;
}

.svc-row:last-child {
    border-bottom: none;
}

.svc-row-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border-radius: 6px;
    font-size: .8rem;
    color: #666;
}

.svc-row-icon--active {
    background: #ffdd00;
    color: #000;
}

.svc-row-body {
    flex: 1;
    min-width: 0;
}

.svc-row-name {
    font-size: .9rem;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.svc-row-meta {
    font-size: .8rem;
    color: #666;
    margin-top: .075rem;
}

.svc-btn-unsub {
    flex-shrink: 0;
    font-size: .78rem;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: .25rem .8rem;
    white-space: nowrap;
    transition: color .12s, border-color .12s;
}

.svc-btn-unsub:hover {
    color: #c00;
    border-color: #c00;
    text-decoration: none;
}

/*  QUICK LINKS  */

.quick-btn {
    font-size: .8125rem !important;
    padding: .4rem 1.1rem !important;
}

/*  PROFILO  sezioni  */

.profile-section {
    padding: 1.75rem 0;
    border-bottom: 1px solid #efefef;
}

.profile-section:first-child {
    padding-top: 0;
}

.profile-section--last {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-section-header {
    background: #4b4b4b;
}

.profile-section-title {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: .15rem;
    margin-top: 0;
    margin-bottom:5px;
}

.profile-section-desc {
    font-size: .8rem;
    color: #E6E6E6;
    margin-bottom: 0;
    line-height: 1.4;
}

.profile-section-icon {
    font-size: 1.25rem;
    color: #ccc;
    flex-shrink: 0;
}



.field-label {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #666;
    display: block;
    margin-bottom: .3rem;
}

.field-value {
    font-size: .9375rem;
    color: #111;
    margin-bottom: 0;
}

.field-input {
    display: block;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: .5rem .875rem;
    font-size: .875rem;
    font-family: 'Inter', sans-serif;
    color: #111;
    background: #fff;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.field-input:focus {
    border-color: #ffdd00;
    box-shadow: 0 0 0 3px rgba(255, 221, 0, .25);
}

/* Carta di pagamento */

.payment-card {
    background: #f5f5f5;
    padding: .875rem 1.25rem;
}

.payment-card i {
    font-size: 1.75rem;
    color: #333;
}

/* Consensi */

.consent-item {
    padding: .875rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.consent-item:last-child {
    border-bottom: none;
}

.consent-title {
    font-size: .9rem;
    font-weight: 600;
    color: #111;
    margin-bottom: .25rem;
}

.consent-desc {
    font-size: .8125rem;
    color: #666;
    line-height: 1.55;
}

/* Bootstrap form-switch  tinta nera */

.form-check-input:checked {
    background-color: #000;
    border-color: #000;
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .12);
    border-color: #666;
}

/*  ORDINI  */

.order-card {
    margin-bottom: .75rem;
}

.order-card:last-child {
    margin-bottom: 0;
}

.order-card-header {
    padding: .8rem 1.1rem;
    background: #f8f8f8;
}

.order-card-title {
    font-size: .9rem;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.order-card-desc {
    font-size: .78rem;
    color: #666;
    margin-top: .1rem;
}

.order-card-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .6rem 1.25rem;
}

.order-meta-label {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #666;
    margin-bottom: .15rem;
}

.order-meta-value {
    font-size: .85rem;
    font-weight: 500;
    color: #222;
}

.order-meta-value--num {
    font-size: .75rem;
    color: #555;
    word-break: break-all;
}

.order-card-footer {
    padding: .75rem 1.1rem;
}

.order-price {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
}

.order-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: .25rem .65rem;
    border-radius: 20px;
    white-space: nowrap;
    text-decoration: none;
}

a.order-badge:hover { filter: brightness(.95); }

.order-badge--active  { background: #e8f5e9; color: #2e7d32; }
.order-badge--pending { background: #fff8e1; color: #f57f17; }
.order-badge--expired { background: #f5f5f5; color: #999; }

.autorinnovo-label strong {
    display: block;
    font-size: .85rem;
    color: #111;
    font-weight: 600;
    margin-bottom: .1rem;
}

.autorinnovo-label span {
    font-size: .78rem;
    color: #666;
}

.order-card-section {
    padding: .85rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.order-card-section-title {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #111;
    margin: 0 0 .1rem;
}

.order-card-notice {
    padding: .85rem 1.1rem;
    font-size: .82rem;
    line-height: 1.55;
    color: #665c00;
    background: #fffbe6;
    border-top: 1px solid #f0d800;
}

.order-card-notice--danger {
    color: #842029;
    background: #f8d7da;
    border-top-color: #f5c2c7;
}

.order-card-notice p {
    margin: 0 0 .4rem;
}

.order-card-notice p:last-child {
    margin-bottom: 0;
}

.order-card-delete {
    background: none;
    border: none;
    padding: 0;
    font-size: .75rem;
    color: #c00;
    text-decoration: underline;
    cursor: pointer;
}

.order-card-delete:hover {
    color: #800;
}

/* MOBILE OFFCANVAS MENU */
.mob-menu-btn {
    padding: .45rem .75rem;
    color: #333;
    cursor: pointer;
    background: none;
}

.mob-menu-btn i {
    font-size: 1rem;
}

.mob-menu-btn .mob-menu-label {
    font-size: .55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.offcanvas.offcanvas-start {
    width: 300px;
    border-right: none;
    box-shadow: 4px 0 24px rgba(0,0,0,.10);
}

.offcanvas-header-area {
    padding: 1rem 1.25rem;
}

.offcanvas-title-text {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #888;
}

.offcanvas-close-btn {
    background: none;
    border: none;
    padding: .25rem .5rem;
    font-size: 1.1rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    border-radius: 6px;
}

.offcanvas-close-btn:hover {
    background: #f5f5f5;
    color: #000;
}

.offcanvas-body ul.side-bar-menu {
    border-right: none;
    height: auto;
}

.offcanvas-user-row {
    padding: 1rem 1.25rem;
}

.offcanvas-user-avatar, .user-avatar {
    width: 2.25rem;
    height: 2.25rem;
    background: #ffdd00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #000;
    flex-shrink: 0;
}

.offcanvas-user-name, .user-name {
    font-size: .9rem;
    color: #111;
}

.offcanvas-user-meta, .user-meta {
    font-size: .75rem;
    color: #666;
}

/*  RESPONSIVE  */


/* =============================================
   SHOP
   ============================================= */

/* Tabs */
.shop-tabs-wrap {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    z-index: 100;
    margin-left: -12px;
    margin-right: -12px;
    padding: 0 12px;
}

.shop-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.shop-tabs::-webkit-scrollbar { display: none; }

.shop-tab {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: 0.7rem 1.25rem;
    font-size: .9rem;
    font-weight: 600;
    color: #888;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: color .15s, border-color .15s;
}

.shop-tab:hover {
    color: #000;
}

.shop-tab.active {
    color: #000;
    border-bottom-color: #ffdd00;
}

.shop-tab i {
    font-size: .8rem;
}

/* Panels */
.shop-panel {
    display: none;
    padding: 2rem 0;
}

.shop-panel.active {
    display: block;
}

.shop-panel-desc {
    font-size: .9rem;
    color: #777;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 680px;
}


/* Card prodotto */
.shop-card {
    overflow: hidden;
    transition: box-shadow .18s, border-color .18s;
}

.shop-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    border-color: #d0d0d0 !important;
}

.shop-card--featured {
    border-color: #ffdd00 !important;
    border-width: 2px !important;
}

.shop-card--featured:hover {
    border-color: #f5d200;
}

.shop-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: #ffdd00;
    color: #000;
    padding: .2rem .6rem;
    border-radius: 20px;
    white-space: nowrap;
}

.shop-card-header {
    border-bottom: 1px solid #f4f4f4;
}

.shop-card-label {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #555;
    margin-bottom: .5rem;
}

.shop-price-amount {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    line-height: 1;
}

.shop-price-unit {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
}

.shop-price-note {
    font-size: .75rem;
    color: #555;
    min-height: 1lh;
}

.shop-features li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .8375rem;
    color: #333;
    line-height: 1.4;
}

.shop-features li i.fa-check {
    color: #2e7d32;
    font-size: .7rem;
    margin-top: .2rem;
    flex-shrink: 0;
}

.shop-features li i.fa-xmark {
    color: #ccc;
    font-size: .7rem;
    margin-top: .2rem;
    flex-shrink: 0;
}

.shop-feature--off { color: #bbb; }

.shop-feature--note {
    color: #aaa;
    font-size: .78rem;
}

.shop-feature--note i.fa-circle-info {
    color: #bbb;
    font-size: .7rem;
    margin-top: .2rem;
    flex-shrink: 0;
}

.shop-feature-text {
    display: block;
    border: 1px solid #ffdd00;
    background: #fff8ca;
    padding: .35rem .75rem;
    font-size: .85rem;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    border-radius: 8px;
}

.shop-device-pill {
    background: #f5f5f5;
    padding: .3rem .85rem;
    font-size: .78rem;
    color: #444;
}




/* =============================================
   SLIDER INIZIATIVE MARKETING
   ============================================= */

/* Wrapper esterno */

/* Header con badge + titolo + dots + frecce */

.mkt-header-left {
    gap: .85rem;
}

/* Badge "Offerte" migliorato */
.mkt-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: #000;
    color: #ffdd00;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .4rem .85rem;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.mkt-badge i {
    font-size: .65rem;
}

.mkt-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #111;
    margin: 0;
}

/* Dots indicatori */
.mkt-dots {
    padding: 1rem 0 0.5rem;
}

.mkt-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d0d0;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all .25s ease;
}

.mkt-dot:hover {
    background: #999;
    transform: scale(1.2);
}

.mkt-dot.active {
    background: #000;
    width: 24px;
    border-radius: 4px;
}

/* Frecce navigation */
.mkt-arrow-btn {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    border: 1px solid #d0d0d0;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: #333;
    cursor: pointer;
    transition: all .2s;
    padding: 0;
    flex-shrink: 0;
    line-height: 1;
}

.mkt-arrow-btn:hover {
    background: #000;
    border-color: #000;
    color: #ffdd00;
    transform: scale(1.05);
}

/* Contenitore scorrevole */
.mkt-slider {
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 1.5rem 1rem;
    margin-bottom: .5rem;
}

.mkt-slider::-webkit-scrollbar { display: none; }

/* Card singola — layout inline foto + testo */
.mkt-card {
    flex: 0 0 480px;
    border-radius: 14px;
    scroll-snap-align: start;
    transition: all .25s ease;
}

.mkt-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    border-color: #d0d0d0;
}

/* Thumbnail 1:1 a sinistra */
.mkt-card-thumb {
    flex: 0 0 200px;
    width: 200px;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
}

.mkt-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.mkt-card:hover .mkt-card-thumb img {
    transform: scale(1.08);
}

/* Corpo testuale a destra */
.mkt-card-body {
    flex: 1;
    padding: 1.35rem 1.5rem;
    gap: .5rem;
    border-left: 3px solid #ffdd00;
    min-width: 0;
}

.mkt-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    margin: 0;
}

.mkt-card-desc {
    font-size: .82rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.mkt-card-body .btn-yellow {
    margin-top: .5rem;
    font-size: .8rem !important;
    align-self: flex-start;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    font-weight: 600;
}

/* Responsive promozioni */
@media (max-width: 991.98px) {
    .mkt-wrap {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }

    .mkt-header {
        padding: 0 1rem;
        flex-wrap: wrap;
    }

    .mkt-title {
        font-size: 1.2rem;
    }

    .mkt-slider {
        padding: 0 1rem 1rem;
    }

    .mkt-card {
        flex: 0 0 85vw;
    }
}


@media (max-width: 575.98px) {
    /* Layout verticale: immagine 1:1 in cima, testo sotto */
    .mkt-wrap {
        margin: 1.5rem 0;
        padding: 1.25rem 0;
    }

    .mkt-header {
        padding: 0 .75rem;
        margin-bottom: .75rem;
    }

    .mkt-header-left {
        gap: .65rem;
    }

    .mkt-badge {
        font-size: .65rem;
        padding: .35rem .7rem;
    }

    .mkt-title {
        font-size: 1.05rem;
    }

    .mkt-dots {
        gap: .4rem;
        padding: .75rem 0 .25rem;
    }

    .mkt-dot {
        width: 6px;
        height: 6px;
    }

    .mkt-dot.active {
        width: 18px;
    }

    .mkt-arrow-btn {
        width: 1.9rem;
        height: 1.9rem;
        font-size: .75rem;
    }

    .mkt-slider {
        padding: 0 .75rem 1rem;
    }

    .mkt-card {
        flex: 0 0 66vw;
    }

    .mkt-card-thumb {
        flex: none;
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .mkt-card-body {
        border-left: none;
        border-top: 3px solid #ffdd00;
        padding: 1rem 1.15rem;
    }

    .mkt-card-title {
        font-size: 1rem;
    }

    .mkt-card-desc {
        font-size: .78rem;
    }
}

/* =============================================
   SEZIONE FOOTER INFORMAZIONI UTILI
   ============================================= */

.shop-footer-section {
    margin: 4rem 0 2rem;
    padding-top: 3rem;
    border-top: 1px solid #e8e8e8;
}

.shop-footer-header {
    margin-bottom: 2.5rem;
}

.shop-footer-title {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: .5rem;
}

@media (max-width: 575px) {
    .shop-footer-title {
        font-size: 1.4rem;
    }
}

.shop-footer-subtitle {
    font-size: .95rem;
    color: #777;
    margin: 0;
}

/* Card info */
.shop-info-card {
    transition: box-shadow .25s, transform .25s, border-color .25s;
    border: 1px solid #e8e8e8;
}

.shop-info-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-4px);
    border-color: #ccc !important;
}

/* Layout orizzontale con icona a sinistra */



/* Icona circolare */
.shop-info-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    margin: 0 auto;
    background: #f8f8f8;
    border: 2px solid #e8e8e8;
    color: #333;
}

/* Contenuto */
.shop-info-content {
    flex: 1;
}

.shop-info-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111;
    margin-bottom: .75rem;
}

.shop-info-desc {
    font-size: .9rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: .75rem;
}

.shop-info-note {
    font-size: .8rem;
    color: #888;
    line-height: 1.5;
    padding: .65rem .85rem;
    background: #f8f9fa;
    border-left: 3px solid #ffdd00;
    border-radius: 6px;
    margin-bottom: 0;
}

.shop-info-note i {
    color: #ffdd00;
}

/* Action button */
.shop-info-action {
    margin-top: auto;
}


/* Contatti interni alla card */
.shop-info-contacts {
    margin-top: .5rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.shop-info-contact-item {
    padding: .75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.shop-info-contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.shop-info-contact-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #888;
    margin-bottom: .35rem;
}

.shop-info-contact-link {
    font-size: .875rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    display: block;
    word-break: break-all;
    transition: color .2s;
}

.shop-info-contact-link:hover {
    color: #000;
    text-decoration: underline;
}

.shop-info-contact-link i {
    color: #ffdd00;
}

/* Card contatti orizzontale */


.shop-info-contacts-header {
    border-bottom: 2px solid #f0f0f0;
}

.shop-info-contacts-header .shop-info-icon {
    margin: 0;
}


.community-inner {
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
    color:#555;
}

.intro-community-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 2rem;
}

.intro-community-ornament::before,
.intro-community-ornament::after {
    content: '';
    display: block;
    width: 44px;
    height: 1px;
    background: #d0d0d0;
}

.intro-community-ornament span {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d0d0d0;
}
.intro-community-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 2px solid var(--navy);
    padding-bottom: .2rem;
    transition: opacity .2s;
}
.intro-community-pillars {
    list-style: none;
    padding: 0;
    margin: 0 0 2.75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #ffdd00;
    xborder: 1px solid #e4e1d8;
    counter-reset: pillar;
}

@media (max-width: 480px) {
    .intro-community-pillars {
        grid-template-columns: 1fr;
    }
}

.intro-community-pillars li {
    counter-increment: pillar;
    position: relative;
    background: #fff;
    padding: 1.5rem 1.4rem 1.4rem;
    overflow: hidden;
    text-align: left;
}

.intro-community-pillars li::before {
    content: counter(pillar, upper-roman);
    position: absolute;
    top: -.25rem;
    right: .6rem;
    font-family: 'Days One', sans-serif;
    font-size: 3.8rem;
    color: rgba(0,0,0,.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
/* 
.intro-community-pillars li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--navy);
} */

.intro-community-pillars li span.pillar-num {
    display: block;
    font-family: 'Days One', sans-serif;
    font-size: .6rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #aaa;
}

.intro-community-pillars li span.pillar-text {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.45;
    letter-spacing: .01em;
}

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

/* Intestazione colonna principale */
.checkout-col-heading {
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #555;
    margin-bottom: 1rem;
}

.checkout-col-heading i {
    font-size: .875rem;
    color: #333;
}

/* Intestazione prodotto inline (colonna sinistra) */
.checkout-product-header {
    padding-bottom: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #efefef;
}

.checkout-breadcrumb-light {
    display: flex;
    align-items: center;
    gap: .4rem;
    list-style: none;
    padding: 0;
    margin: 0 0 .5rem;
    font-size: .78rem;
    color: #bbb;
}

.checkout-breadcrumb-light li + li::before {
    content: '›';
    margin-right: .4rem;
    color: #ddd;
}

.checkout-breadcrumb-light a {
    color: #999;
    text-decoration: none;
}

.checkout-breadcrumb-light a:hover { color: #000; }

.checkout-breadcrumb-light li[aria-current] { color: #333; }

.checkout-product-title {
    font-family: 'Merriweather', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 .5rem;
    line-height: 1.25;
}

.checkout-product-duration {
    display: inline-flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: .3rem .85rem;
    font-size: .82rem;
    font-weight: 600;
    color: #444;
}

.checkout-product-price-inline {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
}

/* Sezioni form */

.checkout-section--last { margin-bottom: 0; }

.checkout-step-num {
    width: 1.75rem;
    height: 1.75rem;
    background: #ffdd00;
    color: #000;
    font-size: .75rem;
}

.checkout-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #111;
}

.checkout-optional-tag {
    font-size: .62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #aaa;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: .1rem .55rem;
    margin-left: .4rem;
    vertical-align: middle;
}

/* Blocco dati read-only */
.checkout-data-block {
    background: #f9f9f9;
    border: 1px solid #efefef;
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.checkout-data-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #999;
    margin-bottom: .2rem;
}

.checkout-data-value {
    font-size: .9375rem;
    color: #111;
    font-weight: 500;
}

/* Empty state */
.checkout-empty-state {
    background: #fffbe6;
    border: 1px solid #f0d800;
    padding: 1rem 1.25rem;
    font-size: .875rem;
    color: #555;
}

.checkout-empty-state > i {
    font-size: 1.1rem;
    color: #b89800;
    flex-shrink: 0;
    margin-top: .15rem;
}

.checkout-link-edit {
    font-size: .8125rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.checkout-link-edit:hover {
    color: #333;
    text-decoration: underline;
}

/* Codice sconto */

.checkout-discount-input { flex: 1; }

.checkout-discount-btn { white-space: nowrap; flex-shrink: 0; }

/* Note informative */
.checkout-field-note {
    font-size: .78rem;
    color: #aaa;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Condizioni generali */
.checkout-cgc-check .form-check-label {
    font-size: .875rem;
    color: #333;
    line-height: 1.65;
}

.checkout-link-cgc {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

.checkout-link-cgc:hover { color: #555; }

/* CTA principale */
.checkout-cta-btn {
    font-size: 1rem !important;
    font-weight: 700 !important;
}

/* ---- Sidebar riepilogo ---- */
.checkout-summary-cart-header {
    padding: .9rem 1.25rem;
    background: #ffdd00;
    border-bottom: 1px solid #f0c800;
}

.checkout-summary-cart-icon {
    font-size: 1rem;
    color: #000;
    flex-shrink: 0;
}

.checkout-summary-cart-label {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #000;
}

.checkout-summary-card {
    position: sticky;
    top: 68px;
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
}

.checkout-summary-header {
    padding: 1.1rem 1.25rem 1rem;
    border-bottom: 1px solid #efefef;
}

.checkout-summary-eyebrow {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #aaa;
    margin-bottom: .35rem;
}

.checkout-summary-product-name {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin-bottom: .2rem;
}

.checkout-summary-duration {
    display: inline-flex;
    align-items: center;
    background: #ffdd00;
    border-radius: 20px;
    padding: .2rem .7rem;
    font-size: .75rem;
    font-weight: 700;
    color: #000;
    margin-top: .2rem;
}

.checkout-summary-features {
    padding: 1rem 1.25rem !important;
    margin: 0 !important;
}

.checkout-summary-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 0 1.25rem;
}

.checkout-total-box {
    padding: .875rem 1.25rem;
}

.checkout-total-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #999;
}

.checkout-total-price {
    font-family: 'Merriweather', serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #000;
    line-height: 1;
}

.checkout-total-unit {
    font-size: .9rem;
    font-weight: 700;
    color: #444;
}

.checkout-total-note {
    font-size: .72rem;
    color: #aaa;
    padding: 0 1.25rem .875rem;
    line-height: 1.5;
}

.checkout-renew-note {
    font-size: .78rem;
    color: #666;
    padding: .875rem 1.25rem;
    line-height: 1.6;
}

.checkout-notice-list {
    padding: .875rem 1.25rem;
}

.checkout-notice-list li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .78rem;
    color: #777;
    line-height: 1.4;
}

.checkout-notice-list li > i {
    font-size: .7rem;
    color: #bbb;
    margin-top: .2rem;
    flex-shrink: 0;
}

.checkout-notice-list a {
    color: #555;
    text-decoration: none;
}

.checkout-notice-list a:hover { text-decoration: underline; }

.checkout-back-link {
    display: block;
    font-size: .8125rem;
    font-weight: 500;
    color: #999;
    text-decoration: none;
    padding: .875rem 1.25rem;
    border-top: 1px solid #f0f0f0;
}

.checkout-back-link:hover { color: #000; }

@media (max-width: 575.98px) {
    .checkout-product-title { font-size: 1.25rem; }
    .checkout-total-price { font-size: 1.5rem; }
}

/* =============================================
   FATTURAZIONE
   ============================================= */

.billing-hero {
    background: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    padding: 1.75rem 0;
}

.billing-breadcrumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    list-style: none;
    padding: 0;
    margin: 0 0 .5rem;
    font-size: .78rem;
    color: #aaa;
}

.billing-breadcrumb li + li::before {
    content: '›';
    margin-right: .4rem;
}

.billing-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.billing-breadcrumb a:hover { color: #000; text-decoration: underline; }

.billing-breadcrumb li[aria-current] { color: #333; }

.billing-hero-title {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #111;
}

.billing-form-card {
    padding: 2rem;
}

.billing-section-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #bbb;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid #f0f0f0;
}

.billing-note {
    background: #fffbe6;
    border: 1px solid #f0d800;
    border-radius: 8px;
    padding: .875rem 1rem;
    font-size: .8125rem;
    color: #665c00;
    line-height: 1.6;
}

.billing-note i { color: #b89800; }

.billing-cancel-btn {
    padding: .9rem 1.5rem !important;
    font-size: .9rem !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .billing-form-card { padding: 1.25rem; }
}


/* =============================================
   SHOP — HERO EMOZIONALE CON VIDEO
   ============================================= */

.shop-emotion-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 360px;
    margin-top: 2rem;
}

.shop-emotion-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 30%, rgba(0, 0, 0, .15) 75%);
    pointer-events: none;
    z-index: 1;
}

.shop-emotion-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (prefers-reduced-motion: reduce) {
    .shop-emotion-video { display: none; }
    .shop-emotion-hero {
        background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
    }
}

.shop-emotion-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 2rem;
    max-width: 800px;
    margin-top: auto;
    background: radial-gradient(ellipse at center, rgba(0,0,0,.35) 0%, transparent 70%);
    border-radius: 24px;
}

.shop-emotion-badge {
    font-family: 'Days One', sans-serif;
    font-size: .7rem;
    font-weight: 600;
    color: #000;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: .3px;
    text-transform: uppercase;
    background: #ffdd00;
}

.shop-emotion-quote {
    font-family: 'Merriweather', serif;
    font-size: 1.7rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.35;
    color: #fff;
    margin: 0 0 1.5rem;
    border: none;
    padding: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.4);
}

.shop-emotion-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}

.shop-emotion-ornament span {
    width: 40px;
    height: 3px;
    background: #ffdd00;
    border-radius: 2px;
}

.shop-emotion-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,.5);
    padding: .6rem 1.4rem;
    border-radius: 50px;
    transition: all .2s ease;
}

.shop-emotion-cta:hover {
    background: #ffdd00;
    border-color: #ffdd00;
    color: #000;
}

/* Responsive emotion hero */
@media (max-width: 767px) {
    .shop-emotion-hero { min-height: 280px; }
    .shop-emotion-quote { font-size: 1.25rem; }
    .shop-emotion-content { padding: 2.5rem 1.5rem; }
}

@media (min-width: 992px) {
    .shop-emotion-hero { min-height: 500px; }
    .shop-emotion-quote { font-size: 2rem; }
}


/* =============================================
   SHOP — TITOLO SEZIONE PULITO
   ============================================= */

.shop-section-heading {
    padding: 4rem 0 1rem;
    text-align: center;
}

.shop-section-eyebrow {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #999;
    margin-bottom: .5rem;
}

.shop-section-title {
    font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
    margin: 0;
}

@media (max-width: 575px) {
    .shop-section-title { font-size: 1.4rem; }
}


/* =============================================
   SHOP — SUB-HEADER pagine interne
   ============================================= */

.shop-subheader {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 48px;
    z-index: 99;
    padding: .45rem 0;
}

.shop-subheader-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.shop-subheader-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
    flex-shrink: 0;
}

.shop-subheader-back:hover { color: #000; }

.shop-subheader-back i { font-size: .75rem; }

.shop-subheader .checkout-breadcrumb-light {
    margin-bottom: 0;
}

/* =============================================
   SHOP — ACCORDION MANIFESTO
   ============================================= */
.manifesto-doc-title {
    font-family: 'Days One', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 10px;
    color: #1a1a2e;
    line-height: 1;
}

@media (max-width: 575px) {
    .manifesto-doc-title {
        font-size: 1.5rem;
        letter-spacing: 6px;
    }
}

.manifesto-doc-meta {
    font-size: .7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    font-weight: 500;
}

.manifesto-intro {
    font-size: 1rem;
    line-height: 1.75;
    color: #555;
}

.manifesto-section-title {
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    color: #1a1a2e;
}

.manifesto-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #333;
    border-radius: 50%;
    font-size: .95rem;
    color: #fff;
    font-family: 'Days One', sans-serif;
}

.shop-manifesto-accordion {
    margin-top: 1.5rem;
}

.shop-manifesto-accordion .accordion-item {
    border: 2px solid #e8eaed;
    border-radius: 12px !important;
    overflow: hidden;
}

.shop-manifesto-accordion .accordion-button {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    background: #fafafa;
    padding: 1.1rem 1.5rem;
    box-shadow: none;
}

.shop-manifesto-accordion .accordion-button:not(.collapsed) {
    background: #1a1a2e;
    color: #ffdd00;
}

.shop-manifesto-accordion .accordion-button::after {
    filter: none;
}

.shop-manifesto-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.shop-manifesto-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(255, 221, 0, .4);
}

.shop-manifesto-accordion .accordion-body {
    padding: 2rem 1.5rem;
    background: #fff;
}

@media (min-width: 992px) {
    .shop-manifesto-accordion .accordion-body {
        padding: 2.5rem 3rem;
    }
}


/* =============================================
   SHOP — ENTERPRISE BANNER (Multiutenza)
   ============================================= */

.shop-enterprise-banner {
    position: relative;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.shop-enterprise-accent {
    height: 2px;
    background: linear-gradient(90deg, #e0e0e0 0%, transparent 100%);
}

.shop-enterprise-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.15rem 1.5rem;
}

.shop-enterprise-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #888;
}

.shop-enterprise-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: .15rem;
}

.shop-enterprise-desc {
    font-size: .8rem;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

.shop-enterprise-action {
    flex-shrink: 0;
    text-align: center;
}

.shop-enterprise-price {
    font-size: .75rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .4rem;
}

.shop-enterprise-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: transparent;
    color: #333;
    font-size: .8rem;
    font-weight: 600;
    padding: .5rem 1.2rem;
    border: 1.5px solid #ccc;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s ease;
}

.shop-enterprise-cta:hover {
    background: #333;
    border-color: #333;
    color: #fff;
}

@media (max-width: 767px) {
    .shop-enterprise-body {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem 1.25rem;
    }
    .shop-enterprise-action {
        text-align: left;
    }
}


/* ============================================
   BANNER PRIME PAGINE — Iniziativa permanente
============================================ */
.pp-banner {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    margin: 1.25rem 0 3rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.pp-banner-accent {
    width: 5px;
    flex-shrink: 0;
    background: #ffdd00;
}

.pp-banner-img {
    flex: 0 0 240px;
    background: #f8f8f4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    overflow: hidden;
}

.pp-banner-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.pp-banner-body {
    flex: 1;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .45rem;
    min-width: 0;
}

.pp-banner-title {
    font-family: 'Merriweather', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    line-height: 1.45;
    margin: 0;
}

.pp-banner-desc {
    font-size: .82rem;
    color: #666;
    line-height: 1.55;
    margin: 0;
}

.pp-banner-features {
    list-style: none;
    padding: 0;
    margin: .2rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: .3rem .9rem;
}

.pp-banner-features li {
    font-size: .78rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.pp-banner-features li i {
    font-size: .6rem;
    color: #fff;
    background: #111;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pp-banner-action {
    border-left: 1px solid #f0f0f0;
    text-align: center;
    min-width: 160px;
}

.pp-banner-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.pp-banner-price-note {
    font-size: .7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .04em;
}

@media (max-width: 767px) {
    .pp-banner {
        flex-direction: column;
    }
    .pp-banner-accent {
        width: 100%;
        height: 4px;
    }
    .pp-banner-img {
        flex: 0 0 auto;
        width: 100%;
        padding: 1.25rem;
        max-height: 160px;
    }
    .pp-banner-img img {
        max-height: 150px;
        width: auto;
        margin: 0 auto;
    }
    .pp-banner-action {
        border-left: none;
        border-top: 1px solid #f0f0f0;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
        text-align: left;
        min-width: unset;
    }
}