/* Tailwind CSS variable init (needed by legacy compiled rules) */

*,
:after,
:before {
  --tw-border-spacing-x:0;
  --tw-border-spacing-y:0;
  --tw-translate-x:0;
  --tw-translate-y:0;
  --tw-rotate:0;
  --tw-skew-x:0;
  --tw-skew-y:0;
  --tw-scale-x:1;
  --tw-scale-y:1;
  --tw-pan-x:;
  --tw-pan-y:;
  --tw-pinch-zoom:;
  --tw-scroll-snap-strictness:proximity;
  --tw-gradient-from-position:;
  --tw-gradient-via-position:;
  --tw-gradient-to-position:;
  --tw-ordinal:;
  --tw-slashed-zero:;
  --tw-numeric-figure:;
  --tw-numeric-spacing:;
  --tw-numeric-fraction:;
  --tw-ring-inset:;
  --tw-ring-offset-width:0px;
  --tw-ring-offset-color:#fff;
  --tw-ring-color:rgba(59,130,246,.5);
  --tw-ring-offset-shadow:0 0 #0000;
  --tw-ring-shadow:0 0 #0000;
  --tw-shadow:0 0 #0000;
  --tw-shadow-colored:0 0 #0000;
  --tw-blur:;
  --tw-brightness:;
  --tw-contrast:;
  --tw-grayscale:;
  --tw-hue-rotate:;
  --tw-invert:;
  --tw-saturate:;
  --tw-sepia:;
  --tw-drop-shadow:;
  --tw-backdrop-blur:;
  --tw-backdrop-brightness:;
  --tw-backdrop-contrast:;
  --tw-backdrop-grayscale:;
  --tw-backdrop-hue-rotate:;
  --tw-backdrop-invert:;
  --tw-backdrop-opacity:;
  --tw-backdrop-saturate:;
  --tw-backdrop-sepia:;
  --tw-contain-size:;
  --tw-contain-layout:;
  --tw-contain-paint:;
  --tw-contain-style:;
}

/* Design tokens */

:root {
  /* Colors */
  --ink:          #0a0a0a;
  --ink-2:        #3a3a3a;
  --ink-3:        #7a7a7a;
  --line:         #ececea;
  --line-2:       #e5e2db;
  --soft:         #f6f4ef;
  --soft-2:       #faf8f3;
  --accent:       #8b734b;
  --accent-ink:   #6a572f;
  --accent-soft:  #f3eee2;

  /* Typography */
  --font-sans:    'Manrope', system-ui, sans-serif;
  --font-serif:   "Montserrat", sans-serif;
  --font-mono:    Manrope, ui-sans-serif, system-ui, sans-serif;

  /* Radius */
  --radius-xl:   28px;
  --radius-lg:   20px;
  --radius-md:   14px;
  --radius-sm:   10px;
  --radius-pill: 999px;

  /* Spacing helpers */
  --container-max:     1320px;
  --container-padding: 2rem;

  /* Layout */
  --header-height: 72px;
}

/* Reset */

/* Domyślny wygląd dla .ne-em (zamiennik <em> generowany z *tekstu*),
   nadpisywany lokalnie tam, gdzie kontekst definiuje własny kolor. */
.ne-em {
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /*
   * Editor-pasted long unbroken strings (bare URLs are the common case --
   * e.g. the privacy policy's plain-text links to Google's policy pages)
   * don't wrap by default and push the page into horizontal scroll on
   * narrow viewports without ever enlarging their own element's box, so
   * a plain "does anything's bounding rect exceed the viewport" check
   * won't catch it. Wrapping site-wide is a safe default: it only
   * changes how content that would otherwise overflow behaves.
   */
  overflow-wrap: break-word;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.05em;
}

b, strong {
  font-weight: 500;
  letter-spacing: -0.05em;
}

p {
  line-height: 1.7;
}

/* Container */

.ne-container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.ne-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  display: inline-block;
  padding: 10px 20px;
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.15s ease;
}

.ne-skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Base typography */

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; letter-spacing: -0.05em;}
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 500; letter-spacing: -0.05em;}
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -0.05em;}
h4 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.05em;}
h5 { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.05em;}
h6 { font-size: 1rem; font-weight: 500; letter-spacing: -0.05em;}

.ne-scroll-anchor {
  scroll-margin-top: 88px;
}

@keyframes ne-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

@keyframes ne-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ne-spin {
  to { transform: rotate(360deg); }
}

.ne-cta-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 60px;
  margin-top: 22px;
  padding: 0 24px;
  background-color: var(--ink);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.12s ease;
}

