/*
Theme Name: NP Leather
Theme URI: https://npleather.com
Author: Zaheer Abbas
Description: Complete website theme for NP Leather (Naeem Paswal Leather), a made-to-order leather products manufacturer in Sialkot, Pakistan. Includes the standard pages (Home, About, Custom Manufacturing, Request a Quote, Contact, FAQ, Privacy), a quote-request system with file upload and a private Inquiries inbox, category mega menu, live search, announcement bar, WhatsApp / phone quick actions and a quote banner. Works with Elementor / Elementor Pro, WooCommerce (catalog mode) and Yoast SEO.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: np-leather
Tags: e-commerce, custom-logo, custom-menu, featured-images, full-width-template, translation-ready, threaded-comments, wide-blocks
*/

/* =========================================================
   1. Tokens
   ========================================================= */
:root{
  --npl-black:      #131416;
  --npl-charcoal:   #18191b;
  --npl-rust:       #913a04;
  --npl-rust-dark:  #7a3003;
  --npl-rust-light: #b0480a;
  --npl-cream:      #faf6f0;
  --npl-sand:       #e8d5b7;
  --npl-line:       #e5ddd0;
  --npl-text:       #2a2b2d;
  --npl-muted:      #6b6760;
  --npl-font:       'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --npl-container:  1200px;
  --npl-radius:     6px;
  --npl-ease:       cubic-bezier(.22, 1, .36, 1);
  --npl-ring:       0 0 0 3px rgba(145, 58, 4, .3);
  --npl-shadow:     0 10px 30px rgba(19, 20, 22, .10);
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  margin: 0; background: #fff; color: var(--npl-text);
  font-family: var(--npl-font); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: var(--npl-rust); text-decoration: none; transition: color .2s var(--npl-ease); }
a:hover{ color: var(--npl-charcoal); }
h1, h2, h3, h4, h5, h6{ font-family: var(--npl-font); color: var(--npl-charcoal); line-height: 1.2; font-weight: 700; margin: 0 0 .6em; }
p{ margin: 0 0 1.2em; }
ul, ol{ padding-left: 1.2em; }
::selection{ background: var(--npl-sand); color: var(--npl-black); }

:focus{ outline: none; }
:focus-visible{ outline: none; box-shadow: var(--npl-ring); border-radius: 4px; }

.container{ width: 100%; max-width: var(--npl-container); margin: 0 auto; padding: 0 24px; }
.container--narrow{ max-width: 820px; }

