html {
    scroll-behavior: smooth;
    scroll-padding-top: 250px;
}

/* Header sito pubblico Buonielisteonline */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    z-index: 1030;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 68px;
}

.site-header__brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-header__brand img {
    height: 90px;
    width: auto;
}

.site-header__toggle{
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 1.35rem;
    cursor: pointer;
    padding: 0;
}

.site-header__toggle:hover {
    background: #f8fafc;
}

.site-header__panel {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1rem;
    min-width: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__link {
    display: inline-block;
    color: #475569;
    text-decoration: none;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-nav__link:hover,
.site-nav__link:focus {
    color: #0284c7;
    background: #f0f9ff;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.site-header__user {
    font-size: 0.8125rem;
    color: #64748b;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-header__actions .btn {
    font-weight: 600;
    border-radius: 8px;
    padding: 0.45rem 1rem;
    white-space: nowrap;
}

.site-header__logout {
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: none;
    padding: 0.35rem 0.5rem;
}

.site-header__logout:hover {
    color: #0f172a;
}

@media (max-width: 991.98px) {
    .site-header__inner {
        flex-wrap: wrap;
        align-items: center;
        min-height: 56px;
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
    }

    .site-header__brand img {
        height: 56px;
        padding: 4px 5px;
    }

    .site-header__toggle {
        display: inline-flex;
    }

    .site-header__panel {
        display: none;
        order: 3;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 0 0.25rem;
        border-top: 1px solid #f1f5f9;
        margin-top: 0.25rem;
    }

    .site-header__panel.is-open {
        display: flex;
    }

    .site-nav {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        gap: 0.1rem;
    }

    .site-nav__link {
        padding: 0.7rem 0.5rem;
    }

    .site-header__actions {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid #e2e8f0;
        flex-wrap: wrap;
    }
}

/* Footer sito pubblico */
.site-footer {
    margin-top: 3rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    color: #475569;
}

.site-footer__grid {
    display: grid;
    gap: 2rem 1.5rem;
    padding: 2.4rem 0 1.75rem;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-footer__logo img {
    height: 64px;
    width: auto;
}

.site-footer__tagline {
    margin: 0.85rem 0 0.9rem;
    max-width: 22rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #64748b;
}

.site-footer__mail {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
}

.site-footer__mail:hover,
.site-footer__mail:focus {
    color: #0369a1;
}

.site-footer__title {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__links li + li {
    margin-top: 0.45rem;
}

.site-footer__links a {
    color: #334155;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
}

.site-footer__links a:hover,
.site-footer__links a:focus {
    color: #0284c7;
}

.site-footer__bar {
    border-top: 1px solid #e2e8f0;
    padding: 1rem 0 1.25rem;
}

.site-footer__places {
    border-top: 1px solid #e2e8f0;
    padding: 1.35rem 0 1.1rem;
}

.site-footer__places .site-footer__title {
    margin-bottom: 0.85rem;
}

.site-footer__places-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__places-list a {
    color: #334155;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.site-footer__places-list a:hover,
.site-footer__places-list a:focus {
    color: #0284c7;
}

.site-footer__legal {
    border-top: 1px solid #e2e8f0;
    padding: 1.1rem 0 0.25rem;
}

.site-footer__legal-line {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #64748b;
}

.site-footer__copy {
    font-size: 0.8125rem;
    color: #64748b;
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
        align-items: start;
    }
}

@media (max-width: 767.98px) {
    .site-footer__grid {
        padding-top: 1.75rem;
        gap: 1.5rem;
    }

    .site-footer__logo img {
        height: 52px;
    }
}

/* Home e pagine pubbliche */

/* Hero slider (stile Wishbob) */
.hero-slider {
    position: relative;
    background: #0f172a;
    margin-top: 1.5rem;
}

.hero-slider__viewport {
    position: relative;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}

.home-search-strip {
    background: #fff;
    padding: 2.4rem 0 2.1rem;
    /* border-bottom: 1px solid #e2e8f0; */
    text-align: center;
}

.home-search-strip > .container {
    background-color: blanchedalmond;
    padding: 15px 50px;
    border-radius: 15px;
}

.home-search-strip__title {
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 0.55rem;
}

.home-search-strip__subtitle {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #475569;
    margin: 0 auto 1.35rem;
    max-width: 40rem;
}

.home-search-strip .home-due-quick__btn {
    border-color: #cbd5e1;
    background: #fff;
    color: #0f172a;
}

.home-search-strip .home-due-quick__btn:hover,
.home-search-strip .home-due-quick__btn.is-active {
    background: #0284c7;
    border-color: #0284c7;
    color: #fff;
}

.home-client-box {
    background: #fff;
    padding: 0 0 2.6rem;
}

.shops-section + .home-client-box {
    padding-top: 2.75rem;
}

.home-client-box__panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.75rem 1.85rem 1.7rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    text-align: left;
}

.home-client-box__head {
    text-align: center;
    margin-bottom: 1.25rem;
}

.home-client-box__title {
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0.35rem 0 0.25rem;
    color: #0f172a;
}

.home-client-box__tagline {
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 0;
}

.home-client-box__tagline--accent {
    color: #ea580c;
    font-weight: 700;
}

.home-client-box__panel p,
.home-client-box__panel ul {
    font-size: 1.05rem;
    color: #475569;
}

.home-client-box__panel ul {
    margin-bottom: 1rem;
    padding-left: 1.15rem;
}

.home-client-box__panel ul li {
    margin-bottom: 0.5rem;
}

.home-client-box__area {
    margin-top: 1.35rem;
    padding: 1.15rem 1.2rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.home-negoziante-licenza {
    margin: 0 0 1.35rem;
    padding: 1.35rem 1.4rem 1.25rem;
    text-align: center;
    background: linear-gradient(180deg, #fff7ed 0%, #fff 70%);
    border: 1px solid #fdba74;
    border-radius: 14px;
}

.home-negoziante-licenza__kicker {
    margin: 0 0 0.2rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c2410c;
}

.home-negoziante-licenza__price {
    margin: 0 0 0.75rem;
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.1;
    color: #9a3412;
}

.home-negoziante-licenza__price span {
    font-size: 1.05rem;
    font-weight: 700;
    color: #c2410c;
}

.home-negoziante-licenza__lead {
    font-size: 1.08rem;
    color: #475569;
}

.home-negoziante-cta {
    text-align: center;
    margin: 1.15rem 0 0;
}

.home-negoziante-cta--bottom {
    margin: 1.75rem 0 0;
}

.home-negoziante-cta__btn {
    background: #0284c7;
    border: 1px solid #0284c7;
    color: #fff;
    font-weight: 700;
    padding: 0.62rem 1.45rem;
}

.home-negoziante-cta__btn:hover,
.home-negoziante-cta__btn:focus {
    background: #0369a1;
    border-color: #0369a1;
    color: #fff;
}

@media (max-width: 767.98px) {
    .home-client-box__panel {
        padding: 1.25rem 1rem 1.2rem;
    }

    .home-negoziante-licenza {
        padding: 1.1rem 0.95rem 1rem;
    }

    .home-negoziante-licenza__price {
        font-size: 1.75rem;
    }
}

.hero-slider__track {
    position: relative;
    min-height: clamp(220px, 28vw, 340px);
}

.hero-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s ease, visibility 0.65s ease;
    z-index: 0;
}

.hero-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slider__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    transition: transform 6s ease;
}

.hero-slider__slide.is-active .hero-slider__bg {
    transform: scale(1);
}

.hero-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(15, 23, 42, 0.55) 42%,
        rgba(15, 23, 42, 0.2) 100%
    );
}

.hero-slider__container {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: clamp(220px, 28vw, 340px);
    display: flex;
    align-items: center;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.hero-slider__content {
    max-width: 56rem;
    color: #fff;
}

.hero-slider__title {
    font-size: clamp(1.4rem, 2.8vw, 2.05rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.65rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-slider__text {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.5;
    margin-bottom: 1.1rem;
    opacity: 0.95;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.hero-slider__cta {
    font-weight: 700;
    border-radius: 999px;
    padding: 0.55rem 1.35rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-slider__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: background 0.15s ease, transform 0.15s ease;
}

.hero-slider__arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.hero-slider__arrow--prev {
    left: 1rem;
}

.hero-slider__arrow--next {
    right: 1rem;
}

.hero-slider__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.1rem;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    pointer-events: none;
}

.hero-slider__dot {
    pointer-events: auto;
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.hero-slider__dot.is-active {
    background: #fff;
    transform: scale(1.2);
}

.hero-slider__dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767.98px) {
    .hero-slider__track,
    .hero-slider__container {
        min-height: clamp(200px, 52vw, 280px);
    }

    .hero-slider__container {
        padding-top: 1.1rem;
        padding-bottom: 1.85rem;
        align-items: flex-end;
    }

    .hero-slider__arrow {
        display: none;
    }

    .hero-slider__content {
        max-width: 100%;
        padding-right: 0;
    }

    .hero-slider__title {
        font-size: 1.2rem;
        line-height: 1.15;
        margin: 0 0 0.35rem;
    }

    .hero-slider__text {
        font-size: 0.9rem;
        line-height: 1.25;
        margin-bottom: 0.7rem;
    }

    .hero-slider__cta {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

    .hero-slider__dots {
        bottom: 0.65rem;
    }
}

.hero {
    padding: 72px 0;
    background: #f8fafc;
    color: #0f172a;
}

.hero-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-intro__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
    text-shadow: 0 2px 18px rgba(15, 23, 42, 0.18);
}

.hero-intro__lead {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 500;
    line-height: 1.55;
    /* max-width: 42rem; */
    margin: 0 auto 1.75rem;
    opacity: 0.98;
}

.hero-intro__panel {
    text-align: left;
    margin: 0 auto;
    padding: 1.5rem 1.65rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.hero-intro__hook {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.hero-intro__text {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.1rem;
    color: #475569;
}

.hero-intro__highlight {
    color: #0284c7;
    font-weight: 700;
}

.hero-intro__closing {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 1.2rem;
    line-height: 1.65;
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    color: #334155;
}

.hero-intro__closing i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    font-size: 1.15rem;
    color: #0284c7;
}

@media (min-width: 768px) {
    .hero-intro__panel {
        padding: 1.85rem 2rem;
    }

    .hero-intro__text {
        font-size: 1.25rem;
    }
}

.hero-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.section {
    padding: 64px 0;
}

.shops-section {
    position: relative;
    background:
        radial-gradient(ellipse 80% 50% at 10% 0%, rgba(14, 165, 233, 0.10), transparent 55%),
        radial-gradient(ellipse 70% 45% at 90% 100%, rgba(2, 132, 199, 0.08), transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #eef6fb 100%);
}

.home-search-strip + .shops-section {
    padding-top: 1.25rem;
}

.shops-section__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0284c7;
}

.shops-section__title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.shops-section__lead {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.6;
}

.shop-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.25rem 1.35rem 1.15rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.shop-card:hover,
.shop-card:focus-visible {
    color: inherit;
    text-decoration: none;
    transform: translateY(-4px);
    border-color: #bae6fd;
    box-shadow: 0 14px 32px rgba(2, 132, 199, 0.12);
    outline: none;
}

.shop-card__top {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex: 1;
}

.shop-card__logo {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 14px;
    object-fit: cover;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.shop-card__logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0284c7;
    background: linear-gradient(145deg, #e0f2fe 0%, #f0f9ff 100%);
    border-color: #bae6fd;
}

.shop-card__body {
    min-width: 0;
    flex: 1;
}

.shop-card__name {
    margin: 0 0 0.55rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.shop-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.shop-card__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #64748b;
}

.shop-card__meta-item i {
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 1rem;
    color: #0284c7;
}

.shop-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.shop-card__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #e0f2fe;
    color: #0369a1;
}

.shop-card__chip i {
    font-size: 0.9rem;
}

.shop-card__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.1rem;
    padding-top: 0.9rem;
    border-top: 1px solid #f1f5f9;
}

.shop-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0284c7;
    transition: gap 0.2s ease;
}

.shop-card:hover .shop-card__cta,
.shop-card:focus-visible .shop-card__cta {
    gap: 0.55rem;
}

@media (max-width: 575.98px) {
    .shop-card__logo {
        width: 60px;
        height: 60px;
    }

    .shop-card__name {
        font-size: 1.05rem;
    }
}

.muted {
    color: #64748b;
}

.form-note {
    font-size: 12px;
    color: #64748b;
}

.feature-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    background: #fff;
    height: 100%;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 22px;
}

.pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 13px;
}

.dual-badge {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.hero-audience-card {
    padding: 22px 24px;
}

.hero-audience-card h2 {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.hero-audience-card .hero-audience-tagline {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 0.85rem;
}

.hero-audience-card p {
    font-size: 18px;
    color: #475569;
    margin-bottom: 0.75rem;
}

.hero-audience-card ul {
    font-size: 18px;
    color: #475569;
    margin-bottom: 0;
    padding-left: 1.15rem;
}

.hero-audience-card ul li {
    margin-bottom: 0.55rem;
}

.hero-audience-card ul li:last-child {
    margin-bottom: 0;
}

.hero-audience-card__head {
    display: flex;
    gap: 1.5rem;
}

.hero-audience-card__icon {
    flex-shrink: 0;
    margin-right: 0.35rem;
}

.hero-audience-card__head--centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.hero-audience-card__head--centered .hero-audience-card__icon {
    margin-right: 0;
}

.hero-audience-card__body {
    font-size: 15px;
    opacity: 0.95;
}

/* Pagina vetrina negozio (shop.php) */
.shop-page {
    background: #f8fafc;
}

.shop-hero {
    position: relative;
    padding: 1.75rem 0 2.5rem;
    background:
        radial-gradient(ellipse 70% 60% at 0% 0%, rgba(14, 165, 233, 0.14), transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(2, 132, 199, 0.10), transparent 50%),
        linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    overflow: hidden;
}

.shop-hero__cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    filter: blur(2px);
    transform: scale(1.04);
}

.shop-hero__inner {
    position: relative;
    z-index: 1;
}

.shop-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
}

.shop-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.15s ease;
}