.ne-cta-big:hover {
  background-color: #1a1a1a;
}

/* Accent variant -- reserved for elevated/emphasis CTAs */
.ne-cta-big.accent {
  background-color: var(--accent);
}

.ne-cta-big.accent:hover {
  background-color: var(--accent-ink);
}

.ne-cta-big:active {
  transform: scale(0.98);
}

.ne-cta-big:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.ne-cta-big svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ne-cta-big:hover svg {
  transform: translateX(3px);
}

/* Page template */

.ne-page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
  background: var(--soft-2);
  margin-bottom: 2.5rem;
}

.ne-page-header.ne-ed-head {
  background: none;
  margin-bottom: 20px;
}

.ne-page-header__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.ne-page-header__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.ne-page-header__desc {
  font-size: 16px;
  color: var(--ink-3);
  max-width: 600px;
  line-height: 1.7;
}

.ne-page-body {
  padding: 56px 0 80px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
}

/* Post / article typography */

.ne-prose {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 72ch;
}

.ne-prose h1,
.ne-prose h2,
.ne-prose h3,
.ne-prose h4,
.ne-prose h5,
.ne-prose h6 {
  color: var(--ink);
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.ne-prose p {
  margin-bottom: 1.25em;
}

.ne-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ne-prose a:hover {
  color: var(--accent-ink);
}

.ne-prose ul,
.ne-prose ol {
  margin-bottom: 1.25em;
  padding-left: 1.5em;
  list-style: disc;
}

.ne-prose ol {
  list-style: decimal;
}

.ne-prose li {
  margin-bottom: 0.4em;
}

.ne-prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-2);
  font-style: italic;
  margin: 1.5em 0;
}

.ne-prose code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--soft);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-ink);
}

.ne-prose pre {
  background: var(--ink);
  color: #e8e8e8;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1.5em 0;
}

.ne-prose pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.ne-prose img {
  border-radius: var(--radius-md);
  margin: 1.5em 0;
}

.ne-prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}

.ne-prose strong {
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.05em;
}

.ne-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 1.5em 0;
}

.ne-prose th,
.ne-prose td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.ne-prose th {
  font-weight: 600;
  background: var(--soft);
  color: var(--ink);
}

/* Breadcrumbs */

.ne-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.ne-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.ne-breadcrumb a:hover {
  color: var(--accent);
}

.ne-breadcrumb__sep {
  opacity: 0.4;
  user-select: none;
}

.ne-breadcrumb [aria-current="page"],
.ne-breadcrumb__current {
  color: var(--ink-2);
}

/* WooCommerce breadcrumb compatibility */
.woocommerce-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--ink-3);
  margin-bottom: 16px;
  background: none;
}

.woocommerce-breadcrumb a {
  color: var(--ink-3);
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
  color: var(--accent);
}

/* WooCommerce form inputs */

.woocommerce input.input-text,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="number"],
.woocommerce input[type="password"],
.woocommerce input[type="search"],
.woocommerce textarea,
.woocommerce select {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #ffffff;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce input.input-text:focus,
.woocommerce input[type="text"]:focus,
.woocommerce input[type="email"]:focus,
.woocommerce input[type="tel"]:focus,
.woocommerce input[type="number"]:focus,
.woocommerce input[type="password"]:focus,
.woocommerce input[type="search"]:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 115, 75, 0.12);
}

.woocommerce textarea {
  resize: vertical;
  min-height: 120px;
}

.woocommerce .form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.woocommerce .form-row label .required {
  color: var(--accent);
  margin-left: 2px;
}

.woocommerce .form-row .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

/* WooCommerce buttons */

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input[type="submit"].button,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input[type="submit"].button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: var(--accent);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input[type="submit"].button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input[type="submit"].button.alt:hover {
  background-color: var(--accent-ink);
  box-shadow: 0 4px 12px rgba(139, 115, 75, 0.25);
  color: #ffffff;
}

.woocommerce button.button:disabled,
.woocommerce a.button.disabled,
.woocommerce input[type="submit"].button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* WooCommerce notices */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  list-style: none;
}

.woocommerce-message {
  background: var(--soft);
  border-left: 4px solid var(--accent);
  color: var(--ink-2);
}

.woocommerce-info {
  background: #eef4fb;
  border-left: 4px solid #4a90d9;
  color: #1a3a5c;
}

.woocommerce-error {
  background: #fdf1f1;
  border-left: 4px solid #c0392b;
  color: #7b1c1c;
}

.woocommerce-error li {
  list-style: none;
  margin: 0;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
  padding: 8px 16px;
  font-size: 12px;
}