.screen-reader-text{
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link{ position: absolute; left: 8px; top: -60px; z-index: 100000; background: var(--npl-charcoal); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--npl-radius) var(--npl-radius); }
.skip-link:focus{ top: 0; clip: auto; clip-path: none; width: auto; height: auto; margin: 0; color: #fff; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   3. Buttons
   ========================================================= */
.npl-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border: 1.5px solid var(--npl-rust); border-radius: 4px;
  background: var(--npl-rust); color: #fff; cursor: pointer;
  font-family: var(--npl-font); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
  transition: background .2s var(--npl-ease), border-color .2s var(--npl-ease), color .2s var(--npl-ease), transform .2s var(--npl-ease), box-shadow .2s var(--npl-ease);
}
.npl-btn:hover{ background: var(--npl-charcoal); border-color: var(--npl-charcoal); color: #fff; transform: translateY(-2px); box-shadow: var(--npl-shadow); }
.npl-btn:active{ transform: translateY(0); }
.npl-btn--sm{ padding: 10px 18px; font-size: .74rem; }
.npl-btn--ghost{ background: transparent; color: var(--npl-charcoal); border-color: var(--npl-charcoal); }
.npl-btn--ghost:hover{ background: var(--npl-charcoal); color: #fff; }
.npl-btn--on-dark{ background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.npl-btn--on-dark:hover{ background: var(--npl-rust); border-color: var(--npl-rust); }
.npl-btn--whatsapp{ background: #25d366; border-color: #25d366; color: #fff; }
.npl-btn--whatsapp:hover{ background: #1ebe5a; border-color: #1ebe5a; }

/* =========================================================
   4. Top contact bar (echoes the letterhead's charcoal / rust diagonal)
   ========================================================= */
.npl-topbar{
  background: linear-gradient(103deg, var(--npl-black) 0, var(--npl-black) 72%, var(--npl-rust) 72.2%, var(--npl-rust-light) 100%);
  color: #d8d3ca; font-size: .76rem; letter-spacing: .02em;
}
.npl-topbar__inner{ display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.npl-topbar__list{ flex: 1 1 auto; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 26px; list-style: none; margin: 0; padding: 0; }
.npl-topbar__list li{ display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.npl-topbar__list svg{ color: var(--npl-sand); flex-shrink: 0; }
.npl-topbar a{ color: #d8d3ca; }
.npl-topbar a:hover{ color: #fff; }
.npl-topbar__tagline{ flex: 0 0 auto; margin: 0; color: #fff; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .7rem; white-space: nowrap; }

/* =========================================================
   5. Header
   Desktop >= 1181px: inline nav + hover mega menu.
   <= 1180px: hamburger + accordion menu.
   Supports up to ~7 top-level items on one row.
   ========================================================= */
.site-header{
  --hdr-h: 84px; --logo-h: 46px;
  position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--npl-line);
  transition: box-shadow .25s var(--npl-ease);
}
.site-header.is-scrolled{ --hdr-h: 68px; --logo-h: 38px; box-shadow: 0 8px 26px rgba(19, 20, 22, .09); }
.admin-bar .site-header{ top: 32px; }
@media (max-width: 782px){ .admin-bar .site-header{ top: 46px; } }

.site-header .container, .npl-topbar .container{ max-width: 1360px; }
.header-inner{
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--hdr-h); transition: min-height .25s var(--npl-ease);
}
.site-branding{ flex: 0 0 auto; line-height: 0; }
.site-logo-default, .custom-logo-link{ display: inline-flex; align-items: center; line-height: 0; }
.site-logo-default img{ height: var(--logo-h); width: auto; transition: height .25s var(--npl-ease); }
.custom-logo{ max-height: calc(var(--logo-h) + 8px); width: auto; transition: max-height .25s var(--npl-ease); }

/* Dim the page behind an open mega menu */
body::after{
  content: ""; position: fixed; inset: 0; z-index: 900; background: rgba(19, 20, 22, .42);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--npl-ease), visibility .25s;
}
body.mega-open::after{ opacity: 1; visibility: visible; }
body.nav-locked{ overflow: hidden; }

/* Navigation */
.main-navigation{ flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.main-navigation ul{ list-style: none; margin: 0; padding: 0; }
.primary-menu{ display: flex; align-items: stretch; gap: 0; }
.primary-menu > li{ display: flex; align-items: center; position: static; }
.primary-menu > li > a{
  position: relative; display: flex; align-items: center; height: var(--hdr-h); padding: 0 11px;
  color: var(--npl-charcoal); font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: height .25s var(--npl-ease), color .2s;
}
.primary-menu > li > a::after{
  content: ""; position: absolute; left: 11px; right: 100%; bottom: -1px; height: 3px; background: var(--npl-rust);
  transition: right .3s var(--npl-ease);
}
.primary-menu > li:hover > a,
.primary-menu > li.is-open > a,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a{ color: var(--npl-rust); }
.primary-menu > li:hover > a::after,
.primary-menu > li.is-open > a::after,
.primary-menu > li.current-menu-item > a::after,
.primary-menu > li.current-menu-ancestor > a::after{ right: 11px; }

.submenu-toggle{
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: 0 0 0 -8px;
  background: none; border: 0; padding: 0; color: var(--npl-muted); cursor: pointer; border-radius: 50%;
  transition: transform .25s var(--npl-ease), color .2s, background .2s;
}
.submenu-toggle:hover{ color: var(--npl-rust); background: var(--npl-cream); }
.is-open > .submenu-toggle{ transform: rotate(180deg); color: var(--npl-rust); }

/* ---- Mega panel ---- */
.mega-panel{
  position: absolute; left: 0; right: 0; top: 100%; background: #fff;
  border-top: 1px solid var(--npl-line); border-bottom: 3px solid var(--npl-rust);
  box-shadow: 0 30px 50px rgba(19, 20, 22, .16);
  max-height: calc(100vh - var(--npl-header-bottom, 130px) - 12px); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s var(--npl-ease), transform .22s var(--npl-ease), visibility .22s;
}
.is-open > .mega-panel{ opacity: 1; visibility: visible; transform: none; }
/* No-JS fallback: plain CSS hover / focus */
html:not(.js) .has-mega-panel:hover > .mega-panel,
html:not(.js) .has-mega-panel:focus-within > .mega-panel{ opacity: 1; visibility: visible; transform: none; }

.mega-panel__inner{ display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 34px 0 30px; }
.mega-panel__inner.has-feature{ grid-template-columns: minmax(0, 1fr) 300px; }

.mega-panel__body{ display: flex; flex-wrap: wrap; align-items: flex-start; gap: 36px 64px; }
.mega-tiles{ flex: 1 1 380px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.mega-tiles a{
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 8px; border-radius: 10px;
  color: var(--npl-charcoal); text-align: center; transition: background .2s, color .2s, transform .25s var(--npl-ease);
}
.mega-tiles a:hover{ background: var(--npl-cream); color: var(--npl-rust); transform: translateY(-3px); }
.mega-tile__img{ width: 84px; height: 84px; object-fit: cover; border-radius: 50%; border: 1px solid var(--npl-line); background: var(--npl-cream); }
.mega-tile__ph{ display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 700; color: var(--npl-rust); }
.mega-tile__label{ font-size: .84rem; font-weight: 600; line-height: 1.3; }

.mega-cols{ flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 26px 44px; }
.mega-col{ min-width: 190px; }
.mega-col__title{
  display: block; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px solid var(--npl-line);
  color: var(--npl-charcoal); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  transition: color .2s, border-color .2s;
}
.mega-col__title:hover{ color: var(--npl-rust); border-color: var(--npl-rust); }
.mega-col ul{ list-style: none; margin: 0; padding: 0; }
.mega-col li a{ display: block; padding: 5px 0; color: #4a4640; font-size: .88rem; transition: color .2s, transform .2s var(--npl-ease); }
.mega-col li a:hover{ color: var(--npl-rust); transform: translateX(4px); }
.mega-col li.is-more a{ color: var(--npl-rust); font-weight: 600; }

.mega-panel__all{
  display: inline-flex; align-items: center; margin-top: 22px; color: var(--npl-rust);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.mega-panel__all:hover{ color: var(--npl-charcoal); }

.mega-feature{ position: relative; display: block; min-height: 280px; border-radius: 12px; overflow: hidden; background: var(--npl-charcoal); color: #fff; }
.mega-feature__img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--npl-ease); }
.mega-feature:hover .mega-feature__img{ transform: scale(1.06); }
.mega-feature::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19, 20, 22, .78) 0, rgba(19, 20, 22, 0) 60%); }
.mega-feature__text{ position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: block; }
.mega-feature__text strong{ display: block; font-size: 1.35rem; line-height: 1.2; margin-bottom: 4px; color: #fff; }
.mega-feature__text span{ font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--npl-sand); }

/* ---- Actions ---- */
.header-actions{ display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.icon-btn{
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  background: none; border: 0; border-radius: 50%; color: var(--npl-charcoal); cursor: pointer; transition: background .2s, color .2s;
}
.icon-btn:hover{ background: var(--npl-cream); color: var(--npl-rust); }
.icon-btn[aria-expanded="true"]{ background: var(--npl-cream); color: var(--npl-rust); }
.icon-btn--wa{ color: #1faa53; }
.icon-btn--wa:hover{ color: #148a41; }
.npl-cart-count{
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--npl-rust); color: #fff; font-size: .65rem; font-weight: 700; line-height: 18px; text-align: center;
}
.header-cta{ margin-left: 10px; padding: 12px 20px; }
.nav-cta-mobile, .nav-contact{ display: none; }
.drawer-head, .nav-overlay{ display: none; }

.menu-toggle{
  display: none; width: 44px; height: 44px; padding: 0; margin-left: 4px; background: none; border: 1px solid var(--npl-line);
  border-radius: var(--npl-radius); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.menu-toggle span{ display: block; width: 20px; height: 2px; background: var(--npl-charcoal); border-radius: 2px; transition: transform .3s var(--npl-ease), opacity .2s; }
.nav-open .menu-toggle span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2){ opacity: 0; }
.nav-open .menu-toggle span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* ---- Search (header bar + live suggestions) ---- */
.header-search{ position: relative; border-top: 1px solid var(--npl-line); background: var(--npl-cream); padding: 18px 0 20px; }
.header-search[hidden]{ display: none; }

.npl-search{ position: relative; max-width: 780px; margin: 0 auto; }
.npl-search__bar{
  display: flex; align-items: stretch; background: #fff; border: 1.5px solid var(--npl-line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.npl-search__bar:focus-within{ border-color: var(--npl-rust); box-shadow: var(--npl-ring); }

.npl-search__cat{
  flex: 0 0 auto; max-width: 200px; -webkit-appearance: none; appearance: none; cursor: pointer;
  border: 0; border-right: 1px solid var(--npl-line); border-radius: 8px 0 0 8px; padding: 0 36px 0 16px;
  background: var(--npl-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b6760' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 13px center;
  font: 600 .78rem var(--npl-font); letter-spacing: .05em; text-transform: uppercase; color: var(--npl-charcoal);
}
.npl-search__cat:focus{ outline: none; background-color: #fff; }

.npl-search__field{ position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; }
.npl-search__input{
  width: 100%; border: 0; border-radius: 0; background: transparent; outline: none; -webkit-appearance: none; appearance: none;
  padding: 16px 92px 16px 18px; font: 500 1rem var(--npl-font); color: var(--npl-text);
}
.npl-search__input::placeholder{ color: #9a9288; font-weight: 400; }
.npl-search__input::-webkit-search-cancel-button, .npl-search__input::-webkit-search-decoration{ display: none; -webkit-appearance: none; }

.npl-search__clear{
  position: absolute; right: 10px; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0;
  background: var(--npl-cream); border: 0; border-radius: 50%; color: var(--npl-muted); cursor: pointer; transition: background .2s, color .2s;
}
.npl-search__clear:hover{ background: var(--npl-sand); color: var(--npl-charcoal); }
.npl-search__clear[hidden]{ display: none; }
.npl-search__spinner{
  position: absolute; right: 48px; width: 18px; height: 18px; border: 2px solid var(--npl-line); border-top-color: var(--npl-rust);
  border-radius: 50%; opacity: 0; pointer-events: none; animation: npl-spin .7s linear infinite;
}
.npl-search.is-loading .npl-search__spinner{ opacity: 1; }
@keyframes npl-spin{ to{ transform: rotate(360deg); } }
.npl-search__kbd{
  position: absolute; right: 14px; padding: 2px 8px; border: 1px solid var(--npl-line); border-bottom-width: 2px; border-radius: 5px;
  background: var(--npl-cream); color: var(--npl-muted); font: 600 .72rem var(--npl-font); pointer-events: none;
}
.npl-search.has-value .npl-search__kbd, .npl-search.is-open .npl-search__kbd{ display: none; }
@media (hover: none){ .npl-search__kbd{ display: none; } }

.npl-search__submit{ flex: 0 0 auto; border-radius: 0 8px 8px 0; padding: 0 24px; transform: none !important; box-shadow: none !important; }
.npl-search__submit:hover{ background: var(--npl-charcoal); border-color: var(--npl-charcoal); }

/* suggestion panel */
.npl-search__panel{
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border: 1px solid var(--npl-line); border-radius: 12px; box-shadow: 0 24px 60px rgba(19, 20, 22, .2);
  max-height: min(72vh, 600px);
}
.npl-search--header .npl-search__panel{ max-height: calc(100vh - var(--npl-header-bottom, 150px) - 36px); }
.npl-search__panel[hidden], .npl-search__start[hidden], .npl-search__results[hidden], .npl-search__recent[hidden]{ display: none; }

.npl-search__heading{
  display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 6px;
  color: var(--npl-muted); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.npl-search__clear-recent{ padding: 0; background: none; border: 0; color: var(--npl-rust); font: 600 .74rem var(--npl-font); letter-spacing: .02em; text-transform: none; cursor: pointer; }
.npl-search__clear-recent:hover{ text-decoration: underline; }

.npl-search__recent-list{ display: flex; flex-direction: column; padding: 0 8px 6px; }
.npl-recent-item{
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; background: none; border: 0; border-radius: 8px;
  color: var(--npl-charcoal); font: 500 .92rem var(--npl-font); text-align: left; cursor: pointer;
}
.npl-recent-item svg{ flex: 0 0 auto; color: var(--npl-muted); }
.npl-recent-item.is-active, .npl-recent-item:hover{ background: var(--npl-cream); }

.npl-search__chips{ display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 18px 12px; }
.npl-chip{
  display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--npl-line); border-radius: 999px;
  color: var(--npl-charcoal); font-size: .82rem; font-weight: 600; transition: border-color .2s, color .2s, background .2s;
}
.npl-chip:hover, .npl-chip.is-active{ border-color: var(--npl-rust); color: var(--npl-rust); background: var(--npl-cream); }
.npl-search__hint{ margin: 0; padding: 10px 18px 14px; border-top: 1px solid var(--npl-line); background: #fcfaf6; color: var(--npl-muted); font-size: .74rem; }
@media (hover: none){ .npl-search__hint{ display: none; } }

.npl-item{ display: flex; align-items: center; gap: 14px; padding: 10px 18px; color: var(--npl-charcoal); transition: background .15s; }
.npl-item:hover, .npl-item.is-active{ background: var(--npl-cream); color: var(--npl-charcoal); }
.npl-item__thumb{
  flex: 0 0 52px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--npl-cream); border: 1px solid var(--npl-line); border-radius: 8px;
}
.npl-item__thumb img{ width: 100%; height: 100%; object-fit: cover; }
.npl-item__thumb--round{ flex-basis: 44px; width: 44px; height: 44px; border-radius: 50%; color: var(--npl-rust); }
.npl-item__thumb--icon{ flex-basis: 44px; width: 44px; height: 44px; color: var(--npl-muted); }
.npl-item__body{ flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.npl-item__title{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.npl-item__meta{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--npl-muted); font-size: .76rem; }
.npl-item__price{ flex: 0 0 auto; font-size: .88rem; font-weight: 700; }
.npl-item__go{ flex: 0 0 auto; display: inline-flex; color: var(--npl-muted); transition: transform .2s var(--npl-ease), color .2s; }
.npl-item.is-active .npl-item__go{ color: var(--npl-rust); transform: translateX(3px); }
.npl-pill{ flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; background: var(--npl-cream); color: var(--npl-muted); font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.npl-search mark{ padding: 0 1px; border-radius: 3px; background: rgba(145, 58, 4, .15); color: inherit; }

.npl-all{
  position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px;
  background: #fff; border-top: 1px solid var(--npl-line); color: var(--npl-rust); font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.npl-all span{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.npl-all:hover, .npl-all.is-active{ background: var(--npl-cream); color: var(--npl-rust); }
.npl-note{ margin: 0; padding: 4px 18px 8px; color: var(--npl-muted); font-size: .8rem; }
.npl-note--error{ padding: 18px; color: #b32d2e; }

.npl-empty{ padding: 24px 18px 18px; text-align: center; }
.npl-empty__title{ margin: 0 0 4px; font-weight: 700; font-size: 1rem; }
.npl-empty__text{ margin: 0 0 8px; color: var(--npl-muted); font-size: .88rem; }
.npl-empty .npl-search__heading{ justify-content: center; }
.npl-empty .npl-search__chips{ justify-content: center; }
.npl-empty__custom{ display: flex; flex-direction: column; gap: 4px; margin: 14px 0 2px; padding: 18px; border-radius: 10px; background: var(--npl-cream); }
.npl-empty__custom strong{ font-size: .95rem; }
.npl-empty__custom span{ color: var(--npl-muted); font-size: .86rem; }
.npl-empty__buttons{ display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }

.search-empty{ max-width: 760px; }

@media (max-width: 640px){
  .header-search{ padding: 14px 0 16px; }
  .npl-search__bar{ flex-wrap: wrap; }
  .npl-search__field{ flex: 1 1 150px; } /* basis > 0 so it wraps under the selector, next to the button */
  .npl-search__cat{ flex: 1 0 100%; max-width: none; padding: 12px 36px 12px 16px; border-right: 0; border-bottom: 1px solid var(--npl-line); border-radius: 8px 8px 0 0; }
  .npl-search__input{ padding: 14px 84px 14px 16px; }
  .npl-search__submit{ padding: 0 16px; }
  .npl-search__submit-label{ display: none; }
  .npl-search--header .npl-search__panel{ max-height: calc(100vh - var(--npl-header-bottom, 150px) - 24px); max-height: calc(100dvh - var(--npl-header-bottom, 150px) - 24px); }
  .npl-item{ padding: 10px 14px; gap: 12px; }
}

/* Slightly tighter just above the breakpoint so 7 items still fit */
@media (min-width: 1181px) and (max-width: 1320px){
  .icon-btn--wa{ display: none; }
  .header-inner{ gap: 16px; }
  .site-header{ --logo-h: 40px; }
  .primary-menu > li > a{ padding: 0 7px; font-size: .72rem; letter-spacing: .05em; }
  .primary-menu > li > a::after{ left: 7px; }
  .primary-menu > li:hover > a::after, .primary-menu > li.is-open > a::after, .primary-menu > li.current-menu-item > a::after, .primary-menu > li.current-menu-ancestor > a::after{ right: 7px; }
  .header-cta{ margin-left: 4px; padding: 11px 16px; }
}

/* =========================================================
   5b. Header — tablet / phone (<= 1180px): slide-in sidebar
   ========================================================= */
@media (max-width: 1180px){
  .site-header{ --hdr-h: 68px; --logo-h: 38px; }
  .site-header.is-scrolled{ --hdr-h: 60px; --logo-h: 34px; }
  .header-inner{ gap: 12px; }
  .menu-toggle{ display: inline-flex; }
  .header-cta{ display: none; }
  body.mega-open::after{ opacity: 0; visibility: hidden; }

  /* dimmed page behind the sidebar */
  .nav-overlay{
    display: block; position: fixed; inset: 0; z-index: 2; background: rgba(19, 20, 22, .56);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--npl-ease), visibility 0s linear .3s;
  }
  .nav-open .nav-overlay{ opacity: 1; visibility: visible; transition: opacity .3s var(--npl-ease), visibility 0s; }

  /* the sidebar itself */
  .main-navigation{
    position: fixed; z-index: 3; top: 0; right: 0; bottom: 0; left: auto;
    width: min(88vw, 400px); display: flex; flex-direction: column; justify-content: flex-start;
    background: #fff; padding: 0 0 28px; overflow-y: auto; overscroll-behavior: contain;
    box-shadow: -24px 0 60px rgba(19, 20, 22, .28);
    transform: translateX(105%); visibility: hidden;
    transition: transform .35s var(--npl-ease), visibility 0s linear .35s; /* hide only after sliding out */
  }
  .nav-open .main-navigation{ transform: none; visibility: visible; transition: transform .35s var(--npl-ease), visibility 0s; } /* visible instantly so it can take focus */
  .admin-bar .main-navigation{ top: 32px; }
  @media (max-width: 782px){ .admin-bar .main-navigation{ top: 46px; } }

  .drawer-head{
    position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; background: #fff; border-bottom: 1px solid var(--npl-line);
  }
  .drawer-logo{ display: inline-flex; line-height: 0; }
  .drawer-logo img{ height: 34px; width: auto; }
  .drawer-logo .custom-logo{ max-height: 40px; }
  .drawer-close{
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0;
    background: none; border: 1px solid var(--npl-line); border-radius: var(--npl-radius); color: var(--npl-charcoal); cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
  }
  .drawer-close:hover{ background: var(--npl-cream); color: var(--npl-rust); border-color: var(--npl-rust); }

  .main-navigation .primary-menu{ flex-direction: column; align-items: stretch; width: 100%; padding: 6px 22px 0; }
  .primary-menu > li{ flex-wrap: wrap; border-bottom: 1px solid var(--npl-line); }
  .primary-menu > li > a{ flex: 1; height: auto; padding: 17px 0; font-size: .86rem; }
  .primary-menu > li > a::after{ display: none; }
  .submenu-toggle{ width: 44px; height: 44px; margin: 0; }
  .submenu-toggle:hover{ background: none; }

  .mega-panel{
    position: static; flex: 0 0 100%; display: none; max-height: none; overflow: visible;
    opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
  }
  .is-open > .mega-panel{ display: block; }
  .mega-panel .container{ padding: 0; }
  .mega-panel__inner, .mega-panel__inner.has-feature{ grid-template-columns: minmax(0, 1fr); gap: 0; padding: 4px 0 18px; }
  .mega-feature{ display: none; }
  .mega-panel__body{ flex-direction: column; flex-wrap: nowrap; gap: 18px; }
  .mega-tiles{ order: -1; flex: 0 0 auto; width: 100%; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
  .mega-tiles a{ padding: 10px 4px; gap: 8px; }
  .mega-tile__img{ width: 60px; height: 60px; }
  .mega-tile__label{ font-size: .78rem; }
  .mega-cols{ width: 100%; gap: 20px 24px; }
  .mega-col{ flex: 1 1 150px; min-width: 0; }
  .mega-panel__all{ margin-top: 16px; }

  .nav-cta-mobile{ display: inline-flex; margin: 24px 22px 0; align-self: stretch; }
  .nav-contact{ display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 22px 0; }
  .nav-contact a{
    flex: 1 1 140px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 14px;
    border: 1px solid var(--npl-line); border-radius: 4px; color: var(--npl-charcoal); font-size: .84rem; font-weight: 600; white-space: nowrap;
  }
  .nav-contact a.is-wa{ color: #148a41; border-color: #bfe6cd; background: #f1fbf5; }
}

@media (max-width: 560px){
  .site-header{ --logo-h: 32px; }
  .site-header.is-scrolled{ --logo-h: 30px; }
  .header-inner{ gap: 8px; }
  .icon-btn--wa{ display: none; }
}

/* =========================================================
   6. Footer
   ========================================================= */
.site-footer{ background: var(--npl-charcoal); color: #c9c4ba; font-size: .9rem; }
.site-footer a{ color: #c9c4ba; }
.site-footer a:hover{ color: #fff; }

.footer-main{ padding: 72px 0 56px; }
.footer-grid{ display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-grid--3{ grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); }
.footer-logo{ display: inline-block; line-height: 0; margin-bottom: 20px; }
.footer-logo img{ width: 220px; max-width: 100%; height: auto; }
.footer-about{ max-width: 340px; color: #b3aea4; line-height: 1.75; }

.footer-col h4{
  position: relative; color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 24px; padding-bottom: 14px;
}
.footer-col h4::after{ content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--npl-rust-light); }
.footer-col ul{ list-style: none; margin: 0; padding: 0; }
.footer-col li{ margin-bottom: 12px; }
.footer-col li a{ display: inline-block; transition: color .2s, transform .2s var(--npl-ease); }
.footer-col li a:hover{ transform: translateX(4px); }
.footer-address{ margin-bottom: 8px; line-height: 1.7; }
.footer-link-arrow{ color: var(--npl-sand) !important; font-weight: 600; font-size: .84rem; }
.footer-col .npl-btn{ margin-top: 8px; }

.social-row{ display: flex; gap: 10px; margin-top: 22px; }
.social-row a{
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22); color: var(--npl-sand);
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--npl-ease);
}
.social-row a:hover{ background: var(--npl-rust); border-color: var(--npl-rust); color: #fff; transform: translateY(-3px); }

/* Contact strip — same dark-to-rust diagonal as the letterhead footer */
.footer-strip{
  background: linear-gradient(105deg, var(--npl-black) 0, var(--npl-black) 22%, var(--npl-rust-dark) 22.2%, var(--npl-rust-light) 100%);
  border-top: 3px solid var(--npl-rust);
}
.footer-strip__inner{ display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.footer-strip__item{ display: inline-flex; align-items: center; gap: 12px; color: #fff !important; font-size: .84rem; font-weight: 500; white-space: nowrap; }
.footer-strip__item .badge{
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.7); flex-shrink: 0; transition: background .2s, color .2s;
}
.footer-strip__item:hover .badge{ background: #fff; color: var(--npl-rust); }

.footer-bottom{ background: var(--npl-black); font-size: .8rem; color: #9c978d; }
.footer-bottom__inner{ display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.footer-copy{ margin: 0; }
.footer-reg{ margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.2); }
.footer-legal ul{ display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.footer-legal a{ color: #9c978d; }

@media (max-width: 960px){
  .footer-grid, .footer-grid--3{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .footer-col--brand{ grid-column: 1 / -1; }
  .footer-strip{ background: var(--npl-charcoal); }
  .footer-strip__inner{ justify-content: flex-start; }
}
@media (max-width: 1100px){ .npl-topbar__list .npl-topbar__address{ display: none; } }
@media (max-width: 782px){
  .npl-topbar{ background: var(--npl-black); }
  .npl-topbar__tagline, .npl-topbar__list .npl-topbar__address{ display: none; }
  .npl-topbar__inner{ min-height: 34px; }
  .footer-main{ padding: 52px 0 40px; }
}
@media (max-width: 560px){
  .footer-grid, .footer-grid--3{ grid-template-columns: 1fr; }
  .footer-col--brand{ grid-column: auto; }
  .footer-strip__inner{ flex-direction: column; align-items: flex-start; }
  .footer-bottom__inner{ flex-direction: column; align-items: flex-start; }
  .npl-topbar__list{ gap: 16px; flex-wrap: wrap; }
}

/* =========================================================
   7. Inner pages (minimal — Elementor handles the real design)
   ========================================================= */
.site-main{ min-height: 40vh; padding: 56px 0 72px; }
.site-main--builder{ padding: 0; min-height: 0; }
.site-main--shop{ padding: 40px 0 72px; }
.npl-breadcrumbs{ background: var(--npl-cream); border-bottom: 1px solid var(--npl-line); font-size: .8rem; color: var(--npl-muted); }
.npl-breadcrumbs .container, .npl-breadcrumbs--inline{ padding-top: 12px; padding-bottom: 12px; }
.npl-breadcrumbs--inline{ background: none; border: 0; padding: 0 0 24px; }
.npl-breadcrumbs a{ color: var(--npl-muted); }
.npl-breadcrumbs a:hover{ color: var(--npl-rust); }
.npl-breadcrumbs .breadcrumb_last{ color: var(--npl-charcoal); font-weight: 600; }

.entry-title, .archive-title{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.entry-meta, .post-card__meta{ color: var(--npl-rust); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.entry-thumb{ margin: 0 0 32px; border-radius: 10px; overflow: hidden; }
.entry-content{ font-size: 1.02rem; }
.entry-content img{ border-radius: 8px; }
.entry-content blockquote{ margin: 2em 0; padding: .4em 0 .4em 1.4em; border-left: 3px solid var(--npl-rust); font-style: italic; color: var(--npl-charcoal); }
.archive-header{ margin-bottom: 40px; }
.archive-description{ color: var(--npl-muted); }

.post-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 30px; }
.post-card{ display: flex; flex-direction: column; background: #fff; border: 1px solid var(--npl-line); border-radius: 10px; overflow: hidden; transition: box-shadow .3s var(--npl-ease), transform .3s var(--npl-ease); }
.post-card:hover{ box-shadow: var(--npl-shadow); transform: translateY(-4px); }
.post-card__media{ display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--npl-cream); }
.post-card__media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--npl-ease); }
.post-card:hover .post-card__media img{ transform: scale(1.05); }
.post-card__body{ padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__title{ font-size: 1.15rem; margin-bottom: 10px; }
.post-card__title a{ color: var(--npl-charcoal); }
.post-card__title a:hover{ color: var(--npl-rust); }
.post-card__excerpt{ color: var(--npl-muted); font-size: .92rem; flex: 1; }
.post-card__more{ font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.navigation.pagination, .post-navigation{ margin-top: 48px; }
.pagination .nav-links{ display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers{ display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--npl-line); border-radius: 4px; color: var(--npl-charcoal); font-weight: 600; }
.pagination .page-numbers:hover{ border-color: var(--npl-charcoal); }
.pagination .page-numbers.current{ background: var(--npl-charcoal); border-color: var(--npl-charcoal); color: #fff; }
.post-navigation .nav-links{ display: flex; justify-content: space-between; gap: 24px; }

.comments-area{ margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--npl-line); }
.comment-list{ list-style: none; padding: 0; }
.comment-body{ padding: 20px 0; border-bottom: 1px solid var(--npl-line); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea{
  width: 100%; padding: 12px 16px; border: 1px solid var(--npl-line); border-radius: 4px; font-family: var(--npl-font);
}
.comment-form .submit{ background: var(--npl-rust); color: #fff; border: 0; padding: 13px 26px; border-radius: 4px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; cursor: pointer; }

.not-found{ text-align: center; padding: 40px 0; }
.not-found__code{ font-size: 5rem; font-weight: 700; line-height: 1; color: var(--npl-rust); margin-bottom: 8px; }
.not-found__actions{ display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.search-empty{ max-width: 520px; margin: 24px auto; }

@media (max-width: 960px){ .post-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px){ .post-grid{ grid-template-columns: 1fr; } .site-main{ padding: 36px 0 52px; } }

/* =========================================================
   8. WooCommerce (light touch — layout comes from WooCommerce itself)
   ========================================================= */
.woocommerce .price, .woocommerce ul.products li.product .price{ color: var(--npl-charcoal); font-weight: 700; }
.woocommerce ul.products li.product .woocommerce-loop-product__title{ font-size: 1rem; font-weight: 600; color: var(--npl-charcoal); }
.woocommerce span.onsale{ background: var(--npl-rust); border-radius: 999px; min-height: 0; min-width: 0; line-height: 1; padding: 8px 12px; font-weight: 600; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit{
  background: var(--npl-rust); color: #fff; border-radius: 4px; padding: 13px 26px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover{ background: var(--npl-charcoal); color: #fff; }
.woocommerce div.product .stock{ color: #2f7a3b; font-weight: 600; }
.woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current{ background: var(--npl-charcoal); color: #fff; }

.npl-product-actions{ display: flex; gap: 8px; align-items: stretch; margin-top: 12px; }
.npl-product-actions .npl-btn{ flex: 1; }
.npl-wa-btn{
  display: inline-flex; align-items: center; justify-content: center; width: 42px; flex-shrink: 0;
  background: #25d366; color: #fff !important; border-radius: 4px; transition: background .2s, transform .2s var(--npl-ease);
}
.npl-wa-btn:hover{ background: #1ebe5a; transform: translateY(-2px); }
.npl-single-actions{ display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }

/* =========================================================
   9. Pages & sections (home, about, custom manufacturing, quote, contact)
   ========================================================= */
.center{ text-align: center; }
.site-main--sections{ padding: 0; min-height: 0; }
.npl-eyebrow{ display: inline-block; margin-bottom: 14px; color: var(--npl-rust); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

/* hero */
.npl-hero{ position: relative; overflow: hidden; color: #fff; background: linear-gradient(115deg, var(--npl-black) 0, var(--npl-charcoal) 60%, #2a1c12 100%); }
.npl-hero::before{ content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(176, 72, 10, .38), transparent 46%); pointer-events: none; }
.npl-hero .container{ position: relative; }
.npl-hero .npl-eyebrow{ color: #e0a06a; }
.npl-hero h1{ margin: 0 0 18px; color: #fff; font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.1; letter-spacing: -.015em; }
.npl-hero__lead{ max-width: 640px; margin: 0; color: #d7d0c5; font-size: 1.08rem; line-height: 1.7; }
.npl-hero--page{ padding: 64px 0 60px; }
.npl-hero--home{ padding: 104px 0 96px; }
.npl-hero--home.has-image{ background-size: cover; background-position: center; }
.npl-hero__inner{ display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 40px; }
.npl-hero__actions{ display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }
.npl-hero__points{ display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; color: #e9e2d6; font-size: .88rem; font-weight: 600; }
.npl-hero__points li{ display: inline-flex; align-items: center; gap: 8px; }
.npl-hero__points svg{ color: #e0a06a; }
.npl-hero__mark{ display: flex; justify-content: center; opacity: .16; }
.npl-hero__mark img{ width: min(100%, 420px); height: auto; }

/* sections */
.npl-section{ padding: 84px 0; }
.npl-section--tint{ background: var(--npl-cream); border-top: 1px solid var(--npl-line); border-bottom: 1px solid var(--npl-line); }
.npl-section-head{ max-width: 720px; margin: 0 0 44px; }
.npl-section-head.is-center{ margin-left: auto; margin-right: auto; text-align: center; }
.npl-section-head h2{ margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
.npl-section-head p{ margin: 0; color: var(--npl-muted); font-size: 1.04rem; }
.npl-lead{ max-width: 680px; margin: 0 auto 44px; font-size: 1.08rem; color: var(--npl-muted); }

.npl-cat-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.npl-cat-card{ position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--npl-line); border-radius: 14px; color: var(--npl-charcoal); transition: transform .3s var(--npl-ease), box-shadow .3s var(--npl-ease), border-color .3s; }
.npl-cat-card:hover{ transform: translateY(-5px); box-shadow: 0 22px 44px rgba(19, 20, 22, .14); border-color: transparent; color: var(--npl-charcoal); }
.npl-cat-card__media{ display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--npl-cream); }
.npl-cat-card__media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--npl-ease); }
.npl-cat-card:hover .npl-cat-card__media img{ transform: scale(1.06); }
.npl-cat-card__ph{ display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, #f1e6d6, #e3d0b4); color: var(--npl-rust); font-size: 4rem; font-weight: 700; }
.npl-cat-card__body{ display: flex; flex-direction: column; gap: 3px; padding: 18px 56px 20px 20px; }
.npl-cat-card__name{ font-size: 1.12rem; font-weight: 700; }
.npl-cat-card__sub{ color: var(--npl-muted); font-size: .84rem; }
.npl-cat-card__go{ position: absolute; right: 16px; bottom: 18px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--npl-cream); color: var(--npl-rust); transition: background .25s, color .25s, transform .25s var(--npl-ease); }
.npl-cat-card:hover .npl-cat-card__go{ background: var(--npl-rust); color: #fff; transform: translateX(3px); }

.npl-steps{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.npl-step{ position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--npl-line); border-radius: 14px; }
.npl-step__num{ display: block; margin-bottom: 12px; color: var(--npl-rust); font-size: 2rem; font-weight: 700; line-height: 1; }
.npl-step h3{ margin: 0 0 8px; font-size: 1.05rem; }
.npl-step p{ margin: 0; color: var(--npl-muted); font-size: .93rem; }

.npl-why{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.npl-why__item h3{ margin: 16px 0 6px; font-size: 1.05rem; }
.npl-why__item p{ margin: 0; color: var(--npl-muted); font-size: .93rem; }
.npl-why__icon{ display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: var(--npl-cream); color: var(--npl-rust); border: 1px solid var(--npl-line); }
.npl-why__icon--wa{ color: #1faa53; }

.npl-two{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.npl-card{ padding: 30px; background: #fff; border: 1px solid var(--npl-line); border-radius: 14px; }
.npl-card h3{ margin: 0 0 16px; font-size: 1.15rem; }
.npl-checks{ margin: 0 0 20px; padding: 0; list-style: none; }
.npl-checks li{ display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; }
.npl-checks svg{ flex: 0 0 auto; margin-top: 3px; color: var(--npl-rust); }

.npl-cta{ background: linear-gradient(105deg, var(--npl-black) 0, var(--npl-black) 20%, var(--npl-rust-dark) 20.2%, var(--npl-rust-light) 100%); color: #fff; }
.npl-cta__inner{ display: flex; align-items: center; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; }
.npl-cta h2{ margin: 0 0 6px; color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.npl-cta p{ margin: 0; color: #f0e3d3; }
.npl-cta__copy{ max-width: 640px; }
.npl-cta__actions{ display: flex; flex-wrap: wrap; gap: 12px; }
.npl-btn--light{ background: #fff; border-color: #fff; color: var(--npl-charcoal); }
.npl-btn--light:hover{ background: var(--npl-charcoal); border-color: var(--npl-charcoal); color: #fff; }

.npl-contact-cards{ display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.npl-contact-card{ display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px; background: #fff; border: 1px solid var(--npl-line); border-radius: 14px; color: var(--npl-charcoal); transition: border-color .2s, box-shadow .2s; }
a.npl-contact-card:hover{ border-color: var(--npl-rust); box-shadow: 0 12px 30px rgba(19, 20, 22, .1); color: var(--npl-charcoal); }
.npl-contact-card .npl-why__icon{ margin-bottom: 10px; }
.npl-contact-card > span:not(.npl-why__icon){ color: var(--npl-muted); }
.npl-contact-card a{ font-weight: 600; word-break: break-word; }
.npl-quote-aside .npl-contact-cards, .npl-quote-aside .npl-card .npl-contact-cards{ grid-template-columns: 1fr; gap: 12px; }
.npl-quote-aside .npl-contact-card{ padding: 16px 18px; }
.npl-note-line{ margin-top: 24px; color: var(--npl-muted); }

.npl-quote-layout{ display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.npl-quote-aside{ position: sticky; top: 120px; display: grid; gap: 20px; }
.npl-next{ margin: 0; padding: 0; list-style: none; counter-reset: next; }
.npl-next li{ position: relative; display: flex; flex-direction: column; gap: 2px; padding: 0 0 18px 46px; counter-increment: next; }
.npl-next li::before{ content: counter(next); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--npl-rust); color: #fff; font-size: .85rem; font-weight: 700; }
.npl-next span{ color: var(--npl-muted); font-size: .9rem; }

/* FAQ */
.npl-faq{ border-bottom: 1px solid var(--npl-line); }
.npl-faq summary{ position: relative; padding: 20px 44px 20px 0; cursor: pointer; font-weight: 700; list-style: none; }
.npl-faq summary::-webkit-details-marker{ display: none; }
.npl-faq summary::after{ content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--npl-rust); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.npl-faq[open] summary::after{ content: "–"; }
.npl-faq summary:hover{ color: var(--npl-rust); }
.npl-faq > div{ padding: 0 0 20px; color: var(--npl-muted); }

/* =========================================================
   10. Quote / contact form
   ========================================================= */
.npl-form{ margin: 28px 0 0; }
.npl-fieldset{ margin: 0 0 30px; padding: 0; border: 0; }
.npl-fieldset legend{ display: block; width: 100%; margin: 0 0 18px; padding: 0 0 10px; border-bottom: 2px solid var(--npl-line); color: var(--npl-charcoal); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.npl-form p{ margin: 0 0 18px; }
.npl-form label{ display: block; margin: 0 0 7px; color: var(--npl-charcoal); font-size: .86rem; font-weight: 600; }
.npl-form abbr{ color: #b32d2e; text-decoration: none; }
.npl-form input[type="text"], .npl-form input[type="email"], .npl-form input[type="tel"], .npl-form select, .npl-form textarea{
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--npl-line); border-radius: 8px; background: #fff; color: var(--npl-text);
  font: 500 .98rem var(--npl-font); transition: border-color .2s, box-shadow .2s;
}
.npl-form textarea{ resize: vertical; min-height: 130px; }
.npl-form input:focus, .npl-form select:focus, .npl-form textarea:focus{ outline: none; border-color: var(--npl-rust); box-shadow: var(--npl-ring); }
.npl-form .is-invalid{ border-color: #b32d2e; background: #fff8f7; }
.npl-row{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.npl-hp{ position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.npl-checks-row{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 4px; }
.npl-check{ display: flex !important; align-items: flex-start; gap: 10px; margin: 0 !important; font-weight: 500 !important; cursor: pointer; }
.npl-check input{ flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--npl-rust); }
.npl-upload{ padding: 18px; background: var(--npl-cream); border: 1.5px dashed #cdbfa9; border-radius: 10px; }
.npl-upload label{ display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.npl-upload label svg{ color: var(--npl-rust); }
.npl-upload label em{ color: var(--npl-muted); font-weight: 500; font-style: normal; }
.npl-upload input[type="file"]{ display: block; width: 100%; font: 500 .9rem var(--npl-font); }
.npl-upload small{ display: block; margin-top: 8px; color: var(--npl-muted); }
.npl-upload__list{ margin: 10px 0 0; padding: 0; list-style: none; font-size: .88rem; }
.npl-upload__list li{ padding: 3px 0; color: var(--npl-charcoal); }
.npl-upload__list li.is-bad{ color: #b32d2e; font-weight: 600; }
.npl-consent{ margin-bottom: 24px !important; font-size: .9rem; }
.npl-form__actions{ display: flex; flex-wrap: wrap; gap: 12px; }
.npl-form__actions .npl-btn:disabled{ opacity: .6; cursor: wait; }
.npl-notice{ margin: 0 0 24px; padding: 16px 20px; border-radius: 10px; font-weight: 600; }
.npl-notice--success{ background: #eaf3e6; color: #2f5a22; border: 1px solid #c5dcbc; }
.npl-notice--error{ background: #fbecea; color: #8a2a1d; border: 1px solid #efc7c1; }
.npl-notice:focus{ outline: none; }

/* =========================================================
   11. Announcement bar, floating buttons, phone action bar
   ========================================================= */
.npl-announce{ background: var(--npl-rust); color: #fff; font-size: .85rem; font-weight: 600; text-align: center; }
.npl-announce[hidden], html.npl-ann-off .npl-announce{ display: none; }
.npl-announce__inner{ display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.npl-announce p{ margin: 0; }
.npl-announce a{ color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.npl-announce__close{ display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; background: rgba(255, 255, 255, .16); border: 0; border-radius: 50%; color: #fff; cursor: pointer; }
.npl-announce__close:hover{ background: rgba(255, 255, 255, .3); }

.npl-float-wa{ position: fixed; right: 22px; bottom: 22px; z-index: 900; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(19, 20, 22, .3); transition: transform .25s var(--npl-ease), background .2s; }
.npl-float-wa:hover{ background: #1ebe5a; color: #fff; transform: translateY(-3px) scale(1.04); }
.npl-top{ position: fixed; right: 30px; bottom: 94px; z-index: 899; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--npl-charcoal); color: #fff; cursor: pointer; box-shadow: 0 8px 22px rgba(19, 20, 22, .25); transition: background .2s, transform .2s var(--npl-ease); }
.npl-top[hidden]{ display: none; }
.npl-top:hover{ background: var(--npl-rust); transform: translateY(-2px); }
.npl-mobile-bar{ display: none; }

@media (max-width: 1100px){
  .npl-steps, .npl-why{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .npl-quote-layout{ grid-template-columns: minmax(0, 1fr); }
  .npl-quote-aside{ position: static; }
  .npl-hero__inner{ grid-template-columns: minmax(0, 1fr); }
  .npl-hero__mark{ display: none; }
}
@media (max-width: 782px){
  .npl-section{ padding: 56px 0; }
  .npl-hero--home{ padding: 64px 0 56px; }
  .npl-hero--page{ padding: 44px 0 40px; }
  .npl-two{ grid-template-columns: minmax(0, 1fr); }
  .npl-cta{ background: linear-gradient(135deg, var(--npl-charcoal), var(--npl-rust-dark)); }
  .npl-float-wa{ display: none; }
  body.has-mobile-bar{ padding-bottom: 62px; }
  .npl-mobile-bar{ position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #fff; border-top: 1px solid var(--npl-line); box-shadow: 0 -8px 24px rgba(19, 20, 22, .1); padding-bottom: env(safe-area-inset-bottom, 0); }
  .npl-mobile-bar a{ display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; color: var(--npl-charcoal); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
  .npl-mobile-bar a.is-wa{ color: #148a41; }
  .npl-mobile-bar a.is-quote{ background: var(--npl-rust); color: #fff; }
  .npl-top{ right: 14px; bottom: 76px; }
}
@media (max-width: 560px){
  .npl-steps, .npl-why, .npl-row, .npl-checks-row{ grid-template-columns: minmax(0, 1fr); }
  .npl-form__actions .npl-btn{ flex: 1 1 100%; }
  .npl-hero__actions .npl-btn{ flex: 1 1 100%; }
}