.shop-breadcrumb a:hover {
    color: #fff;
}

.shop-breadcrumb span {
    color: rgba(255, 255, 255, 0.45);
}

.shop-breadcrumb__current {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 500;
}

.shop-hero__card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 1.65rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.shop-hero__identity {
    display: flex;
    gap: 1.15rem;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.shop-hero__logo {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 16px;
    object-fit: cover;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.shop-hero__logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #0284c7;
    background: linear-gradient(145deg, #e0f2fe 0%, #fff 100%);
}

.shop-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.45rem;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #bae6fd;
    background: rgba(14, 165, 233, 0.18);
    border-radius: 999px;
}

.shop-hero__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.shop-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.shop-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.82);
}

.shop-hero__meta-item i {
    color: #7dd3fc;
    font-size: 1rem;
}

.shop-main {
    padding: 2.5rem 0 4rem;
}

.shop-cta-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    margin: 0 auto 2.5rem;
    max-width: 760px;
}

.shop-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    flex: 1 1 280px;
    min-height: 4.25rem;
    padding: 1rem 1.6rem;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: none;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.shop-cta:hover,
.shop-cta:focus-visible {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
}

.shop-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1.35rem;
}

.shop-cta--gift {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}

.shop-cta--gift:hover,
.shop-cta--gift:focus-visible {
    filter: brightness(1.06);
}