.woocommerce-notices-wrapper {
  margin-bottom: 0;
}

/* Ne custom notices (szablony woocommerce/notices/*.php) */

.ne-wc-notice {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  border-radius: var(--radius-md);
  border: 1px solid;
  overflow: hidden;
}

.ne-wc-notice li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 18px;
  font-size: 13px;
  line-height: 22px;
}

.ne-wc-notice li + li {
  border-top-color: inherit;
  border-top-style: solid;
  border-top-width: 1px;
}

.ne-wc-notice__ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.ne-wc-notice__ic svg {
  width: 11px;
  height: 11px;
  color: #fff;
  stroke: #fff;
}

.ne-wc-notice__body {
  flex: 1;
}

.ne-wc-notice__body b {
  font-weight: 500;
  letter-spacing: -0.05em;
}

.ne-wc-notice--success {
  background: #f3f8f0;
  border-color: #cfe2c4;
  color: #2d5726;
}

.ne-wc-notice--success .ne-wc-notice__ic {
  background: #3a8a4f;
}

.ne-wc-notice--info {
  background: #f0f4f9;
  border-color: #cbdaed;
  color: #1e3d6a;
}

.ne-wc-notice--info .ne-wc-notice__ic {
  background: #3a6ba8;
}

.ne-wc-notice--error {
  background: #fdf3f3;
  border-color: #f2c4c4;
  color: #7a1e1e;
}

.ne-wc-notice--error .ne-wc-notice__ic {
  background: #c64b3b;
}

.ne-wc-notice a.button,
.ne-wc-notice a.wc-forward {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  margin-left: 10px;
  transition: background 0.2s;
  vertical-align: middle;
  white-space: nowrap;
}

.ne-wc-notice a.button:hover,
.ne-wc-notice a.wc-forward:hover {
  background: #1a1a1a;
}

/* WooCommerce generic typography */

.woocommerce h2.woocommerce-loop-product__title,
.woocommerce .woocommerce-loop-product__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.05em;
}

.woocommerce span.price,
.woocommerce .price {
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}

.woocommerce ins {
  text-decoration: none;
}

.woocommerce del {
  color: var(--ink-3);
  font-weight: 400;
  font-size: 0.9em;
}

