/*
Theme Name: 9Fingers DIY Plans
Theme URI: https://9fingersdiyplans.com
Author: 9Fingers
Description: Tema WordPress custom per 9fingersdiyplans.com, basato sui design "9fingers Landing v2" e "9fingers Project v2". Include un Custom Post Type "Piani" per i progetti DIY, colore accento configurabile da Customizer e supporto bilingue EN/IT senza plugin di traduzione.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nfdp
*/

/* ==========================================================================
   Reset & base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  overflow-x: hidden; max-width: 100%;
  background: #FFFFFF;
  font-family: 'Hanken Grotesk', sans-serif;
  color: #1b1b1b;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, li, figure { margin: 0; padding: 0; }
ul { list-style: none; }
input, button { font: inherit; }

:root {
  --nfdp-accent: #EFA60C;
  --ink: #161616;
  --body-copy: #1b1b1b;
}

.nfdp-container {
  max-width: 1600px;
  margin: 0 auto;
  padding-left: 5vw;
  padding-right: 5vw;
}

/* ==========================================================================
   Placeholder image slots (until real photos are uploaded)
   ========================================================================== */
.nfdp-slot {
  position: relative;
  display: block;
  width: 100%;
  background: #f1f0ee repeating-linear-gradient(45deg, #f1f0ee, #f1f0ee 10px, #e9e7e3 10px, #e9e7e3 20px);
  border: 1px solid #ececec;
  overflow: hidden;
}
.nfdp-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nfdp-slot--contain img { object-fit: contain; }
.nfdp-slot .nfdp-slot-hint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 12px;
  font-size: 12px; font-weight: 600; color: #9a9b9c;
  font-family: 'Hanken Grotesk', sans-serif;
}

/* ==========================================================================
   Header
   ========================================================================== */
