/*
Theme Name: New Phlora
Theme URI: https://www.newphlora.com/
Author: Francesco Guida
Description: Tema custom per New Phlora, floricultori italiani.
Version: 1.2.0
Text Domain: new-phlora
*/
:root {
    --green: #5e9241;
    --deep: #355526;
    --red: #c73639;
    --cream: #f6f7f2;
    --ink: #18231b;
    --muted: #556159;
    --line: rgba(94, 146, 65, 0.18);
    --white: #fff;
    --radius: 24px;
    --shadow: 0 24px 60px rgba(53, 85, 38, 0.14);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    font-family: "Josefin Sans", sans-serif;
    background: #fff;
}
body.menu-open {
    overflow: hidden;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
.np-wrap {
    width: min(1180px, calc(100% - 48px));
    margin: auto;
}
.np-eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--green);
}
h1,
h2,
h3,
h4 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    margin: 0;
}
h1 {
    font-size: clamp(4rem, 5.5vw, 6rem);
    line-height: 0.86;
    letter-spacing: -0.045em;
}
h2 {
    font-size: clamp(2.7rem, 4.5vw, 4.8rem);
    line-height: 0.96;
    letter-spacing: -0.035em;
}
p {
    line-height: 1.75;
    color: var(--muted);
    font-size: 1.02rem;
}
.np-btn {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 16px 25px;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 10px 28px rgba(53, 85, 38, 0.16);
    transition: 0.25s;
    cursor: pointer;
}
.np-btn:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-3px);
}
.np-btn--light {
    background: #fff;
    color: var(--green);
}
.np-loading {
    overflow: hidden;
}
.np-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    background: #f7f8f3;
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.65s ease,
        visibility 0.65s ease;
}
.np-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.np-loader__inner {
    width: min(290px, 70vw);
    display: grid;
    justify-items: center;
}
.np-loader__logo {
    width: 125px;
    mix-blend-mode: multiply;
    animation: npLoaderLogo 1.2s ease both;
}
.np-loader__line {
    width: 100%;
    height: 2px;
    margin-top: 25px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(94, 146, 65, 0.14);
}
.np-loader__line span {
    display: block;
    width: 45%;
    height: 100%;
    border-radius: inherit;
    background: var(--green);
    animation: npLoaderLine 1.25s ease-in-out infinite;
}
.np-loader__text {
    margin-top: 15px;
    color: var(--deep);
    font:
        italic 500 1rem "Cormorant Garamond",
        serif;
    letter-spacing: 0.12em;
}
.np-reveal {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition:
        opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--np-delay, 0ms);
    will-change: opacity, transform;
}
.np-reveal--left {
    transform: translate3d(-42px, 0, 0);
}
.np-reveal--right {
    transform: translate3d(42px, 0, 0);
}
.np-reveal--scale {
    transform: scale(0.965);
}
.np-reveal.is-visible {
    opacity: 1;
    transform: none;
}
.np-hero__copy > * {
    opacity: 0;
    transform: translateY(24px);
    animation: npHeroIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.np-hero__copy > *:nth-child(1) {
    animation-delay: 0.15s;
}
.np-hero__copy > *:nth-child(2) {
    animation-delay: 0.27s;
}
.np-hero__copy > *:nth-child(3) {
    animation-delay: 0.39s;
}
.np-hero__copy > *:nth-child(4) {
    animation-delay: 0.51s;
}
@keyframes npLoaderLogo {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes npLoaderLine {
    0% {
        transform: translateX(-110%);
    }
    50% {
        transform: translateX(120%);
    }
    100% {
        transform: translateX(240%);
    }
}
@keyframes npHeroIn {
    to {
        opacity: 1;
        transform: none;
    }
}
.np-topbar {
    background: var(--deep);
    color: #dce8dd;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}
.np-topbar__inner {
    height: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.np-header {
    position: relative;
    z-index: 50;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 30px rgba(35, 67, 30, 0.06);
}
.np-header__inner {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.np-logo img {
    width: 125px;
}
.np-navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.np-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.np-menu a {
    position: relative;
    padding: 8px 0;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
}
.np-menu a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--green);
    transition: 0.25s;
}
.np-menu a:hover,
.np-menu .current-menu-item > a,
.np-menu .current_page_item > a,
.np-menu .current-menu-parent > a,
.np-menu .current-menu-ancestor > a,
.np-menu .current_page_parent > a,
.np-menu .current_page_ancestor > a {
    color: var(--green);
}
.np-menu a:hover::after,
.np-menu .current-menu-item > a::after,
.np-menu .current_page_item > a::after,
.np-menu .current-menu-parent > a::after,
.np-menu .current-menu-ancestor > a::after,
.np-menu .current_page_parent > a::after,
.np-menu .current_page_ancestor > a::after {
    right: 0;
}
.single-varieta #menu-menu-sito > #menu-item-129 > a {
    color: var(--green);
}

.single-varieta #menu-menu-sito > #menu-item-129 > a::after,
.tax-tipologia .np-menu .menu-item-object-varieta > a::after {
    right: 0;
}
.np-header__whatsapp {
    margin-left: 30px;
}
.np-menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 1.7rem;
    color: var(--deep);
    padding: 8px;
}
.np-hero {
    min-height: 660px;
    position: relative;
    overflow: hidden;
    background: var(--cream) center/cover no-repeat;
}
.np-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(246, 247, 242, 0.99),
        rgba(246, 247, 242, 0.94) 28%,
        rgba(246, 247, 242, 0.69) 46%,
        rgba(246, 247, 242, 0.13) 73%,
        transparent 86%
    );
}
.np-hero__inner {
    min-height: 660px;
    display: flex;
    align-items: center;
    position: relative;
}
.np-hero__copy {
    width: 52%;
    padding: 65px 0;
}
.np-hero h1 {
    font-size: clamp(4.8rem, 7.8vw, 8.5rem);
    line-height: 0.78;
    margin: 14px 0 0;
}
.np-hero h1 em {
    display: block;
    color: var(--green);
    font-style: italic;
    font-weight: 500;
}
.np-hero__text {
    max-width: 570px;
    margin: 36px 0 38px;
    font-size: 1.1rem;
    font-weight: 500;
}
.np-hero__mark {
    position: absolute;
    right: -30px;
    bottom: -100px;
    font: italic 500 21rem/1 "Cormorant Garamond";
    color: rgba(255, 255, 255, 0.25);
}
.np-values {
    position: relative;
    z-index: 3;
    margin-top: -42px;
}
.np-values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(94, 146, 65, 0.1);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.np-value {
    min-height: 128px;
    padding: 27px 28px;
    border-right: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 16px;
}
.np-value:last-child {
    border: 0;
}
.np-value__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: #edf4e9;
    color: var(--green);
    font-size: 1.2rem;
}
.np-value h3 {
    font-size: 1.55rem;
    line-height: 1;
}
.np-value small {
    display: block;
    margin-top: 4px;
    color: #788078;
}
.np-section {
    padding: 90px 0;
}
.np-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.np-story__image {
    position: relative;
    padding: 0 48px 48px 0;
}
.np-story__image img {
    width: 100%;
    height: 510px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(46, 77, 35, 0.14);
}
.np-story__seal {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    background: var(--red);
    color: #fff;
    font-size: 0.74rem;
    letter-spacing: 0.13em;
    line-height: 1.5;
}
.np-story h2 {
    margin: 9px 0 23px;
}
.np-quote {
    border-left: 3px solid var(--red);
    padding: 16px 0 16px 20px;
    color: var(--deep);
    font-weight: 600;
    font-style: italic;
}
.np-catalog {
    background: linear-gradient(180deg, #f7f8f3, #eef3e9);
}
.np-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 42px;
}
.np-section-head p {
    max-width: 430px;
    margin: 0;
}
.np-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.np-product-card {
    position: relative;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(94, 146, 65, 0.09);
    box-shadow: 0 14px 38px rgba(53, 85, 38, 0.08);
    transition: 0.3s;
}
.np-product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 48px rgba(53, 85, 38, 0.14);
}
.np-product-card__image {
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #eef1ea;
}
.np-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.55s;
}
.np-product-card:hover img {
    transform: scale(1.05);
}
.np-product-card__copy {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 25px 23px 27px;
    background: #fff;
}
.np-product-card__type {
    display: block !important;
    color: var(--green) !important;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.np-product-card h3,
.np-product-card__title {
    display: block !important;
    margin: 7px 0 15px !important;
    color: var(--ink) !important;
    font-size: 1.9rem;
    line-height: 1.05;
    visibility: visible !important;
    opacity: 1 !important;
}
.np-product-card__title a {
    color: var(--ink) !important;
}
.np-text-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--deep);
}
.np-text-link:after {
    content: "  →";
    color: var(--red);
}
.np-products-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: -19px 0 22px;
}
.np-slider-arrow {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--deep);
    font:
        500 1.25rem/1 "Josefin Sans",
        sans-serif;
    cursor: pointer;
    box-shadow: 0 9px 24px rgba(53, 85, 38, 0.08);
    transition: 0.25s;
}
.np-slider-arrow:hover {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
    transform: translateY(-2px);
}
.np-slider-arrow:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}
.np-products-viewport {
    overflow: hidden;
    padding: 26px 4px 26px;
    margin: 0 -4px;
}
.np-products--slider {
    display: flex;
    gap: 22px;
    padding-top: 14px;
    padding-bottom: 60px;
    margin-top: -14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.np-products--slider::-webkit-scrollbar {
    display: none;
}
.np-products--slider .np-product-card {
    flex: 0 0 calc((100% - 44px) / 3);
    scroll-snap-align: start;
}
.np-banner {
    padding: 18px 24px;
}
.np-banner__inner {
    min-height: 430px;
    border-radius: 32px;
    overflow: hidden;
    background: center/cover no-repeat;
    display: flex;
    align-items: center;
    box-shadow: 0 28px 65px rgba(25, 54, 28, 0.17);
    position: relative;
}
.np-banner__inner:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(25, 54, 28, 0.97), rgba(25, 54, 28, 0.83) 45%, rgba(25, 54, 28, 0.15));
}
.np-banner__copy {
    position: relative;
    max-width: 670px;
    color: #fff;
    padding: 60px 0;
}
.np-banner .np-eyebrow {
    color: #c8e0b4;
}
.np-banner h2 {
    margin: 10px 0 20px;
}
.np-banner p {
    color: #e1ece2;
    max-width: 570px;
}
.np-process {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: start;
}
.np-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.np-step {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 20px;
}
.np-step b {
    font: italic 600 2.2rem "Cormorant Garamond";
    color: var(--red);
}
.np-step h3 {
    font-size: 1.5rem;
    margin: 5px 0;
}
.np-step p {
    font-size: 0.9rem;
    margin: 0;
}
.np-cta {
    padding: 72px 0;
    background: linear-gradient(135deg, var(--green), var(--deep));
    color: #fff;
}
.np-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}
.np-cta h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
}
.np-cta p {
    max-width: 550px;
    color: #edf4e8;
}
.np-page-hero {
    min-height: 430px;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    background: center/cover no-repeat;
}
.np-page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 46, 25, 0.94), rgba(17, 46, 25, 0.55), rgba(17, 46, 25, 0.08));
}
.np-page-hero__copy {
    position: relative;
    
}
.np-page-hero .np-eyebrow {
    color: #d3e8c2;
}
.np-page-hero h1 em {
    display: block;
    color: #d3e8c2;
    font-weight: 500;
}
.np-page-hero p {
    color: #edf4ea;
    max-width: 570px;
}
.np-breadcrumb {
    padding: 22px 0;
    background: #fafbf8;
    color: #788078;
    font-size: 0.8rem;
}
.np-breadcrumb a {
    color: var(--green);
}
.np-product-single {
    padding: 75px 0;
}
.np-product-single__grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 75px;
    align-items: center;
}
.np-product-single__image {
    position: relative;
}
.np-product-single__image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 28px 65px rgba(42, 75, 35, 0.13);
}
.np-product-single h1 {
    margin-bottom: 25px;
    margin-top: 20px;
}
.np-product-single__description {
    font-size: 1.08rem;
}
.np-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 27px 0 31px;
}
.np-chip {
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fafbf8;
    color: var(--deep);
    font-size: 0.8rem;
    font-weight: 600;
}
.np-availability {
    margin-top: 18px;
    color: #7b847d;
    font-size: 0.8rem;
}
.np-related {
    padding: 90px 0;
    background: linear-gradient(180deg, #f7f8f3, #eef3e9);
}
.np-faq {
    max-width: 900px;
}
.np-faq details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}
.np-faq summary {
    cursor: pointer;
    font: 600 1.55rem "Cormorant Garamond";
}
.np-contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
}
.np-contact-card {
    padding: 35px;
    border-radius: 24px;
    background: var(--cream);
}
.np-contact-form input,
.np-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font: inherit;
}
.np-contact-form textarea {
    min-height: 160px;
}
.np-footer {
    background: #0c2d1b;
    color: #fff;
    padding: 65px 0 28px;
}
.np-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.8fr;
    gap: 70px;
}
.np-footer__logo {
    width: 150px;
    margin-bottom: 20px;
}
.np-footer p,
.np-footer a {
    color: #b8c7bc;
    font-size: 0.88rem;
}
.np-footer h4 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}
.np-footer__links {
    display: grid;
    gap: 10px;
}
.np-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 45px;
    padding-top: 22px;
    color: #829488;
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
}
@media (max-width: 900px) {
    .np-navigation {
        position: fixed;
        inset: 126px 15px auto;
        display: none;
        padding: 24px;
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 18px 45px rgba(18, 62, 37, 0.16);
    }
    .np-navigation.is-open {
        display: block;
    }
    .np-menu {
        display: grid;
        gap: 18px;
    }
    .np-header__whatsapp {
        display: none;
    }
    .np-menu-toggle {
        display: block;
    }
    .np-hero__copy {
        width: 65%;
    }
    .np-values {
        margin: 0;
        padding-top: 20px;
    }
    .np-values__grid {
        grid-template-columns: 1fr 1fr;
    }
    .np-value:nth-child(2n) {
        border-right: 0;
    }
    .np-grid-2,
    .np-product-single__grid,
    .np-contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .np-products {
        grid-template-columns: 1fr 1fr;
    }
    .np-products--slider .np-product-card {
        flex-basis: calc((100% - 22px) / 2);
    }
    .np-section-head {
        display: block;
    }
    .np-section-head p {
        margin-top: 15px;
    }
    .np-cta__inner {
        display: block;
    }
    .np-cta .np-btn {
        margin-top: 20px;
    }
}
@media (max-width: 560px) {
    .np-wrap {
        width: min(100% - 30px, 1180px);
    }
    .np-topbar__inner span:last-child {
        display: none;
    }
    .np-logo img {
        width: 100px;
    }
    .np-header__inner {
        height: 78px;
    }
    .np-navigation {
        top: 112px;
    }
    .np-hero,
    .np-hero__inner {
        min-height: 650px;
    }
    .np-hero:before {
        background: linear-gradient(
            180deg,
            rgba(246, 247, 242, 0.99),
            rgba(246, 247, 242, 0.88) 46%,
            rgba(246, 247, 242, 0.12) 75%
        );
    }
    .np-hero__inner {
        align-items: flex-start;
    }
    .np-hero__copy {
        width: 100%;
        padding-top: 50px;
    }
    .np-hero h1 {
        font-size: 4.25rem;
    }
    .np-hero__text {
        font-size: 0.95rem;
    }
    .np-values__grid,
    .np-products,
    .np-steps {
        grid-template-columns: 1fr;
    }
    .np-products-nav {
        justify-content: flex-start;
        margin: 22px 0 14px;
    }
    .np-products--slider {
    gap: 14px;
    scroll-padding-left: 0;
}

.np-products--slider .np-product-card {
    flex: 0 0 calc((100% - 14px) / 2);
    border-radius: 18px;
}

.np-products--slider .np-product-card__copy {
    min-height: 205px;
    padding: 21px 16px 23px;
}

.np-products--slider .np-product-card__type {
    min-height: 34px;
    font-size: 0.62rem;
    line-height: 1.45;
    letter-spacing: 0.12em;
}

.np-products--slider .np-product-card h3,
.np-products--slider .np-product-card__title {
    margin: 8px 0 18px !important;
    font-size: clamp(1.65rem, 8vw, 2.1rem);
}

.np-products--slider .np-text-link {
    font-size: 0.72rem;
    white-space: nowrap;
}
    .np-value {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .np-value:last-child {
        border-bottom: 0;
    }
    .np-section {
        padding: 68px 0;
    }
    .np-story__image img {
        height: 390px;
    }
    .np-banner {
        padding: 10px;
    }
    .np-banner__inner {
        border-radius: 24px;
    }
    .np-footer__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .np-copyright {
        display: block;
    }
    .np-copyright span {
        display: block;
        margin-top: 8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .np-loader__logo,
    .np-loader__line span,
    .np-hero__copy > * {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
    .np-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .np-loader {
        transition: none;
    }
}
/* Archivio varietà: ricerca e caricamento progressivo */
.np-varieta-search {
    max-width: 650px;
    margin: 0 auto 46px;
}

.np-varieta-search__field {
    position: relative;
}

.np-varieta-search__input {
    width: 100%;
    min-height: 62px;
    padding: 17px 64px 17px 27px;
    border: 1px solid rgba(94, 146, 65, 0.2);
    border-radius: 999px;
    outline: none;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font: 500 1rem "Josefin Sans", sans-serif;
    box-shadow: 0 14px 38px rgba(53, 85, 38, 0.08);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.np-varieta-search__input::placeholder {
    color: #7b847d;
    opacity: 1;
}

.np-varieta-search__input:focus {
    border-color: var(--green);
    box-shadow:
        0 16px 42px rgba(53, 85, 38, 0.12),
        0 0 0 4px rgba(94, 146, 65, 0.08);
}

.np-varieta-search__icon {
    position: absolute;
    top: 50%;
    right: 25px;
    color: var(--green);
    font-size: 1.65rem;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
}

.np-varieta-search.is-loading .np-varieta-search__icon {
    width: 19px;
    height: 19px;
    border: 2px solid rgba(94, 146, 65, 0.2);
    border-top-color: var(--green);
    border-radius: 50%;
    color: transparent;
    animation: npVarietaSpin 0.7s linear infinite;
}

.np-varieta-actions {
    display: flex;
    justify-content: center;
    min-height: 58px;
    margin-top: 44px;
}

.np-varieta-load-more[hidden] {
    display: none;
}

.np-varieta-load-more.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.np-varieta-load-more.is-loading span:first-child {
    font-size: 0;
}

.np-varieta-load-more.is-loading span:first-child::after {
    content: "Caricamento...";
    font-size: 0.88rem;
}

.np-varieta-empty {
    margin: 45px 0 10px;
    color: var(--deep);
    font: italic 500 2rem "Cormorant Garamond", serif;
    text-align: center;
}

.np-varieta-empty[hidden] {
    display: none;
}

.np-products.is-loading {
    opacity: 0.48;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

@keyframes npVarietaSpin {
    to {
        transform:
            translateY(-50%)
            rotate(360deg);
    }
}

@media (max-width: 560px) {
    .np-varieta-search {
        margin-bottom: 32px;
    }

    .np-varieta-search__input {
        min-height: 56px;
        padding-left: 21px;
    }

    .np-varieta-actions {
        margin-top: 34px;
    }
}
.np-scientific-name {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 9px 17px;
    border: 1px solid rgba(94, 146, 65, 0.22);
    border-radius: 999px;
    background: rgba(94, 146, 65, 0.07);
    color: var(--deep);
    line-height: 1.2;
}
.np-scientific-name__value, .np-scientific-name__label {
    font-family: "Cormorant Garamond", serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--deep);
}

@media (max-width: 560px) {
    .np-scientific-name {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        margin-top: -4px;
        margin-bottom: 22px;
        border-radius: 16px;
    }

    .np-scientific-name__value {
        font-size: 1.05rem;
    }
}
/* Pulsante torna su */
.np-back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 999;
    display: flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 50%;
    background: var(--np-green, #559b3d);
    box-shadow: 0 12px 30px rgb(16 38 26 / 22%);
    color: #fff;
    font-family: inherit;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background-color 0.3s ease;
}

.np-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.np-back-to-top:hover {
    background: var(--np-dark, #10261a);
    transform: translateY(-4px);
}

.np-back-to-top:focus-visible {
    outline: 3px solid rgb(85 155 61 / 35%);
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .np-back-to-top {
        right: 18px;
        bottom: 18px;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
}
/* Paginazione varietà */
.np-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 56px;
}

.np-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(37, 84, 43, 0.18);
    border-radius: 50%;
    background: #fff;
    color: #173c27;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.np-pagination a.page-numbers:hover {
    background: #edf3e8;
    border-color: #5e963f;
    color: #315d2d;
    transform: translateY(-2px);
}

.np-pagination .page-numbers.current {
    background: #315d2d;
    border-color: #315d2d;
    color: #fff;
}

.np-pagination .prev,
.np-pagination .next {
    font-size: 0;
}

.np-pagination .prev::before,
.np-pagination .next::before {
    font-size: 21px;
    font-weight: 400;
}

.np-pagination .prev::before {
    content: "←";
}

.np-pagination .next::before {
    content: "→";
}

@media (max-width: 767px) {
    .np-pagination {
        margin-top: 36px;
        gap: 7px;
    }

    .np-pagination .page-numbers {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
.np-product-new, .np-coming-soon {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;

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

    width: 64px;
    height: 64px;
    border-radius: 50%;

    background: #fff;
    color: #315d2d;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;

    box-shadow: 0 8px 24px rgba(18, 55, 33, 0.16);
    pointer-events: none;
}

@media (max-width: 767px) {
    /* Su touch eliminiamo il sollevamento che causava salti visivi. */
    .np-products--slider .np-product-card,
    .np-products--slider .np-product-card:hover,
    .np-products--slider .np-product-card:focus-within {
        transform: none !important;
        translate: none !important;
    }

    .np-product-new, .np-coming-soon {
        top: 12px;
        left: 12px;
        width: 52px;
        height: 52px;
        font-size: 10px;
    }
}
.np-contact-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.np-contact-actions .np-button {
    margin: 0;
}
.np-contact-actions .np-button--maps {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    color: #fff;
    background-color: #c94b4f;
    border: 2px solid #c94b4f;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.np-contact-actions .np-button--maps:hover {
    color: #fff;
    transform: translateY(-2px);

}

.np-contact-actions .np-button--maps:focus-visible {
    outline: 3px solid rgba(201, 75, 79, 0.3);
    outline-offset: 3px;
}
/* Instagram nel footer */
.np-footer-instagram {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    
   
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.np-footer-instagram svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    flex: 0 0 auto;
}

.np-footer-instagram:hover,
.np-footer-instagram:focus-visible {
    color: #355c28;
    
    transform: translateY(-2px);
}

.np-footer-instagram:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .np-footer-instagram {
        margin-top: 18px;
        font-size: 16px;
    }
}