.w4ynfs-guide:has(> .nfs-patch) {
    max-width: 1160px;
}
.nfs-patch {
    --patch-ink: #1b1817;
    --patch-muted: #59524e;
    --patch-accent: #aa1824;
    --patch-line: #e7e0da;
    --patch-surface: #f8f5f2;
    color: var(--patch-ink);
    line-height: 1.65;
}
.nfs-patch p { margin: 0 0 1rem; }
.nfs-patch :is(h1, h2, h3) { color: inherit; margin: 0 0 .75rem; }
.nfs-patch h2 { font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1.2; }
.nfs-patch h3 { font-size: 1.1rem; }
.page-id-48129 #main { padding-top: clamp(1.05rem, 2.3vw, 1.9rem); }
.nfs-patch-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
    gap: clamp(1.1rem, 3.2vw, 2.6rem);
    align-items: center;
    padding: clamp(1.15rem, 3.1vw, 2.5rem);
    color: var(--patch-ink);
    background: var(--patch-surface);
    border: 1px solid var(--patch-line);
    border-radius: 14px;
}
.nfs-patch-hero-copy { padding-inline: clamp(0rem, 1.1vw, 1rem); }
.nfs-patch .nfs-patch-hero h1 {
    font-size: clamp(2.1rem, 4.35vw, 3.8rem);
    line-height: 1.04;
    letter-spacing: -.038em;
    text-transform: none;
    text-wrap: balance;
}
.nfs-patch-lead {
    max-width: 49ch;
    color: var(--patch-muted);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.6;
}
.nfs-patch .nfs-patch-location {
    margin: .85rem 0 0;
    color: var(--patch-muted);
    font-size: .9rem;
}
.nfs-patch-hero-photo {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--patch-line);
    border-radius: 10px;
}
.nfs-patch-hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.5;
    object-fit: contain;
    background: #f3f5f4;
}
.nfs-patch-hero-photo figcaption {
    padding: .65rem .9rem;
    color: var(--patch-muted);
    border-top: 1px solid var(--patch-line);
    font-size: .82rem;
}
.nfs-patch-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.25rem; }
.nfs-patch a.nfs-patch-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: .6rem .9rem;
    border: 1px solid transparent;
    border-radius: 5px;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
}
.nfs-patch a.nfs-patch-primary { background: var(--patch-accent); color: #fff; }
.nfs-patch a.nfs-patch-primary:hover { background: #84131c; color: #fff; }
.nfs-patch a.nfs-patch-secondary { border-color: currentColor; color: inherit; }
.nfs-patch a.nfs-patch-secondary:hover { text-decoration: underline; }
.nfs-patch-hero a.nfs-patch-secondary {
    background: #fff;
    border-color: #cfc4bd;
}
.nfs-patch-hero a.nfs-patch-secondary:hover {
    color: var(--patch-accent);
    border-color: var(--patch-accent);
    text-decoration: none;
}
.nfs-patch :is(a, summary):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.nfs-patch-nav { border-block: 1px solid var(--patch-line); margin: 1.4rem 0 0; padding: .5rem 0; }
.nfs-patch .nfs-patch-nav ul { display: flex; flex-wrap: wrap; list-style: none; gap: .15rem 1rem; margin: 0; padding: 0; }
.nfs-patch .nfs-patch-nav li { margin: 0; padding: 0; }
.nfs-patch .nfs-patch-nav li::before { content: none; }
.nfs-patch .nfs-patch-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--patch-ink); }
.nfs-patch-section {
    margin: clamp(2.4rem, 5vw, 4.5rem) 0 0;
    scroll-margin-top: 120px;
}
.nfs-patch-reading { max-width: 76ch; }
.nfs-patch-panel, .nfs-patch-contact {
    padding: clamp(1.2rem, 4vw, 2.5rem);
    background: var(--patch-surface);
    border-radius: 12px;
}
.nfs-patch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(.85rem, 2vw, 1.4rem);
    margin-top: 1.15rem;
}
.nfs-patch-tile {
    background: #fff;
    border: 1px solid var(--patch-line);
    border-radius: 10px;
    padding: clamp(1rem, 2.5vw, 1.35rem);
}
.nfs-patch-tile p, .nfs-patch-contact p:last-child { margin-bottom: 0; }
.nfs-patch .nfs-patch-more { margin: 1rem 0 0; }
.nfs-patch-definition { display: grid; grid-template-columns: minmax(10rem, 1fr) 2fr; margin: 1rem 0 0; }
.nfs-patch-definition dt, .nfs-patch-definition dd { margin: 0; padding: .6rem 0; border-top: 1px solid var(--patch-line); }
.nfs-patch-definition dt { font-weight: 650; padding-right: .9rem; }