.shop-cta--list {
    background: linear-gradient(135deg, #ff4800 0%, #df3f00 100%);
}

.shop-cta--list:hover,
.shop-cta--list:focus-visible {
    filter: brightness(1.06);
}

.shop-cta--shop {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.shop-cta--shop:hover,
.shop-cta--shop:focus-visible {
    filter: brightness(1.06);
}

.home-cta-section {
    padding: 1.75rem 0 0.25rem;
}

.home-cta-strip {
    max-width: 1100px;
    margin-bottom: 0;
}

.home-cta-strip .shop-cta {
    flex: 1 1 240px;
}

.shop-block {
    margin-bottom: 2.75rem;
}

.shop-block--actions {
    margin-bottom: 0;
}

.shop-block__head {
    margin-bottom: 1.25rem;
}

.shop-block__title {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.shop-block__subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
}

.shop-gallery-slider {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.shop-gallery-slider__viewport {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #0f172a;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    aspect-ratio: 16 / 10;
    max-height: 360px;
    cursor: zoom-in;
}

.shop-gallery-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.shop-gallery-slider__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s ease;
    z-index: 0;
}

.shop-gallery-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.shop-gallery-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 6s ease;
    pointer-events: none;
}

.shop-gallery-slider__slide.is-active img {
    transform: scale(1);
}

.shop-gallery-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.shop-gallery-slider__arrow:hover {
    background: rgba(2, 132, 199, 0.88);
    transform: translateY(-50%) scale(1.05);
}

.shop-gallery-slider__arrow--prev {
    left: 0.65rem;
}

.shop-gallery-slider__arrow--next {
    right: 0.65rem;
}

.shop-gallery-slider__meta {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.shop-gallery-slider__counter {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.28rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    border-radius: 999px;
}

.shop-gallery-slider__expand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    color: #fff;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.shop-gallery-slider__expand:hover {
    color: #fff;
    background: rgba(2, 132, 199, 0.88);
    transform: scale(1.05);
}

.shop-gallery-slider__thumbs {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
    overflow: hidden;
}

.shop-gallery-slider__thumb {
    flex: 1 1 0;
    min-width: 0;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.shop-gallery-slider__thumb:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.shop-gallery-slider__thumb.is-active {
    opacity: 1;
    border-color: #0284c7;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.2);
}

.shop-gallery-slider__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .shop-gallery-slider {
        flex-direction: row;
        align-items: stretch;
        gap: 0.85rem;
        width: 100%;
        max-width: none;
    }

    .shop-gallery-slider__viewport {
        flex: 1 1 auto;
        max-height: none;
        height: 400px;
        aspect-ratio: auto;
    }

    .shop-gallery-slider__thumbs {
        flex-direction: column;
        flex: 0 0 180px;
        width: 180px;
        height: 400px;
        overflow: hidden;
        margin-top: 0;
        gap: 0.65rem;
    }

    .shop-gallery-slider__thumb {
        flex: 1 1 0;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .shop-gallery-slider__thumb:hover {
        transform: translateX(-2px);
    }
}

@media (min-width: 992px) {
    .shop-gallery-slider__viewport {
        height: 440px;
    }

    .shop-gallery-slider__thumbs {
        flex-basis: 200px;
        width: 200px;
        height: 440px;
    }
}

/* Lightbox fullscreen slideshow */
body.shop-gallery-lightbox-open {
    overflow: hidden;
}

.shop-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.shop-gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.shop-gallery-lightbox[hidden] {
    display: none !important;
}

.shop-gallery-lightbox.is-open[hidden] {
    display: flex !important;
}

.shop-gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.92);
    cursor: zoom-out;
}