.nfdp-header {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center;
  padding: 16px 5vw;
  background: #fff; border-bottom: 1px solid #ececec;
}
.nfdp-brand { display: flex; align-items: center; justify-self: start; min-width: 0; }
.nfdp-brand-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.nfdp-brand-logo { display: block; width: 40px; height: 40px; border-radius: 4px; }
.nfdp-brand .custom-logo-link { display: block; }
.nfdp-brand img.custom-logo { display: block; height: 44px; width: auto; max-width: 260px; object-fit: contain; }
.nfdp-brand-word { font-family: 'Bricolage Grotesque', sans-serif; line-height: .88; }
.nfdp-brand-word .main { font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.nfdp-brand-word .sub { font-weight: 700; font-size: 9px; letter-spacing: .32em; }

.nfdp-nav { display: flex; align-items: center; gap: 30px; font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; }
.nfdp-nav li { list-style: none; margin: 0; padding: 0; }
.nfdp-nav a { color: var(--ink); text-decoration: none; transition: opacity .15s; }
.nfdp-nav a:hover { opacity: .6; }
.nfdp-nav a.is-current { border-bottom: 2.5px solid var(--nfdp-accent); padding-bottom: 5px; }
.nfdp-nav .caret { display: inline-flex; vertical-align: -3px; margin-left: 4px; }

.nfdp-header-tools { display: flex; align-items: center; gap: 18px; justify-self: end; min-width: 0; flex-shrink: 0; }
.nfdp-lang-btn {
  cursor: pointer; font-family: 'Hanken Grotesk', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .06em;
  color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 11px;
  text-decoration: none; display: inline-block; transition: background .15s;
}
.nfdp-lang-btn:hover { background: var(--nfdp-accent); }
.nfdp-icon-btn { display: inline-flex; color: var(--ink); cursor: pointer; text-decoration: none; }
.nfdp-cart { position: relative; display: inline-flex; color: var(--ink); }
.nfdp-cart-badge {
  position: absolute; top: -7px; right: -8px; background: var(--nfdp-accent); color: var(--ink);
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 9px;
  width: 15px; height: 15px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.nfdp-menu-toggle { display: none; cursor: pointer; background: none; border: none; color: var(--ink); }

/* ==========================================================================
   Hero (front page)
   ========================================================================== */
.nfdp-hero { position: relative; min-height: 640px; display: flex; align-items: center; background: #2a2a28; overflow: hidden; }
.nfdp-hero .nfdp-slot { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.nfdp-hero-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,15,14,.82) 0%, rgba(15,15,14,.55) 38%, rgba(15,15,14,.12) 70%, rgba(15,15,14,0) 100%); }
.nfdp-hero-inner { position: relative; z-index: 2; max-width: 1600px; width: 100%; margin: 0 auto; padding: 0 5vw; }
.nfdp-hero-copy { max-width: 620px; }
.nfdp-hero-copy h1 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(38px,6.4vw,82px); line-height: .92; letter-spacing: -0.03em; color: #fff; text-transform: uppercase; }
.nfdp-hero-copy h1 .accent { color: var(--nfdp-accent); }
.nfdp-hero-copy p { margin-top: 24px; max-width: 30em; font-size: 19px; line-height: 1.5; color: #e7e7e5; }
.nfdp-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.nfdp-btn {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink); background: var(--nfdp-accent); padding: 16px 28px; text-decoration: none;
  border: none; cursor: pointer; display: inline-block; transition: filter .15s, background .15s;
}
.nfdp-btn:hover { filter: brightness(1.06); }
.nfdp-btn--ghost { background: #fff; }
.nfdp-btn--ghost:hover { background: #f0f0ef; filter: none; }
.nfdp-btn--outline { background: #fff; border: 1.5px solid var(--ink); }
.nfdp-btn--outline:hover { background: var(--ink); color: #fff; }
.nfdp-hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.nfdp-stars { color: var(--nfdp-accent); font-size: 20px; letter-spacing: 2px; }
.nfdp-hero-proof .count { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 16px; color: #fff; }
.nfdp-hero-proof .label { font-size: 14px; color: #d7d7d5; }

/* ==========================================================================
   Feature strip
   ========================================================================== */
.nfdp-feature-strip { border-bottom: 1px solid #ececec; background: #fff; }
.nfdp-feature-strip .grid { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: repeat(5,1fr); }
.nfdp-feature-strip .item { padding: 34px 26px; text-align: center; border-left: 1px solid #ececec; }
.nfdp-feature-strip .item:first-child { border-left: none; }
.nfdp-feature-strip .item i, .nfdp-feature-strip .item svg { color: var(--nfdp-accent); width: 30px; height: 30px; }
.nfdp-feature-strip h3 { margin: 14px 0 8px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.nfdp-feature-strip p { font-size: 13.5px; line-height: 1.45; color: #7c7d7e; }

/* section title with accent underline */
.nfdp-section-title { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(26px,3vw,36px); letter-spacing: -0.02em; text-transform: uppercase; color: var(--ink); }
.nfdp-underline { width: 54px; height: 3px; background: var(--nfdp-accent); margin-top: 10px; }

/* ==========================================================================
   Featured projects grid
   ========================================================================== */
.nfdp-projects { max-width: 1600px; margin: 0 auto; padding: 66px 5vw 30px; }
.nfdp-projects-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.nfdp-projects-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }
.nfdp-product-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: opacity .15s; }
.nfdp-product-card:hover { opacity: .92; }
.nfdp-product-card .nfdp-slot { aspect-ratio: 1/1; border-radius: 2px; }
.nfdp-product-card h3 { margin: 14px 0 6px; font-family: 'Hanken Grotesk', sans-serif; font-weight: 700; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; }
.nfdp-product-card .price { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 16px; }
.nfdp-product-card .rating { display: flex; align-items: center; gap: 7px; margin-top: 7px; }
.nfdp-product-card .rating .stars { color: var(--nfdp-accent); font-size: 13px; letter-spacing: 1px; }
.nfdp-product-card .rating .count { font-size: 12px; color: #9a9b9c; }

/* ==========================================================================
   Why build it (landing)
   ========================================================================== */
.nfdp-why { max-width: 1600px; margin: 0 auto; padding: 40px 5vw 70px; }
.nfdp-why-grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: 44px; align-items: stretch; background: #faf9f7; }
.nfdp-why-media { position: relative; min-height: 430px; }
.nfdp-why-media .nfdp-slot { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.nfdp-why-badge {
  position: absolute; left: 26px; top: 26px; width: 96px; height: 96px; border-radius: 50%;
  border: 2px solid var(--nfdp-accent); background: rgba(20,20,18,.78);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; z-index: 2;
}
.nfdp-why-badge .initials { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 28px; color: var(--nfdp-accent); line-height: 1; }
.nfdp-why-badge .tag { font-family: 'Hanken Grotesk', sans-serif; font-weight: 700; font-size: 7px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-top: 5px; line-height: 1.3; }
.nfdp-why-body { padding: 44px 44px 44px 0; }
.nfdp-why-body p.lede { margin-top: 20px; max-width: 38em; font-size: 16.5px; line-height: 1.6; color: #4a4b4c; }
.nfdp-why-points { margin-top: 32px; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.nfdp-why-points .pt { text-align: center; }
.nfdp-why-points .circle { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--nfdp-accent); color: var(--nfdp-accent); }
.nfdp-why-points h3 { margin: 14px 0 7px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 12.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.nfdp-why-points p { font-size: 12.5px; line-height: 1.45; color: #7c7d7e; }

/* ==========================================================================
   Newsletter band
   ========================================================================== */
.nfdp-newsletter { background: var(--nfdp-accent); }
.nfdp-newsletter .wrap { max-width: 1600px; margin: 0 auto; padding: 30px 5vw; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.nfdp-newsletter-left { display: flex; align-items: center; gap: 18px; }
.nfdp-newsletter-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff; flex: 0 0 auto; }
.nfdp-newsletter h3 { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; text-transform: uppercase; color: var(--ink); }
.nfdp-newsletter p { margin-top: 4px; font-size: 14px; color: #3a3322; }
.nfdp-newsletter form { display: flex; gap: 0; flex: 0 1 460px; min-width: 260px; }
.nfdp-newsletter input[type="email"] { flex: 1; font-family: 'Hanken Grotesk', sans-serif; font-size: 14px; color: var(--ink); background: #fff; border: none; padding: 15px 18px; outline: none; }
.nfdp-newsletter input::placeholder { color: #9a9b9c; }
.nfdp-newsletter button { cursor: pointer; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--ink); border: none; padding: 15px 24px; }
.nfdp-newsletter button:hover { background: #000; }

/* ==========================================================================
   Footer
   ========================================================================== */
.nfdp-footer {
  position: relative; z-index: 0; color: #cfcfcd;
  max-width: 1600px; margin: 0 auto; padding: 0 5vw;
  display: grid; grid-template-columns: 4.5fr 1fr; gap: 40px; align-items: stretch;
}
.nfdp-footer::before {
  content: ""; position: absolute; z-index: -1;
  top: 0; bottom: 0; left: 0; right: 0;
  margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%);
  background: #222220;
}
.nfdp-footer-main { display: flex; flex-direction: column; min-width: 0; }
.nfdp-footer-grid { flex: 1 1 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 30px; }
.nfdp-footer-brand .nfdp-brand-word { color: #fff; }
.nfdp-footer-logo-img { display: block; max-height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.nfdp-footer-brand p { margin-top: 18px; max-width: 24em; font-size: 13.5px; line-height: 1.55; color: #9a9b99; }
.nfdp-social { display: flex; gap: 10px; margin-top: 20px; }
.nfdp-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #4a4a47; color: #cfcfcd; font-family: 'Hanken Grotesk', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .02em; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.nfdp-social a:hover { background: var(--nfdp-accent); border-color: var(--nfdp-accent); color: var(--ink); }
.nfdp-footer-col-title { font-family: 'Hanken Grotesk', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.nfdp-footer-col ul li a { display: block; font-size: 13.5px; color: #a8a9a7; text-decoration: none; padding: 6px 0; transition: color .15s; }
.nfdp-footer-col ul li a:hover { color: #fff; }
.nfdp-footer-media { position: relative; min-height: 150px; }
.nfdp-footer-media .nfdp-slot { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 3px; border: none; }
.nfdp-footer-media .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,18,0) 40%, rgba(20,20,18,.7) 100%); border-radius: 3px; }
.nfdp-footer-script { position: absolute; right: 14px; bottom: 12px; font-family: 'Caveat', cursive; font-weight: 600; font-size: 24px; color: var(--nfdp-accent); text-align: right; line-height: 1.05; white-space: pre-line; z-index: 2; }
.nfdp-footer-bottom { border-top: 1px solid #3a3a37; }
.nfdp-footer-bottom .inner { padding: 18px 0; font-size: 12.5px; color: #8a8b89; }

/* ==========================================================================
   Single Piano (product page)
   ========================================================================== */
.nfdp-breadcrumb { max-width: 1500px; margin: 0 auto; padding: 18px 5vw 6px; font-family: 'Hanken Grotesk', sans-serif; font-size: 13px; font-weight: 600; color: #9a9b9c; }
.nfdp-breadcrumb a { color: #9a9b9c; text-decoration: none; }
.nfdp-breadcrumb a:hover { color: var(--ink); }
.nfdp-breadcrumb .sep { margin: 0 8px; color: #cfd0d1; }
.nfdp-breadcrumb .current { color: var(--ink); }

.nfdp-product-top { max-width: 1500px; margin: 0 auto; padding: 14px 5vw 0; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 48px; align-items: start; }
.nfdp-product-top > div { min-width: 0; }
.nfdp-gallery-main-wrap { position: relative; }
.nfdp-gallery-main { aspect-ratio: 1/1; border-radius: 4px; }
.nfdp-badge-pill { position: absolute; left: 16px; top: 16px; background: var(--nfdp-accent); color: var(--ink); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 13px; z-index: 2; }
.nfdp-thumbs-row { margin-top: 14px; display: flex; align-items: center; gap: 10px; }
.nfdp-thumbs-arrow { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 46px; border: 1px solid #e2e2e2; color: #6b6c6e; cursor: pointer; flex: 0 0 auto; background: none; }
.nfdp-thumbs-track {
  display: flex; gap: 10px; flex: 1; min-width: 0;
  overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.nfdp-thumbs-track::-webkit-scrollbar { display: none; }
.nfdp-thumb {
  flex: 0 0 auto; width: 84px; height: 84px; object-fit: cover;
  border-radius: 3px; cursor: pointer; border: 1px solid #ececec;
}
.nfdp-thumb.is-active { border-color: var(--nfdp-accent); border-width: 2px; }

/* Dot pagination, shared by the gallery thumbnails and the build-overview carousel */
.nfdp-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.nfdp-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: #e2e2e2; cursor: pointer; transition: background .15s, transform .15s; }
.nfdp-dot:hover { background: #c9c9c9; }
.nfdp-dot.is-active { background: var(--nfdp-accent); transform: scale(1.25); }

/* Small prev/next arrows flanking a dot row (Build Overview carousel) */
.nfdp-carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
.nfdp-carousel-nav .nfdp-dots { margin-top: 0; }
.nfdp-carousel-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; padding: 0;
  border: 1px solid #e2e2e2; background: #fff; color: #6b6c6e; cursor: pointer;
  transition: border-color .15s, color .15s, opacity .15s;
}
.nfdp-carousel-arrow:hover { border-color: var(--nfdp-accent); color: var(--ink); }
.nfdp-carousel-arrow:disabled { opacity: .35; cursor: default; border-color: #e2e2e2; color: #6b6c6e; }

.nfdp-product-info h1 { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(28px,3vw,40px); line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; overflow-wrap: break-word; }
.nfdp-product-rating { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.nfdp-product-rating .stars { color: var(--nfdp-accent); font-size: 18px; letter-spacing: 1px; }
.nfdp-product-rating .count { font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: 14px; color: #5b5c5e; }
.nfdp-product-lede { margin: 18px 0 0; max-width: 34em; font-size: 16.5px; line-height: 1.55; color: #3a3b3d; }
.nfdp-mini-features { margin-top: 26px; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.nfdp-mini-features .mf { text-align: center; }
.nfdp-mini-features i, .nfdp-mini-features svg { color: var(--nfdp-accent); width: 26px; height: 26px; }
.nfdp-mini-features .label { margin-top: 9px; font-family: 'Hanken Grotesk', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); line-height: 1.25; }

.nfdp-spec-table { margin-top: 24px; background: #f7f6f4; border-radius: 4px; padding: 18px 22px; }
.nfdp-spec-table .row { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 7px 0; }
.nfdp-spec-table .k { font-family: 'Hanken Grotesk', sans-serif; font-weight: 700; font-size: 13.5px; color: #6b6c6e; }
.nfdp-spec-table .v { font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: 13.5px; color: var(--ink); }

.nfdp-buy-cta { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 12px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: var(--nfdp-accent); padding: 19px 24px; text-decoration: none; }
.nfdp-buy-cta:hover { filter: brightness(1.06); }
.nfdp-secure-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 13px; color: #7c7d7e; }
.nfdp-secure-row span { font-size: 13px; }

.nfdp-trust-strip { margin-top: 48px; background: #f7f6f4; }
.nfdp-trust-strip .grid { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: repeat(5,1fr); }
.nfdp-trust-strip .item { padding: 30px 24px; text-align: center; border-left: 1px solid #e7e6e3; }
.nfdp-trust-strip .item:first-child { border-left: none; }
.nfdp-trust-strip i, .nfdp-trust-strip svg { color: var(--nfdp-accent); width: 26px; height: 26px; }
.nfdp-trust-strip h3 { margin: 13px 0 6px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.nfdp-trust-strip p { font-size: 12.5px; line-height: 1.4; color: #7c7d7e; }

.nfdp-why-single { max-width: 1500px; margin: 0 auto; padding: 56px 5vw; }
.nfdp-why-single-card { background: #faf9f7; border-radius: 4px; padding: 42px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.nfdp-why-single-card h2 { font-size: clamp(24px,2.6vw,32px); }
.nfdp-why-single-card .lede { margin-top: 20px; font-size: 15.5px; line-height: 1.6; color: #4a4b4c; }
.nfdp-why-single-points { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; }
.nfdp-why-single-points .wp { display: flex; gap: 14px; align-items: flex-start; }
.nfdp-why-single-points i, .nfdp-why-single-points svg { color: var(--nfdp-accent); flex: 0 0 auto; margin-top: 2px; width: 24px; height: 24px; }
.nfdp-why-single-points h3 { margin: 0 0 4px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.nfdp-why-single-points p { font-size: 13px; line-height: 1.45; color: #7c7d7e; }

.nfdp-dimensions { max-width: 1500px; margin: 0 auto; padding: 0 5vw 56px; }
.nfdp-dimensions h2 { font-size: clamp(24px,2.6vw,32px); margin-bottom: 8px; }
.nfdp-dimensions .nfdp-underline { margin-bottom: 26px; }
.nfdp-dimensions-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.nfdp-dimensions-grid .nfdp-slot { aspect-ratio: 16/11; border-radius: 4px; }
.nfdp-dimensions-grid .drawing { background: #fbfbfa; }

.nfdp-build-overview { background: #f7f6f4; }
.nfdp-build-overview .inner { max-width: 1500px; margin: 0 auto; padding: 54px 5vw; }
.nfdp-build-overview h2 { font-size: clamp(24px,2.6vw,32px); margin-bottom: 6px; }
.nfdp-build-overview .sub { margin-bottom: 30px; font-size: 15px; color: #6b6c6e; }
.nfdp-steps-track {
  display: flex; gap: 18px;
  overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.nfdp-steps-track::-webkit-scrollbar { display: none; }
.nfdp-step { flex: 0 0 calc((100% - 4 * 18px) / 5); scroll-snap-align: start; min-width: 140px; }
.nfdp-step-media {
  position: relative; display: block; width: 100%; padding: 0; margin: 0; border: none; background: none;
  font: inherit; text-align: inherit; cursor: zoom-in;
}
.nfdp-step-media .nfdp-slot { aspect-ratio: 1/1; border-radius: 3px; background: #fff; }
.nfdp-step-num { position: absolute; left: 10px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--nfdp-accent); color: var(--ink); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; z-index: 2; }
.nfdp-step h3 { margin: 14px 0 5px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; text-align: center; color: var(--ink); }
.nfdp-step p { font-size: 12.5px; line-height: 1.4; color: #7c7d7e; text-align: center; }

/* Lightbox (build-overview step photos) */
.nfdp-lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  align-items: center; justify-content: center;
  background: rgba(10,10,9,.92);
}
.nfdp-lightbox.is-open { display: flex; }
.nfdp-lightbox-img { max-width: 88vw; max-height: 86vh; object-fit: contain; border-radius: 4px; }
.nfdp-lightbox-close, .nfdp-lightbox-prev, .nfdp-lightbox-next {
  position: absolute; border: none; background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  transition: background .15s;
}
.nfdp-lightbox-close:hover, .nfdp-lightbox-prev:hover, .nfdp-lightbox-next:hover { background: rgba(255,255,255,.22); }
.nfdp-lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; }
.nfdp-lightbox-prev, .nfdp-lightbox-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.nfdp-lightbox-prev { left: 16px; }
.nfdp-lightbox-next { right: 16px; }

.nfdp-incl-mat-specs { max-width: 1500px; margin: 0 auto; padding: 56px 5vw; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: start; }
.nfdp-panel { background: #faf9f7; border-radius: 4px; padding: 28px; }
.nfdp-panel h3 { margin: 0 0 6px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; text-transform: uppercase; }
.nfdp-panel .nfdp-underline { width: 42px; margin-bottom: 14px; }
.nfdp-check-list .ci { display: flex; align-items: flex-start; gap: 11px; padding: 7px 0; }
.nfdp-check-list i, .nfdp-check-list svg { color: var(--nfdp-accent); flex: 0 0 auto; margin-top: 1px; width: 17px; height: 17px; }
.nfdp-check-list span { font-size: 14px; color: #2f3032; }
.nfdp-panel .sub { margin-bottom: 14px; font-size: 13.5px; line-height: 1.5; color: #6b6c6e; }
.nfdp-materials-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.nfdp-materials-row .nfdp-slot { width: 96px; height: 120px; border-radius: 3px; }
.nfdp-bullet-list .bl { display: flex; align-items: flex-start; gap: 9px; padding: 5px 0; }
.nfdp-bullet-list .dot { color: var(--nfdp-accent); font-size: 13px; line-height: 1.5; }
.nfdp-bullet-list span.label { font-size: 13.5px; color: #2f3032; }
.nfdp-panel .label-row { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.nfdp-skill-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.nfdp-skill-row .stars-on { color: var(--nfdp-accent); }
.nfdp-skill-row .stars-off { color: #d8d6d1; }
.nfdp-skill-row .val { font-size: 13.5px; color: #5b5c5e; }
.nfdp-hr { height: 1px; background: #ebe9e5; margin: 18px 0; }
.nfdp-time-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: #5b5c5e; }
.nfdp-time-row i, .nfdp-time-row svg { color: var(--nfdp-accent); width: 18px; height: 18px; }
.nfdp-tools-row { display: flex; gap: 18px; margin-top: 12px; color: #5b5c5e; }
.nfdp-tools-row i, .nfdp-tools-row svg { color: #4a4b4c; width: 26px; height: 26px; }

.nfdp-customer-builds { max-width: 1500px; margin: 0 auto; padding: 0 5vw 56px; }
.nfdp-customer-builds h2 { font-size: clamp(22px,2.4vw,30px); margin-bottom: 4px; }
.nfdp-customer-builds .sub { margin-bottom: 22px; font-size: 14px; color: #6b6c6e; }
.nfdp-cb-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.nfdp-cb-grid .nfdp-slot { aspect-ratio: 4/3; border-radius: 3px; }

.nfdp-faq-ready { max-width: 1500px; margin: 0 auto; padding: 0 5vw 60px; display: grid; grid-template-columns: 1.55fr 1fr; gap: 30px; align-items: start; }
.nfdp-faq-col h2 { font-size: clamp(22px,2.4vw,30px); margin-bottom: 6px; }
.nfdp-faq-col .nfdp-underline { margin-bottom: 22px; }
.nfdp-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.nfdp-faq-item { border: 1px solid #ececec; border-radius: 4px; overflow: hidden; align-self: start; }
.nfdp-faq-q { cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; background: #fff; border: none; padding: 15px 16px; font-family: 'Hanken Grotesk', sans-serif; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.nfdp-faq-q .caret { display: inline-flex; color: #9a9b9c; flex: 0 0 auto; transition: transform .15s; }
.nfdp-faq-item.is-open .caret { transform: rotate(180deg); }
.nfdp-faq-a { margin: 0; padding: 0 16px 15px; font-size: 13px; line-height: 1.5; color: #6b6c6e; display: none; }
.nfdp-faq-item.is-open .nfdp-faq-a { display: block; }

.nfdp-ready-card { background: #fdf3da; border-radius: 4px; padding: 36px 32px; text-align: center; }
.nfdp-ready-card .circle { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--nfdp-accent); color: var(--nfdp-accent); }
.nfdp-ready-card h3 { margin: 18px 0 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.nfdp-ready-card p.body { margin-top: 14px; font-size: 14px; line-height: 1.5; color: #6b5e3e; }
.nfdp-ready-card .nfdp-buy-cta { margin-top: 22px; font-size: 14px; padding: 16px 22px; }
.nfdp-ready-card p.note { margin-top: 12px; font-size: 12.5px; color: #8a7c52; }

/* ==========================================================================
   About page
   ========================================================================== */
.nfdp-about-hero { background: #f7f6f4; }
.nfdp-about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 460px; }
.nfdp-about-hero-copy { padding: 56px 5vw; display: flex; flex-direction: column; justify-content: center; max-width: 620px; }
.nfdp-about-hero-copy p { margin-top: 16px; font-size: 15.5px; line-height: 1.6; color: #3a3b3d; }
.nfdp-about-hero-copy p:first-of-type { margin-top: 22px; }
.nfdp-about-cta { margin-top: 24px; align-self: flex-start; }
.nfdp-about-hero-media { position: relative; }
.nfdp-about-hero-media .nfdp-slot { position: absolute; inset: 0; width: 100%; height: 100%; border: none; border-radius: 0; }

.nfdp-about-story { padding: 64px 0; background: #fff; }
.nfdp-about-story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.nfdp-about-story-media .nfdp-slot { aspect-ratio: 4/3; border-radius: 4px; }
.nfdp-about-story-copy p { margin-top: 16px; font-size: 15px; line-height: 1.6; color: #4a4b4c; }
.nfdp-about-features { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.nfdp-about-features .af i, .nfdp-about-features .af svg { color: var(--nfdp-accent); }
.nfdp-about-features h3 { margin: 14px 0 6px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.nfdp-about-features p { font-size: 12.5px; line-height: 1.45; color: #7c7d7e; }

.nfdp-about-why { background: #faf9f7; padding: 60px 0; }
.nfdp-about-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.nfdp-about-why-list { margin-top: 22px; display: flex; flex-direction: column; gap: 4px; }
.nfdp-about-why-list li { display: flex; align-items: flex-start; gap: 11px; padding: 7px 0; }
.nfdp-about-why-list i, .nfdp-about-why-list svg { color: var(--nfdp-accent); flex: 0 0 auto; margin-top: 2px; }
.nfdp-about-why-list span { font-size: 14.5px; color: #2f3032; }
.nfdp-about-quote { margin: 26px 0 0; font-family: 'Caveat', cursive; font-weight: 600; font-size: 28px; line-height: 1.3; color: var(--ink); }
.nfdp-about-why-media .nfdp-slot { aspect-ratio: 5/4; border-radius: 4px; }

.nfdp-about-stats { background: #fff; border-top: 1px solid #ececec; }
.nfdp-about-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); padding: 40px 0; }
.nfdp-about-stats .stat { text-align: center; padding: 0 20px; border-left: 1px solid #ececec; }
.nfdp-about-stats .stat:first-child { border-left: none; }
.nfdp-about-stats .stat i, .nfdp-about-stats .stat svg { color: var(--nfdp-accent); }
.nfdp-about-stats .num { margin-top: 10px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 26px; color: var(--ink); }
.nfdp-about-stats .label { margin-top: 4px; font-size: 12.5px; color: #7c7d7e; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nfdp-product-top,
  .nfdp-why-grid,
  .nfdp-dimensions-grid,
  .nfdp-faq-ready,
  .nfdp-about-hero-grid,
  .nfdp-about-story-grid,
  .nfdp-about-why-grid { grid-template-columns: 1fr; }
  .nfdp-why-body { padding: 30px; }
  .nfdp-incl-mat-specs { grid-template-columns: 1fr 1fr; }
  .nfdp-projects-grid, .nfdp-cb-grid { grid-template-columns: repeat(3,1fr); }
  .nfdp-step { flex-basis: calc((100% - 2 * 18px) / 3); }
  .nfdp-feature-strip .grid, .nfdp-trust-strip .grid { grid-template-columns: repeat(3,1fr); }
  .nfdp-footer { grid-template-columns: 3fr 1fr; }
  .nfdp-footer-grid { grid-template-columns: 1fr 1fr; }
  .nfdp-about-hero-media { min-height: 320px; }
  .nfdp-about-features, .nfdp-about-stats-grid { grid-template-columns: repeat(2,1fr); }
  .nfdp-about-stats .stat:nth-child(3) { border-left: none; }
}
@media (max-width: 780px) {
  .nfdp-nav { display: none; }
  .nfdp-menu-toggle { display: inline-flex; }
  .nfdp-incl-mat-specs { grid-template-columns: 1fr; }
  .nfdp-mini-features { grid-template-columns: repeat(2,1fr); }
  .nfdp-projects-grid, .nfdp-cb-grid { grid-template-columns: repeat(2,1fr); }
  .nfdp-step { flex-basis: calc((100% - 1 * 18px) / 2); }
  .nfdp-feature-strip .grid, .nfdp-trust-strip .grid, .nfdp-why-points, .nfdp-faq-grid { grid-template-columns: 1fr; }
  .nfdp-feature-strip .item, .nfdp-trust-strip .item { border-left: none; border-top: 1px solid #ececec; }
  .nfdp-footer { grid-template-columns: 1fr; }
  .nfdp-footer-grid { grid-template-columns: 1fr 1fr; }
  .nfdp-footer-media { min-height: 200px; order: -1; }
  .nfdp-thumb { width: 68px; height: 68px; }
  .nfdp-about-features, .nfdp-about-stats-grid { grid-template-columns: 1fr; }
  .nfdp-about-stats .stat { border-left: none; border-top: 1px solid #ececec; padding: 20px 0; }
  .nfdp-about-stats .stat:first-child { border-top: none; }
}
@media (max-width: 520px) {
  .nfdp-header { padding: 12px 4vw; }
  .nfdp-header-tools { gap: 10px; }
  .nfdp-brand img.custom-logo { height: 34px; max-width: 130px; }
  .nfdp-brand-word .main { font-size: 17px; }
  .nfdp-brand-word .sub { font-size: 7px; }
  .nfdp-lang-btn { padding: 4px 8px; font-size: 11px; }
}