.nfs-patch-products { margin-top: 1.4rem; }
/* WordPress adds line breaks between the product links. */
.nfs-patch-products > br { display: none; }
.nfs-patch a.nfs-patch-product {
    --patch-card-inset: clamp(1rem, 2.4vw, 1.45rem);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    color: var(--patch-ink);
    background: #fff;
    border: 1px solid var(--patch-line);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgb(27 24 23 / 6%);
    text-decoration: none;
}
.nfs-patch a.nfs-patch-product:is(:hover, :focus-visible) {
    border-color: var(--patch-accent);
    box-shadow: 0 8px 24px rgb(27 24 23 / 10%);
}
.nfs-patch a.nfs-patch-product:focus-visible { outline-color: var(--patch-accent); }
.nfs-patch-product img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1.6;
    object-fit: contain;
    background: #f3f5f4;
}
.nfs-patch-product :is(.nfs-patch-product-name, .nfs-patch-product-spec, .nfs-patch-product-link, .nfs-patch-product-price) {
    padding-inline: var(--patch-card-inset);
}
.nfs-patch-product-name {
    margin-top: 1.05rem;
    font-size: clamp(1.05rem, 1.8vw, 1.24rem);
    font-weight: 700;
    line-height: 1.3;
}
.nfs-patch-product-spec {
    margin-top: .35rem;
    color: var(--patch-muted);
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
}
.nfs-patch-product-price {
    display: block;
    margin-block: .7rem 1rem;
    color: var(--patch-ink);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}
.nfs-patch-product-price .woocommerce-Price-currencySymbol { margin-inline-start: .22em; }
.nfs-patch-product-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 48px;
    margin-top: auto;
    padding-block: .65rem;
    border-top: 1px solid var(--patch-line);
    color: var(--patch-accent);
    background: var(--patch-surface);
    font-weight: 700;
}
.nfs-patch-product-link::after {
    content: "";
    width: .45em;
    height: .45em;
    margin-inline-end: .12em;
    border-block-start: 2px solid currentColor;
    border-inline-end: 2px solid currentColor;
    transform: rotate(45deg);
}
.nfs-patch-product:is(:hover, :focus-visible) .nfs-patch-product-link { background: var(--patch-accent); color: #fff; }
.nfs-patch-textlinks { display: flex; flex-wrap: wrap; gap: .15rem 1.25rem; margin-top: .7rem; }
.nfs-patch-textlinks a { display: inline-flex; align-items: center; min-height: 44px; }

.nfs-patch > :is(#applicazione-manutenzione, #faq-patch-cutanea) {
    max-width: none;
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid var(--patch-line);
    border-radius: 12px;
}
.nfs-patch > #applicazione-manutenzione { background: var(--patch-surface); }
.nfs-patch > #applicazione-manutenzione p:last-child { margin-bottom: 0; }
.nfs-patch > #faq-patch-cutanea { background: #fff; }
.nfs-patch details { border-bottom: 1px solid var(--patch-line); }
.nfs-patch details:first-of-type { border-top: 1px solid var(--patch-line); }
.nfs-patch details:last-of-type { border-bottom: 0; }
.nfs-patch summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1.65rem;
    align-items: center;
    gap: .75rem;
    min-height: 48px;
    padding: .6rem 0;
    cursor: pointer;
    font-weight: 650;
    list-style: none;
}
.nfs-patch summary::-webkit-details-marker { display: none; }
.nfs-patch summary::after {
    content: "";
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    color: var(--patch-accent);
    background:
        linear-gradient(currentColor, currentColor) center / .66rem 2px no-repeat,
        linear-gradient(currentColor, currentColor) center / 2px .66rem no-repeat,
        var(--patch-surface);
}
.nfs-patch details[open] summary::after { background-size: .66rem 2px, 0 0, auto; }
.nfs-patch summary:hover { color: var(--patch-accent); }
.nfs-patch details p { margin: 0 2.4rem .8rem 0; }

@media (min-width: 1000px) {
    .nfs-patch {
        display: grid;
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
        column-gap: 1.4rem;
    }
    .nfs-patch > * { grid-column: 1 / -1; }
    .nfs-patch > #applicazione-manutenzione { grid-column: 1; }
    .nfs-patch > #faq-patch-cutanea { grid-column: 2; }
}
@media (max-width: 820px) {
    .nfs-patch-hero { grid-template-columns: minmax(0, 1fr); }
    .nfs-patch-hero-copy { padding-inline: 0; }
}
@media (max-width: 760px) {
    .nfs-patch-grid { grid-template-columns: minmax(0, 1fr); }
    .nfs-patch-definition { grid-template-columns: minmax(0, 1fr); }
    .nfs-patch-definition dd { padding-top: 0; border: 0; }
    .nfs-patch-section { scroll-margin-top: 84px; }
}
@media (max-width: 420px) {
    .nfs-patch-actions .nfs-patch-button { width: 100%; }
}