.shop-gallery-lightbox__stage {
    position: relative;
    z-index: 1;
    max-width: min(96vw, 1400px);
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-gallery-lightbox__img {
    max-width: 100%;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    user-select: none;
}

.shop-gallery-lightbox__close,
.shop-gallery-lightbox__arrow {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.shop-gallery-lightbox__close:hover,
.shop-gallery-lightbox__arrow:hover {
    background: rgba(2, 132, 199, 0.9);
    transform: scale(1.05);
}

.shop-gallery-lightbox__close {
    top: 1rem;
    right: 1rem;
    width: 46px;
    height: 46px;
    font-size: 1.6rem;
}

.shop-gallery-lightbox__arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 1.85rem;
}

.shop-gallery-lightbox__arrow:hover {
    transform: translateY(-50%) scale(1.05);
}

.shop-gallery-lightbox__arrow--prev {
    left: 1rem;
}

.shop-gallery-lightbox__arrow--next {
    right: 1rem;
}

.shop-gallery-lightbox__counter {
    position: absolute;
    z-index: 2;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    border-radius: 999px;
}

@media (max-width: 767.98px) {
    .shop-gallery-lightbox__arrow {
        width: 42px;
        height: 42px;
        font-size: 1.5rem;
    }

    .shop-gallery-lightbox__arrow--prev {
        left: 0.5rem;
    }

    .shop-gallery-lightbox__arrow--next {
        right: 0.5rem;
    }
}

.shop-about {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.65rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.shop-about__content {
    font-size: 1rem;
    line-height: 1.75;
    color: #475569;
}

.shop-about__content p:last-child {
    margin-bottom: 0;
}

.shop-product-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.shop-product-card__photo {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #f1f5f9;
    cursor: zoom-in;
}

.shop-product-card__photo-badge {
    position: absolute;
    right: 0.55rem;
    bottom: 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.shop-product-card__img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background: #f1f5f9;
}

.shop-product-card__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2rem;
}

.shop-product-card__body {
    padding: 1rem 1.1rem 1.15rem;
}

.shop-product-card__name {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.shop-product-card__desc {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #64748b;
}

.shop-product-card__price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0284c7;
}

.shop-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.65rem;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.shop-panel--compact {
    padding: 1.25rem 1.35rem;
}

.shop-panel--muted {
    background: #f1f5f9;
    border-color: #e2e8f0;
    box-shadow: none;
}

.shop-panel__head {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.shop-panel__head--compact {
    margin-bottom: 1rem;
}

.shop-panel__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 1.25rem;
}

.shop-panel__title {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.shop-panel__lead {
    font-size: 0.875rem;
    line-height: 1.5;
}

.shop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shop-contacts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.shop-contacts__item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9375rem;
}

.shop-contacts__item i {
    color: #0284c7;
    font-size: 1.1rem;
}

.shop-contacts__item a {
    color: #334155;
    text-decoration: none;
    word-break: break-word;
}

.shop-contacts__item a:hover {
    color: #0284c7;
}

.shop-product-picks {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shop-product-pick {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    padding: 0.65rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.shop-product-pick:hover {
    border-color: #bae6fd;
    background: #f0f9ff;
}

.shop-product-pick:has(.shop-product-pick__input:checked) {
    border-color: #0284c7;
    background: #eff6ff;
}

.shop-product-pick__input {
    margin: 0;
    flex-shrink: 0;
}

.shop-product-pick__label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    flex: 1;
    min-width: 0;
}

.shop-product-pick__name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #334155;
}

.shop-product-pick__price {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0284c7;
}

.shop-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 600;
    padding: 0.7rem 1.35rem;
    min-width: 220px;
}

.shop-form__consents {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    align-items: flex-start;
}

.shop-form__consents .form-check {
    flex: 1 1 220px;
    min-width: 0;
    margin: 0;
    padding-left: 1.6em;
}

@media (min-width: 768px) {
    .shop-form__consents-col {
        padding-left: 1.5rem;
    }

    .shop-form__consents-col .shop-form__consents {
        gap: 1rem 1.25rem;
    }

    .shop-form__consents-col .form-check:first-child {
        margin-left: 0.75rem;
    }
}

.shop-form__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

@media (min-width: 768px) {
    .shop-form__actions {
        justify-content: flex-end;
        margin-top: 1.25rem;
    }
}