/* WooCommerce cart / checkout sections */

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.woocommerce table.shop_table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.woocommerce table.shop_table td {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table tfoot td {
  border-top: 2px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 0;
}

.star-rating {
  display: inline-flex;
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
}

.star-rating::before {
  content: "\2605\2605\2605\2605\2605";
  color: var(--line);
}

.star-rating span {
  overflow: hidden;
  position: absolute;
}

.onsale {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

.ne-shop-inner {
  padding-top: 32px;
  padding-bottom: 80px;
}

.ne-page-inner--home {
  padding-top: 28px;
  padding-bottom: 80px;
}

.ne-page-inner--wc {
  padding-top: 0;
  padding-bottom: 80px;
}

.ne-wc-page {
  padding-top: 0;
}

.ne-page-inner--wide {
  padding-top: 24px;
  padding-bottom: 80px;
}

.ne-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2.5rem;
}

.ne-page-link-item {
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  padding: 4px 14px;
  font-size: 14px;
  color: var(--ink-2);
}

/* Default/index template */

.ne-index-content {
  padding-top: 40px;
  padding-bottom: 80px;
}

.ne-index-article__title {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.ne-widget {
  margin-bottom: 2rem;
}

.ne-widget__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.ne-block-view-all {
  text-align: center;
  margin-top: 40px;
}

/* Nav walker: hidden WP children for mega panels */

.ne-nav__wp-suppressed {
  display: none;
}



/* Page / prose content */
.ne-page-header h1 {
  font-family:"Montserrat", sans-serif;
  font-size:clamp(2.5rem,5vw,4rem);
  font-weight: 400;
  line-height:1;
  letter-spacing: -0.05em;
  color:var(--ink);
  margin:0 0 8px;
}

.ne-page-header h1 em {
  font-style:italic;
  color:var(--accent);
}

.ne-page-header h1 .ne-em {
  color:var(--accent);
}

.ne-page-body h1,
.ne-page-body h2,

.ne-page-body h3,
.ne-page-body h4 {
  font-family:"Montserrat", sans-serif;
  font-weight: 400;
  color:var(--ink);
  letter-spacing: -0.05em;
  margin:2em 0 .6em;
}

.ne-page-body h1:first-child,
.ne-page-body h2:first-child,

.ne-page-body h3:first-child {
  margin-top:0;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.ne-page-body h1 {
  font-size:clamp(2rem,4vw,3rem);
  line-height:1;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.ne-page-body h2 {
  font-size:clamp(1.6rem,3vw,2.25rem);
  line-height:1.05;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.ne-page-body h3 {
  font-size:clamp(1.3rem,2.5vw,1.75rem);
  line-height:1.1;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.ne-page-body h4 {
  font-size:1.1rem;
  font-family:Manrope,ui-sans-serif,sans-serif;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.ne-page-body h2 em,
.ne-page-body h3 em {
  font-style:italic;
  color:var(--accent);
}

.ne-page-body h2 .ne-em,
.ne-page-body h3 .ne-em {
  color:var(--accent);
}

.ne-page-body p {
  margin:0 0 1.2em;
}

.ne-page-body p:last-child {
  margin-bottom:0;
}

.ne-page-body strong {
  color:var(--ink);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.ne-page-body em {
  font-family:"Montserrat", sans-serif;
  font-style:italic;
  color:var(--accent);
  font-size:1.08em;
}

.ne-page-body .ne-em {
  font-family:"Montserrat", sans-serif;
  color:var(--accent);
  font-size:1.08em;
}

.ne-page-body mark {
  background:var(--accent-soft);
  color:var(--accent-ink);
  padding:1px 5px;
  border-radius:3px;
}

.ne-page-body code {
  font-family:Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size:.85em;
  background:var(--soft);
  color:var(--ink-2);
  padding:2px 6px;
  border-radius:5px;
  letter-spacing:.04em;
}

.ne-page-body a {
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-thickness:1px;
  transition:color .2s;
}

.ne-page-body a:hover {
  color:var(--accent-ink);
}

.ne-page-body blockquote {
  margin:2rem 0;
  padding:28px 32px;
  border-left:3px solid var(--accent);
  background:var(--soft-2,#faf8f3);
  border-radius:0 var(--radius-md) var(--radius-md) 0;
  font-family:"Montserrat", sans-serif;
  font-size:1.35rem;
  line-height:1.45;
  color:var(--ink);
  font-style:italic;
  letter-spacing:-.005em;
}

.ne-page-body blockquote cite {
  display:block;
  margin-top:14px;
  font-family:Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size:11px;
  color:var(--ink-3);
  letter-spacing:.06em;
  font-style:normal;
  text-transform:uppercase;
}

.ne-page-body ol,
.ne-page-body ul {
  margin:0 0 1.4em;
  padding-left:0;
  list-style:none;
}

.ne-page-body li {
  position:relative;
  padding:7px 0 7px 28px;
  font-size:15px;
  color:var(--ink-2);
  line-height:1.6;
  border-bottom:1px solid var(--line);
}

.ne-page-body li:last-child {
  border-bottom:0;
}

.ne-page-body ul li:before {
  content:"";
  position:absolute;
  left:0;
  top:16px;
  width:14px;
  height:1px;
  background:var(--accent);
}

.ne-page-body ol {
  counter-reset:ne-ol;
}

.ne-page-body ol li {
  counter-increment:ne-ol;
}

.ne-page-body ol li:before {
  content:counter(ne-ol,decimal-leading-zero);
  position:absolute;
  left:0;
  top:7px;
  font-family:Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size:11px;
  color:var(--accent-ink);
  letter-spacing:.04em;
}

.ne-page-body img {
  border-radius:var(--radius-lg);
  max-width:100%;
  height:auto;
}

.ne-page-body figure {
  margin:2rem 0;
}

.ne-page-body figcaption {
  padding:12px 0 0;
  font-size:13px;
  color:var(--ink-3);
  font-family:"Montserrat", sans-serif;
  font-style:italic;
  text-align:center;
}

.ne-page-body hr {
  border:none;
  border-top:1px solid var(--line);
  margin:2.5rem 0;
}

.ne-page-body table {
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  margin:1.5rem 0;
}

.ne-page-body th {
  font-family:Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ink-3);
  padding:10px 14px;
  border-bottom:2px solid var(--line);
  text-align:left;
  font-weight:500;
}

.ne-page-body td {
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  color:var(--ink-2);
}

.ne-page-body tr:last-child td {
  border-bottom:0;
}

.ne-page-body .wp-block-button__link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 18px;
  border-radius:var(--radius-pill);
  font-family:'Manrope',sans-serif;
  font-size:12px;
  font-weight:600;
  letter-spacing:.02em;
  text-decoration:none;
  transition:background .2s;
  border:none;
}

.ne-page-body .wp-block-button__link::after {
  content:'';
  display:inline-block;
  width:13px;
  height:13px;
  background-color:currentColor;
  flex-shrink:0;
  transition:transform .2s;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-size:contain;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  mask-repeat:no-repeat;
  mask-size:contain;
}

.ne-page-body .wp-block-button__link:hover::after {
  transform:translateX(3px);
}

.ne-page-body .wp-block-button.is-style-fill .wp-block-button__link,
.ne-page-body .wp-block-button:not([class*=is-style]) .wp-block-button__link,
.ne-page-body .wp-block-button.is-style-fill a.wp-block-button__link,
.ne-page-body .wp-block-button:not([class*=is-style]) a.wp-block-button__link {
  background:var(--accent);
  color:#fff;
}

.ne-page-body .wp-block-button.is-style-fill .wp-block-button__link:hover,
.ne-page-body .wp-block-button:not([class*=is-style]) .wp-block-button__link:hover,
.ne-page-body .wp-block-button.is-style-fill a.wp-block-button__link:hover,
.ne-page-body .wp-block-button:not([class*=is-style]) a.wp-block-button__link:hover {
  background:var(--accent-ink);
  color:#fff;
}

.ne-page-body .wp-block-button.is-style-outline .wp-block-button__link {
  background:transparent;
  color:var(--accent);
  border:1px solid var(--accent);
}

.ne-page-body .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background:var(--accent);
  color:#fff;
}

.ne-prose-container {
  max-width:800px;
  margin-left:auto;
  margin-right:auto;
  padding:40px 32px 80px;
}

/* Editorial container (shared: home + single post) */
.ne-editorial {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 32px 80px;
}

/* Post card (shared: blog grid + related articles) */
.ne-post {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.ne-post:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -22px rgba(139, 115, 75, 0.22);
}

.ne-post__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ne-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ne-post:hover .ne-post__img img {
  transform: scale(1.03);
}

.ne-post__body {
  padding: 22px;
}

.ne-post--text-only .ne-post__body {
  padding: 28px;
}

.ne-post__tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}

.ne-post__body h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.05em;
  margin: 0 0 10px;
  color: var(--ink);
}

.ne-post--text-only .ne-post__body h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.ne-post__body > p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 16px;
}

.ne-post__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.ne-post__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  transition: gap 0.2s;
}

.ne-post:hover .ne-post__read {
  gap: 10px;
}

.ne-post__read svg {
  width: 10px;
  height: 10px;
}

/* Product grid (shared: home bestsellers + product page related) */
.ne-prod-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* WooCommerce columns-3 variant (related products section) */
.ne-prod-grid.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  /* .columns-3 repeated here to match its base-rule specificity above --
     otherwise WooCommerce's unconditional .columns-3 modifier (added
     whenever loop_shop_columns is filtered to 3, see the shop archive)
     would keep winning the cascade at every viewport and never collapse. */
  .ne-prod-grid,
  .ne-prod-grid.columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .ne-prod-grid,
  .ne-prod-grid.columns-3 {
    /* minmax(0, 1fr), not plain 1fr -- a bare 1fr track can't shrink below
       its item's min-content (card footer price + rating), which pushed
       the grid past the viewport and forced the whole page to scroll
       horizontally on mobile. */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

/* 404 page */

.ne-404-main {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.ne-404-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px var(--container-padding) 100px;
  position: relative;
  width: 100%;
}

/* Ghosted watermark "404" */
.ne-404-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(240px, 30vw, 480px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent);
  opacity: 0.055;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.ne-404-content {
  position: relative;
  max-width: 600px;
}

.ne-404-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 28px;
}

.ne-404-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 96px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 28px;
}

.ne-404-title em {
  font-style: italic;
  color: var(--accent);
}

.ne-404-title .ne-em {
  color: var(--accent);
}

.ne-404-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 44px;
  max-width: 52ch;
}

.ne-404-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 72px;
}

.ne-404-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  border: 1.5px solid var(--line-2);
  color: var(--ink);
  background: #fff;
}

.ne-404-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.ne-404-btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.ne-404-btn--primary:hover {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: #fff;
}

.ne-404-btn--primary svg {
  transition: transform 0.2s;
}

.ne-404-btn--primary:hover svg {
  transform: translateX(3px);
}

.ne-404-cats {
  position: relative;
}

.ne-404-cats__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}

.ne-404-cats__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ne-404-cat-pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  background: #fff;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.ne-404-cat-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Responsive */
@media (max-width: 640px) {
  .ne-404-watermark {
    opacity: 0.04;
  }

  .ne-404-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .ne-404-btn {
    width: 100%;
    justify-content: center;
  }
}