.shop-tipo-lista-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #0284c7;
    line-height: 1;
    vertical-align: middle;
}

.shop-tipo-lista-info:hover,
.shop-tipo-lista-info:focus-visible {
    color: #0369a1;
    outline: none;
}

.shop-tipo-lista-info i {
    font-size: 1.05rem;
}

.shop-lista-prodotti-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.25rem;
    padding: 0.85rem 1.35rem;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.22);
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.shop-lista-prodotti-open:hover,
.shop-lista-prodotti-open:focus-visible {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(15, 118, 110, 0.28);
}

.shop-lista-prodotti-summary {
    margin: 0.7rem 0 0;
    font-size: 0.9rem;
    color: #475569;
}

.shop-lista-picked {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.shop-lista-picked[hidden] {
    display: none;
}

.shop-lista-picked__item {
    position: relative;
    min-width: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.shop-lista-picked__remove {
    position: absolute;
    top: 0.3rem;
    right: 0.3rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.shop-lista-picked__remove:hover,
.shop-lista-picked__remove:focus-visible {
    background: #b91c1c;
    color: #fff;
}

.shop-lista-picked__img {
    aspect-ratio: 1;
    background: #f1f5f9;
    overflow: hidden;
}

.shop-lista-picked__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-lista-picked__ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #94a3b8;
    font-size: 1.2rem;
}

.shop-lista-picked__name {
    margin: 0;
    padding: 0.4rem 0.45rem 0.15rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-lista-picked__price {
    display: block;
    padding: 0 0.45rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f766e;
}

@media (max-width: 991.98px) {
    .shop-lista-picked {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .shop-lista-picked {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.shop-lista-prodotti-modal .modal-dialog {
    width: 90%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.shop-lista-prodotti-modal .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
}

.shop-lista-prodotti-modal .modal-header {
    align-items: flex-start;
    gap: 1rem;
}

.shop-lista-prodotti-modal__lead {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: #64748b;
}

.shop-lista-prodotti-modal .modal-body {
    background: #f8fafc;
}

.shop-lista-prodotti-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.shop-lista-prodotti-filters__field {
    flex: 1 1 180px;
    min-width: 0;
}

.shop-lista-prodotti-filters__field--grow {
    flex: 2 1 240px;
}

.shop-lista-prodotti-filters .form-label {
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}

.shop-lista-prodotti-filters .form-select,
.shop-lista-prodotti-filters .form-control {
    border-radius: 10px;
    border-color: #cbd5e1;
    min-height: 42px;
}

.shop-lista-prodotti-filters__empty {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 0.9rem;
}

.shop-lista-prodotti-modal .modal-footer {
    justify-content: space-between;
    gap: 0.75rem;
}

.shop-lista-prodotti-modal__count {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.shop-lista-product {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-lista-product:has(.shop-lista-product__check:checked) {
    border-color: #0284c7;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.12);
}

.shop-lista-product__photo {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #f1f5f9;
    cursor: zoom-in;
}

.shop-lista-product__photo img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.shop-lista-product__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    color: #94a3b8;
    font-size: 2.2rem;
    cursor: default;
}

.shop-lista-product__photo-badge {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: rgba(15, 23, 42, 0.65);
}

.shop-lista-product__body {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0;
    padding: 0.85rem 0.95rem 1rem;
    cursor: pointer;
}

.shop-lista-product__check {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.shop-lista-product__meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.shop-lista-product__name {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
}

.shop-lista-product__price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0284c7;
}

.shop-product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.shop-product-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.shop-product-lightbox[hidden] {
    display: none !important;
}

.shop-product-lightbox.is-open[hidden] {
    display: flex !important;
}

.shop-product-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.88);
}

.shop-product-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: 92vh;
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.shop-product-lightbox__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, 0.55);
    cursor: pointer;
}

.shop-product-lightbox__media {
    position: relative;
    background: #0f172a;
}

.shop-product-lightbox__img {
    display: block;
    width: 100%;
    max-height: 58vh;
    object-fit: contain;
    background: #0f172a;
}

.shop-product-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.2);
    font-size: 1.5rem;
    cursor: pointer;
}

.shop-product-lightbox__arrow:hover {
    color: #000;
    background: #fff;
}

.shop-product-lightbox__arrow--prev {
    left: 0.75rem;
}

.shop-product-lightbox__arrow--next {
    right: 0.75rem;
}

.shop-product-lightbox__counter {
    position: absolute;
    left: 50%;
    bottom: 0.75rem;
    transform: translateX(-50%);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(15, 23, 42, 0.55);
}

.shop-product-lightbox__info {
    padding: 1.15rem 1.35rem 1.4rem;
}

.shop-product-lightbox__title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.shop-product-lightbox__price {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0284c7;
}

.shop-product-lightbox__desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    white-space: normal;
}

@media (max-width: 767.98px) {
    .shop-hero__card {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-cta-strip {
        margin-bottom: 2rem;
        gap: 0.75rem;
    }

    .shop-cta {
        flex: 1 1 100%;
        min-height: 3.75rem;
        font-size: 1.05rem;
        padding: 0.9rem 1.2rem;
    }

    .home-cta-strip {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0.55rem;
    }

    .home-cta-strip .shop-cta {
        flex: 1 1 0;
        flex-direction: column;
        gap: 0.45rem;
        min-height: 0;
        padding: 0.85rem 0.45rem;
        font-size: 0.82rem;
        line-height: 1.2;
    }

    .home-cta-strip .shop-cta__icon {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 1.2rem;
        border-radius: 10px;
    }

    .home-cta-strip .shop-cta__label {
        display: block;
        max-width: 100%;
    }

    .shop-lista-prodotti-open {
        width: 100%;
        font-size: 1rem;
        padding: 0.8rem 1.1rem;
    }

    .shop-lista-prodotti-modal .modal-dialog {
        width: 96%;
        max-width: 96%;
        margin: 0.75rem auto;
    }

    .shop-lista-prodotti-modal .modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-lista-prodotti-modal .modal-footer .btn {
        width: 100%;
    }

}

.paypal-result-modal {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
}

.paypal-result-modal .modal-header {
    border-bottom: 1px solid #e2e8f0;
}

.paypal-result-modal .modal-footer {
    border-top: 1px solid #e2e8f0;
}

.paypal-result-modal__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    font-size: 2rem;
}

.paypal-result-modal__text {
    text-align: center;
    color: #334155;
    font-size: 1rem;
    line-height: 1.55;
}

.paypal-result-modal__detail {
    text-align: center;
    word-break: break-word;
}

.paypal-result-modal--ok .paypal-result-modal__icon {
    background: #ecfdf5;
    color: #059669;
}

.paypal-result-modal--cancel .paypal-result-modal__icon {
    background: #fff7ed;
    color: #d97706;
}

.paypal-result-modal--errore .paypal-result-modal__icon {
    background: #fef2f2;
    color: #dc2626;
}

.area-pay-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
}

.area-pay-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    font-weight: 600;
}

.bonifico-modal__block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.9375rem;
    color: #0f172a;
    margin: 0;
}

.bonifico-modal__causale {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.bonifico-modal__copy {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Seconda homepage (index_due.php) */
html:has(body.home-due) {
    scroll-padding-top: 96px;
}

.home-due-hero {
    position: relative;
    min-height: clamp(420px, 68vh, 640px);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.home-due-hero__bg,
.home-due-hero__overlay {
    position: absolute;
    inset: 0;
}

.home-due-hero__bg {
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.home-due-hero__overlay {
    background: linear-gradient(
        105deg,
        rgba(15, 23, 42, 0.86) 0%,
        rgba(15, 23, 42, 0.62) 48%,
        rgba(15, 23, 42, 0.35) 100%
    );
}

.home-due-hero__inner {
    position: relative;
    z-index: 1;
    padding: 4.5rem 0 3.5rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.home-due-hero__title {
    font-size: clamp(1.7rem, 4vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.85rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.home-due-hero__subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.55;
    margin: 0 auto 1.6rem;
    max-width: 38rem;
    opacity: 0.96;
}

.home-due-search-wrap {
    position: relative;
}

.home-due-search {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    background: #fff;
    border-radius: 16px;
    padding: 0.45rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.home-due-suggest {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 340px;
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.28);
    text-align: left;
    padding: 0.3rem;
}

.home-due-suggest__item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #0f172a;
    text-align: left;
    padding: 0.55rem 0.65rem;
}

.home-due-suggest__item:hover,
.home-due-suggest__item.is-active {
    background: #f1f5f9;
}

.home-due-suggest__logo {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    object-fit: cover;
}

.home-due-suggest__logo--placeholder,
.home-due-suggest__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #e0f2fe;
    color: #0284c7;
    font-weight: 700;
}

.home-due-suggest__icon {
    background: #f1f5f9;
    color: #64748b;
}

.home-due-suggest__text {
    min-width: 0;
}

.home-due-suggest__name,
.home-due-suggest__meta {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-due-suggest__name {
    font-size: 0.9375rem;
    font-weight: 600;
}

.home-due-suggest__meta {
    font-size: 0.8125rem;
    color: #64748b;
}

.home-due-suggest__empty {
    padding: 0.8rem 0.65rem;
    color: #64748b;
    font-size: 0.9rem;
}

.home-due-search__input {
        flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0.7rem 0.95rem;
    font-size: 1rem;
    color: #0f172a;
    outline: none;
}

.home-due-search__btn {
    display: inline-flex;
    align-items: center;
        justify-content: center;
    gap: 0.35rem;
    border: 0;
    border-radius: 12px;
    background: #0284c7;
    color: #fff;
    font-weight: 700;
    padding: 0.7rem 1.2rem;
    white-space: nowrap;
}

.home-due-search__btn:hover {
    background: #0369a1;
}

.home-due-quick {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.15rem;
}

.home-due-quick__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
}

.home-due-quick__btn:hover,
.home-due-quick__btn.is-active {
    background: #fff;
    color: #0f172a;
    border-color: #fff;
}

.home-due-quick__btn.home-due-quick__btn--near {
    background: #0284c7;
    border-color: #0284c7;
    color: #fff;
    padding: 0.7rem 1.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.38);
}

.home-due-quick__btn.home-due-quick__btn--near i {
    font-size: 1.25rem;
}

.home-due-quick__btn.home-due-quick__btn--near:hover,
.home-due-quick__btn.home-due-quick__btn--near.is-active {
    background: #0369a1;
    border-color: #0369a1;
    color: #fff;
}

.home-due-quick__btn.is-loading {
    opacity: 0.75;
}

.home-due-hero__status {
    margin: 0.9rem 0 0;
    font-size: 0.95rem;
    color: #e0f2fe;
}

.home-due-section {
    padding: 4.25rem 0;
}

.home-due-section--shops,
.home-due-section--steps {
    background: #f8fafc;
}

.home-due-section__intro {
    margin-bottom: 2rem;
}

.home-due-section__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 0.4rem;
}

.home-due-section__title {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.home-due-section__lead {
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

.home-due-audience {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.7rem 1.6rem 1.5rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.home-due-audience__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 0.85rem;
    background: #e0f2fe;
    color: #0284c7;
}

.home-due-audience--negozio .home-due-audience__icon {
    background: #f1f5f9;
    color: #334155;
}

.home-due-audience__title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.home-due-audience__list {
    margin: 0 0 1.25rem;
    padding-left: 1.15rem;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.55;
}

.home-due-audience__list li + li {
    margin-top: 0.35rem;
}

.home-due-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.home-due-cat {
    border: 1px solid #dbe4ee;
    background: #fff;
    color: #334155;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.home-due-cat.is-active,
.home-due-cat:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #fff;
}

.home-due-filter-note {
    text-align: center;
    margin-bottom: 1.25rem;
}

.home-due-empty {
    margin: 1rem 0 0;
}

.home-due-step {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.6rem 1.35rem 1.4rem;
    height: 100%;
    text-align: center;
}

a.home-due-step--link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a.home-due-step--link:hover,
a.home-due-step--link:focus {
    border-color: #0284c7;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.12);
    color: inherit;
}

a.home-due-step--link:hover .home-due-step__title,
a.home-due-step--link:focus .home-due-step__title {
    color: #0284c7;
}

.home-due-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0284c7;
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.home-due-step__title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
}

.home-due-software {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    background: #0f172a;
    color: #fff;
    border-radius: 22px;
    padding: 2.4rem 2.2rem;
}

.home-due-software .home-due-section__title,
.home-due-software .muted {
    color: #fff;
}

.home-due-software .muted {
    opacity: 0.82;
}

.home-due-software .home-due-section__eyebrow {
    color: #7dd3fc;
}

.home-due-software__price {
    margin: 0.35rem 0 0.85rem;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    color: #fdba74;
}

.home-due-software__price span {
    font-size: 1rem;
    font-weight: 700;
    color: #fed7aa;
}

.home-due-software__points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    font-weight: 600;
}

.home-due-software__points i {
    color: #38bdf8;
    margin-right: 0.4rem;
}

.home-due-allshops {
    margin: 0 0 1.6rem;
}

.home-due-allshops--after {
    margin: 1.6rem 0 0;
}

.home-due-suggest__item--all .home-due-suggest__name {
    color: #0284c7;
}

/* Pagina elenco negozi */

.shops-page-hero {
    background: linear-gradient(180deg, #0f172a 0%, #134e6f 100%);
    color: #fff;
    padding: 2.6rem 0 2.4rem;
}

.shops-page-breadcrumb {
    display: flex;
    gap: 0.4rem;
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 0.6rem;
}

.shops-page-breadcrumb a {
    color: #7dd3fc;
    text-decoration: none;
}

.shops-page-hero__title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.shops-page-hero__lead {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    max-width: 44rem;
}

.shops-page-hero__status {
    margin: 0.9rem 0 0;
    font-size: 0.95rem;
    color: #e0f2fe;
}

.shops-filters {
    background: #fff;
    border-radius: 18px;
    padding: 1.1rem 1.2rem 1.2rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.shops-filters__row {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr 0.9fr 1fr;
    gap: 0.9rem 1rem;
    align-items: end;
}

.shops-filters__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.3rem;
}

.shops-filters__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.shops-filters__actions .btn i {
    margin-right: 0.3rem;
}

.shops-filters__actions .btn.is-active {
    background: #0284c7;
    border-color: #0284c7;
    color: #fff;
}

.shops-filters__reset {
    margin-left: auto;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
}

.shops-filters .select2-container {
    width: 100% !important;
}

.shops-filters .select2-container .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    background: #fff;
}

.shops-filters .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-left: 0.75rem;
    color: #0f172a;
}

.shops-filters .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #64748b;
}

.shops-filters .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.shops-filters .select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: 1.5rem;
}

.select2-container--open {
    z-index: 3000;
}

.select2-dropdown {
    z-index: 3000;
}

.shops-page-results {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1rem;
    margin-bottom: 1.4rem;
}

.shops-page-results__count {
    font-weight: 600;
}

.shops-page-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.shops-page-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #bae6fd;
    background: #e0f2fe;
    color: #075985;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.shops-page-chip:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #fff;
}

@media (max-width: 991.98px) {
    .home-due-suggest {
        max-height: min(340px, 42vh);
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 991.98px) {
    .shops-filters__row {
        grid-template-columns: 1fr 1fr;
    }

    .shops-filters__field--query {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .home-due-search {
        flex-direction: column;
    }

    .home-search-strip > .container {
        padding: 15px 16px;
    }

    .home-due-software {
        grid-template-columns: 1fr;
        padding: 1.7rem 1.35rem;
    }

    .home-due-hero__inner {
        padding: 3.2rem 0 2.6rem;
    }

    .shops-filters__row {
        grid-template-columns: 1fr;
    }

    .shops-filters__reset {
        margin-left: 0;
    }
}

.lista-public {
    padding: 2rem 0 4rem;
}

.lista-public__hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.15rem 1.75rem;
    margin-bottom: 1.75rem;
    padding: 1.4rem 1.45rem;
    background:
        linear-gradient(145deg, #f0f9ff 0%, #fff 42%, #fff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.lista-public__hero-main {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    min-width: 0;
    flex: 1;
}

.lista-public__hero-copy {
    min-width: 0;
}

.lista-public__share {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 16rem;
}

.lista-public__share-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.35;
}

.lista-public__logo {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.lista-public__logo--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: #0284c7;
    background: linear-gradient(145deg, #e0f2fe 0%, #fff 100%);
}

.lista-public__kicker {
    margin: 0 0 0.15rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0284c7;
}

.lista-public__title {
    margin: 0 0 0.2rem;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
}

.lista-public__byline {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    color: #475569;
}

.lista-public__byline a {
    color: #0284c7;
    font-weight: 700;
    text-decoration: none;
}

.lista-public__byline a:hover,
.lista-public__byline a:focus-visible {
    text-decoration: underline;
}

.lista-public__meta {
    font-size: 0.9rem;
}

.lista-public__referral-msg {
    font-size: 1.05rem;
    line-height: 1.45;
    color: #0f172a;
    font-weight: 600;
}

.lista-public__store-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
    margin-top: 0.65rem;
}

.lista-public__store-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.84rem;
    color: #64748b;
    text-decoration: none;
}

a.lista-public__store-meta-item:hover,
a.lista-public__store-meta-item:focus-visible {
    color: #0284c7;
}

.lista-public__store-meta-item i {
    color: #0284c7;
    font-size: 0.95rem;
}

@media (max-width: 575.98px) {
    .lista-public__share {
        align-items: center;
        text-align: center;
        max-width: none;
        width: 100%;
    }
}

.lista-public__block {
    margin-top: 1.75rem;
}

.lista-public__head {
    margin-bottom: 1rem;
}

.lista-public__head + .lista-public__form {
    margin-top: 0.35rem;
}

.lista-public__form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem 1.3rem 1.35rem;
}

.lista-public__consents {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    align-items: flex-start;
}

.lista-public__consents .form-check {
    flex: 1 1 220px;
    min-width: 0;
    margin: 0;
    padding-left: 1.6em;
}

.lista-public__as-user {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0 0 0.25rem;
    padding: 0.95rem 1.1rem;
    border-radius: 12px;
    border: 1px solid #7dd3fc;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    color: #0c4a6e;
    font-size: 1.05rem;
    line-height: 1.4;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.12);
}

.lista-public__as-user > i {
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 1.45rem;
    color: #0284c7;
}

.lista-public__as-user strong {
    color: #0f172a;
    font-weight: 800;
}

.lista-public__as-user-email {
    display: inline-block;
    margin-left: 0.15rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: rgba(2, 132, 199, 0.12);
    color: #0369a1;
    font-weight: 700;
    font-size: 0.95em;
    word-break: break-all;
}

.lista-public-product.is-taken {
    opacity: 0.72;
}

.lista-public-product__pick {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.65rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
}

.lista-public-product__badge {
    display: inline-block;
    margin-top: 0.65rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
}

.area-liste {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.area-lista {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.1rem 1.05rem;
    background: #f8fafc;
}

.area-lista__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 0.35rem;
}

.area-lista__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: #0f172a;
}

.area-lista__meta {
    font-size: 0.875rem;
}

.area-lista__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.area-lista__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
}

.area-lista__details {
    margin-top: 0.55rem;
    padding-top: 0.7rem;
    border-top: 1px solid #e2e8f0;
}

.area-lista__totale {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    text-align: right;
    line-height: 1.2;
}

.area-lista__totale span {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.area-contrib-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.area-contrib {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 0.95rem;
}

.area-contrib.is-unpaid {
    border-color: #fcd34d;
    background: #fffbeb;
}

.area-contrib__top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.55rem;
}

.area-contrib__kind {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.15rem;
}

.area-contrib__what {
    display: block;
    color: #0f172a;
    font-size: 0.98rem;
}

.area-contrib__importo {
    font-weight: 800;
    white-space: nowrap;
    color: #0f172a;
}

.area-contrib__dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.35rem 0.85rem;
    margin: 0;
}

.area-contrib__dl dt {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #94a3b8;
    margin: 0;
}

.area-contrib__dl dd {
    margin: 0;
    color: #0f172a;
    font-size: 0.9rem;
}

.area-contrib__msg {
    grid-column: 1 / -1;
}

.area-contrib__payrow {
    grid-column: 1 / -1;
}

.area-contrib__payrow dd {
    margin-top: 0.25rem;
}

.area-contrib__payrow .area-pay-actions {
    justify-content: flex-start;
}

.legal-page {
    padding: 2.25rem 0 4rem;
    background: #f8fafc;
}

.legal-page__card {
    max-width: 52rem;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.75rem 1.5rem 2.25rem;
}

.legal-page__meta {
    color: #64748b;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.legal-page__body h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1.75rem 0 0.65rem;
    color: #0f172a;
}

.legal-page__body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.15rem 0 0.45rem;
    color: #0f172a;
}

.legal-page__body p,
.legal-page__body li {
    color: #334155;
    line-height: 1.65;
}

.legal-page__body ul {
    padding-left: 1.2rem;
    margin-bottom: 0.85rem;
}

.legal-page__body li + li {
    margin-top: 0.3rem;
}

@media (min-width: 768px) {
    .legal-page__card {
        padding: 2.25rem 2.5rem 2.75rem;
    }
}

.legal-page__toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    margin: 0 0 1.5rem;
}

.legal-page__toc > p {
    margin: 0 0 0.5rem;
    font-weight: 700;
    color: #0f172a;
}

.legal-page__toc ol {
    margin: 0;
    padding-left: 1.2rem;
}

.legal-page__toc li {
    margin: 0.2rem 0;
}

.legal-page__toc a {
    color: #0f4c81;
    text-decoration: none;
}

.legal-page__toc a:hover {
    text-decoration: underline;
}

.legal-page__body h2:target {
    scroll-margin-top: 6rem;
}

.password-toggle-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.password-toggle-wrap > .form-control {
    padding-right: 2.9rem;
}

.password-toggle-wrap input::-ms-reveal,
.password-toggle-wrap input::-ms-clear {
    display: none;
}

.password-toggle-wrap .toggle-password {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: #e2e8f0;
    color: #0f4c81;
    padding: 0;
    line-height: 1;
    z-index: 3;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.password-toggle-wrap .toggle-password:hover,
.password-toggle-wrap .toggle-password:focus {
    color: #0f4c81;
    background: #cbd5e1;
}

.password-toggle-wrap .toggle-password i {
    font-size: 1.2rem;
    line-height: 1;
}

/* Overlay busy: submit buono / lista dal sito pubblico */
.sito-busy-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
}
.sito-busy-overlay.is-visible {
    display: flex;
}
.sito-busy-overlay__card {
    width: min(100%, 22rem);
    text-align: center;
    padding: 1.5rem 1.25rem;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}
.sito-busy-overlay__spinner {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 1rem;
    border: 3px solid #dbeafe;
    border-top-color: #0284c7;
    border-radius: 50%;
    animation: sito-busy-spin 0.75s linear infinite;
}
.sito-busy-overlay__title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}
.sito-busy-overlay__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #64748b;
}
@keyframes sito-busy-spin {
    to { transform: rotate(360deg); }
}
body.sito-busy-active {
    overflow: hidden;
}
