/*
Theme Name: NJ Printing Press
Theme URI: https://njprintingpress.test
Description: Custom child theme for the NJ Printing Press WooCommerce store.
Author: NJ Printing Press
Template: shoptimizer
Version: 2.0.0
Text Domain: njprintingpress
*/

@font-face {
  font-family: "NJ Inter";
  src: url("assets/fonts/nj-inter-variable.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  --nj-ink: #222222;
  --nj-navy: #10263f;
  --nj-navy-deep: #081727;
  --nj-coral: #dc6a50;
  --nj-coral-dark: #c9533b;
  --nj-gold: #8a5b00;
  --nj-gold-dark: #704a00;
  --nj-green: #237b36;
  --nj-green-dark: #185c27;
  --nj-blue-soft: #e4e9f1;
  --nj-paper: #f7f4ed;
  --nj-paper-deep: #eee8dc;
  --nj-line: #e6e6e6;
  --nj-muted: #676767;
  --nj-white: #ffffff;
  --nj-shell: 1190px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #444;
  background: #fff;
  font-family: "NJ Inter", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body,
button,
input,
select,
textarea {
  font-family: "NJ Inter", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  text-underline-offset: 0.16em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #075fbd;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
}

.page-template-template-canvas .site-content > .col-full,
.page-template-template-canvas .content-area,
.page-template-template-canvas .site-main,
.page-template-template-canvas .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.page-template-template-canvas .entry-content > * {
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
}

.page-template-template-canvas .hentry {
  margin-bottom: 0;
}

.nj-demo-shell {
  width: min(var(--nj-shell), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

/* Top utility bar */

.nj-announcement {
  border-bottom: 1px solid #ececec;
  color: #444;
  background: #fff;
}

.nj-announcement__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: min(var(--nj-shell), calc(100% - 48px));
  min-height: 43px;
  margin: 0 auto;
  padding: 8px 0;
  font-size: 12px;
  line-height: 1.35;
}

.nj-announcement__inner > :last-child {
  justify-self: end;
}

.nj-announcement__inner a {
  color: var(--nj-ink);
  font-weight: 650;
  text-decoration: none;
}

.nj-announcement__inner a:hover {
  color: var(--nj-gold-dark);
}

/* Shoptimizer header adaptation */

.site-header {
  border-bottom: 1px solid #efefef;
  background: #fff;
}

.site-header .col-full {
  min-height: 118px;
}

.site-header .site-branding .site-title {
  margin: 0;
}

.site-header .site-branding .site-title a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--nj-ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-decoration: none;
}

.site-header .site-branding .site-title a::before {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 3px solid var(--nj-gold);
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 43%, var(--nj-gold) 44% 49%, transparent 50%),
    radial-gradient(circle at 63% 34%, var(--nj-coral) 0 12%, transparent 13%),
    radial-gradient(circle at 36% 67%, var(--nj-navy) 0 16%, transparent 17%);
  content: "";
}

.site-header .site-branding .site-description {
  margin-top: 5px;
  color: #777;
  font-size: 11px;
}

.site-header .site-search input[type="search"] {
  height: 54px;
  border: 1px solid #ececec;
  border-radius: 3px;
  color: #333;
  background: #f8f8f8;
  box-shadow: none;
}

.site-header .site-search input[type="search"]:focus {
  border-color: #c9c9c9;
  background: #fff;
}

.secondary-navigation .menu {
  gap: 0;
}

.secondary-navigation .menu > li {
  border-left: 1px solid #ececec;
}

.secondary-navigation .menu > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 105px;
  padding: 15px 18px 14px;
  color: #444;
  font-size: 13px;
  text-decoration: none;
}

.secondary-navigation .menu > li > a::before {
  display: grid;
  width: 28px;
  height: 28px;
  margin-bottom: 5px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  content: "i";
  place-items: center;
}

.secondary-navigation #menu-item-27 > a::before {
  content: "?";
}

.secondary-navigation #menu-item-28 > a::before {
  content: "○";
}

.secondary-navigation #menu-item-29 > a::before {
  content: "→";
}

.secondary-navigation .menu > li > a:hover {
  color: var(--nj-gold-dark);
}

.col-full-nav {
  min-height: 60px;
  border: 0;
  background: #222;
}

.col-full-nav .col-full {
  min-height: 60px;
}

.main-navigation ul.menu > li.menu-item > a,
.main-navigation ul.nav-menu > li.menu-item > a {
  padding-right: 17px;
  padding-left: 17px;
  color: #fff;
  font-size: 14px;
  font-weight: 580;
}

.main-navigation ul.menu > li.menu-item:hover > a,
.main-navigation ul.menu > li.current-menu-item > a,
.main-navigation ul.nav-menu > li.menu-item:hover > a,
.main-navigation ul.nav-menu > li.current-menu-item > a {
  color: #fff;
}

.main-navigation ul.menu > li.menu-item > a::after,
.main-navigation ul.nav-menu > li.menu-item > a::after {
  background: var(--nj-gold);
}

.main-navigation ul.menu > li:last-child > a,
.main-navigation ul.nav-menu > li:last-child > a {
  margin: 10px 0;
  padding: 10px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.13);
  line-height: 20px;
}

.shoptimizer-cart a.cart-contents {
  color: #fff;
}

.shoptimizer-cart a.cart-contents .count,
.shoptimizer-cart a.cart-contents .count::after {
  border-color: var(--nj-gold);
  color: var(--nj-gold);
}

/* Offer strip and shared type */

.nj-demo-offer {
  color: #fff;
  background: var(--nj-gold);
}

.nj-demo-offer .nj-demo-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 0;
  font-size: 13px;
  text-align: center;
}

.nj-demo-offer strong {
  font-weight: 720;
}

.nj-demo-offer a {
  margin-left: 6px;
  color: #fff;
  font-weight: 750;
  text-decoration: underline;
}

.nj-demo-eyebrow {
  margin: 0 0 14px;
  color: var(--nj-gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nj-demo-section-heading {
  margin-bottom: 34px;
}

.nj-demo-section-heading--center {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.nj-demo-section-heading h2,
.nj-demo-editorial h2,
.nj-demo-dark-offer h2,
.nj-demo-help h2 {
  margin: 0;
  color: var(--nj-ink);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 620;
  line-height: 1.17;
  letter-spacing: -0.035em;
}

.nj-demo-section-heading > p:last-child {
  max-width: 700px;
  margin: 15px auto 0;
  color: var(--nj-muted);
  line-height: 1.7;
}

.nj-demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 14px 23px;
  border: 0;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 740;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nj-demo-button:hover {
  transform: translateY(-1px);
}

.nj-demo-button--primary {
  color: #fff;
  background: var(--nj-green);
}

.nj-demo-button--primary:hover {
  color: #fff;
  background: var(--nj-green-dark);
}

.nj-demo-button--dark {
  color: #fff;
  background: var(--nj-ink);
}

.nj-demo-button--dark:hover {
  color: #fff;
  background: #000;
}

.nj-demo-button--light {
  color: var(--nj-ink);
  background: #fff;
}

.nj-demo-button--light:hover {
  color: var(--nj-ink);
  background: #f0f0f0;
}

.nj-demo-link {
  color: var(--nj-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
}

.nj-demo-link:hover {
  color: var(--nj-gold-dark);
}

.nj-demo-link--arrow {
  text-decoration: none;
}

/* Demo-style split hero */

.nj-demo-hero {
  overflow: hidden;
  background: var(--nj-blue-soft);
}

.nj-demo-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: 500px;
}

.nj-demo-hero__copy {
  align-self: center;
  max-width: 530px;
  padding: 62px 44px 66px 0;
}

.nj-demo-hero h1 {
  margin: 0;
  color: var(--nj-ink);
  font-size: clamp(48px, 5.2vw, 66px);
  font-weight: 590;
  line-height: 1.07;
  letter-spacing: -0.055em;
}

.nj-demo-hero h1 strong {
  color: var(--nj-navy);
  font-weight: 740;
}

.nj-demo-hero__lead {
  max-width: 520px;
  margin: 23px 0 0;
  color: #4d5260;
  font-size: 19px;
  line-height: 1.58;
}

.nj-demo-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 29px;
}

.nj-demo-hero__note {
  display: flex;
  flex-direction: column;
  margin: 20px 0 0;
  color: #606572;
  font-size: 12px;
  line-height: 1.55;
}

.nj-demo-hero__note strong {
  color: #343944;
  font-size: 13px;
}

.nj-demo-hero__media {
  position: relative;
  min-width: 0;
}

.nj-demo-hero__media::before {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 90px;
  background: linear-gradient(90deg, var(--nj-blue-soft), transparent);
  content: "";
  pointer-events: none;
}

.nj-demo-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center right;
}

/* Three image features */

.nj-demo-features {
  padding: 42px 0 76px;
  background: #fff;
}

.nj-demo-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.nj-demo-feature {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  color: #fff;
  background: #111;
  text-decoration: none;
}

.nj-demo-feature img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.nj-demo-feature__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 28%, rgba(0, 0, 0, 0.78) 100%);
}

.nj-demo-feature__copy {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nj-demo-feature__copy strong {
  color: #fff;
  font-size: 24px;
  font-weight: 670;
  letter-spacing: -0.025em;
}

.nj-demo-feature__copy em {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-style: normal;
}

.nj-demo-feature__copy > span {
  display: inline-flex;
  margin-top: 15px;
  padding: 8px 13px;
  border-radius: 3px;
  color: #fff;
  background: var(--nj-green);
  font-size: 12px;
  font-weight: 750;
}

.nj-demo-feature:hover,
.nj-demo-feature:focus-visible {
  color: #fff;
}

.nj-demo-feature:hover img,
.nj-demo-feature:focus-visible img {
  transform: scale(1.035);
}

/* Native WooCommerce product showcase */

.nj-demo-products {
  padding: 12px 0 92px;
  background: #fff;
}

.nj-demo-products .nj-demo-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.nj-demo-products .nj-demo-section-heading a {
  flex: 0 0 auto;
}

.nj-demo-products .woocommerce {
  width: 100%;
}

.nj-demo-products ul.products,
.woocommerce-shop ul.products,
.tax-product_cat ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 18px;
  margin: 0;
}

.nj-demo-products ul.products::before,
.nj-demo-products ul.products::after,
.woocommerce-shop ul.products::before,
.woocommerce-shop ul.products::after,
.tax-product_cat ul.products::before,
.tax-product_cat ul.products::after {
  display: none;
}

.nj-demo-products ul.products li.product,
.woocommerce-shop ul.products li.product,
.tax-product_cat ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  text-align: left;
}

.nj-demo-products ul.products li.product .woocommerce-LoopProduct-link {
  display: block;
}

.nj-demo-products ul.products li.product .product-wrapper,
.woocommerce-shop ul.products li.product .product-wrapper,
.tax-product_cat ul.products li.product .product-wrapper {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.nj-demo-products ul.products li.product img,
.woocommerce-shop ul.products li.product img,
.tax-product_cat ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 17px;
  object-fit: cover;
  background: #f4f4f4;
}

.nj-demo-products ul.products li.product .product__categories,
.woocommerce-shop ul.products li.product .product__categories,
.tax-product_cat ul.products li.product .product__categories {
  margin-bottom: 6px;
  color: #777;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nj-demo-products ul.products li.product .woocommerce-loop-product__title,
.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
  margin: 0;
  color: var(--nj-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.nj-demo-products ul.products li.product .price,
.woocommerce-shop ul.products li.product .price,
.tax-product_cat ul.products li.product .price {
  margin-top: 5px;
  color: var(--nj-ink);
  font-size: 14px;
  font-weight: 620;
}

.nj-demo-products ul.products li.product .button,
.woocommerce-shop ul.products li.product .button,
.tax-product_cat ul.products li.product .button {
  width: 100%;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 3px;
  color: #fff;
  background: var(--nj-green);
  font-size: 13px;
  font-weight: 720;
  text-align: center;
}

.nj-demo-products ul.products li.product .button:hover,
.woocommerce-shop ul.products li.product .button:hover,
.tax-product_cat ul.products li.product .button:hover {
  background: var(--nj-green-dark);
}

.nj-demo-catalog-note {
  margin: 12px 0 0;
  color: #777;
  font-size: 12px;
}

/* Value cards */

.nj-demo-values {
  padding: 88px 0 94px;
  border-top: 1px solid var(--nj-line);
  background: #fafafa;
}

.nj-demo-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
  max-width: 1010px;
  margin: 48px auto 0;
  text-align: center;
}

.nj-demo-value-grid article {
  padding: 0 20px;
}

.nj-demo-value-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: var(--nj-gold-dark);
  background: #fff3d8;
  place-items: center;
}

.nj-demo-value-icon svg {
  width: 28px;
  height: 28px;
}

.nj-demo-value-grid h3 {
  margin: 0;
  color: var(--nj-ink);
  font-size: 19px;
  font-weight: 670;
}

.nj-demo-value-grid p {
  margin: 10px 0 0;
  color: var(--nj-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Editorial rows */

.nj-demo-editorial {
  padding: 100px 0;
  background: #fff;
}

.nj-demo-editorial-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
  min-height: 455px;
}

.nj-demo-editorial-row + .nj-demo-editorial-row {
  margin-top: 72px;
}

.nj-demo-editorial-row__image {
  min-width: 0;
  overflow: hidden;
  background: #eee;
}

.nj-demo-editorial-row__image img {
  width: 100%;
  height: 100%;
  min-height: 455px;
  object-fit: cover;
}

.nj-demo-editorial-row__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 64px;
  background: var(--nj-paper);
}

.nj-demo-editorial-row__copy > p:not(.nj-demo-eyebrow) {
  max-width: 520px;
  margin: 20px 0 26px;
  color: var(--nj-muted);
  line-height: 1.75;
}

.nj-demo-editorial-row--reverse {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.nj-demo-editorial-row--reverse .nj-demo-editorial-row__copy {
  background: var(--nj-blue-soft);
}

/* Dark offer */

.nj-demo-dark-offer {
  overflow: hidden;
  color: #fff;
  background: #191919;
}

.nj-demo-dark-offer__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 430px;
}

.nj-demo-dark-offer__copy {
  align-self: center;
  padding: 62px 62px 62px 0;
}

.nj-demo-dark-offer .nj-demo-eyebrow {
  color: #f3bd50;
}

.nj-demo-dark-offer h2 {
  max-width: 540px;
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
}

.nj-demo-dark-offer__copy > p:not(.nj-demo-eyebrow) {
  max-width: 520px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.nj-demo-dark-offer__image {
  position: relative;
  min-width: 0;
}

.nj-demo-dark-offer__image::before {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 100px;
  background: linear-gradient(90deg, #191919, transparent);
  content: "";
}

.nj-demo-dark-offer__image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: 70% center;
}

/* Popular category rail */

.nj-demo-popular {
  padding: 92px 0 100px;
  background: #fff;
}

.nj-demo-popular-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.nj-demo-category-card {
  display: block;
  min-width: 0;
  color: var(--nj-ink);
  text-decoration: none;
}

.nj-demo-category-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f1f1f1;
}

.nj-demo-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.nj-demo-category-card:nth-child(1) img {
  object-position: 72% center;
}

.nj-demo-category-card:nth-child(2) img {
  object-position: 66% center;
}

.nj-demo-category-card:nth-child(3) img {
  object-position: center;
}

.nj-demo-category-card:nth-child(4) img {
  object-position: 57% center;
}

.nj-demo-category-card:hover img {
  transform: scale(1.035);
}

.nj-demo-category-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 16px;
}

.nj-demo-category-card__copy small {
  color: #777;
  font-size: 9px;
  font-weight: 790;
  letter-spacing: 0.11em;
}

.nj-demo-category-card__copy strong {
  margin-top: 6px;
  color: var(--nj-ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

.nj-demo-category-card__copy span {
  margin-top: 11px;
  color: var(--nj-green-dark);
  font-size: 12px;
  font-weight: 750;
}

/* Brand/category strip */

.nj-demo-brand-strip {
  padding: 86px 0 92px;
  border-top: 1px solid var(--nj-line);
  background: #fafafa;
}

.nj-demo-brand-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  margin-top: 43px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.nj-demo-brand-list span {
  display: grid;
  min-height: 100px;
  padding: 14px;
  border-right: 1px solid #ddd;
  color: #4d4d4d;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-align: center;
  place-items: center;
}

.nj-demo-brand-list span:last-child {
  border-right: 0;
}

/* Help / FAQs */

.nj-demo-help {
  padding: 96px 0 105px;
  background: #fff;
}

.nj-demo-help__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 90px;
}

.nj-demo-help__intro > p:not(.nj-demo-eyebrow) {
  margin: 18px 0 25px;
  color: var(--nj-muted);
  line-height: 1.72;
}

.nj-demo-faq {
  border-top: 1px solid #ddd;
}

.nj-demo-faq details {
  border-bottom: 1px solid #ddd;
}

.nj-demo-faq summary {
  position: relative;
  padding: 24px 44px 24px 0;
  color: var(--nj-ink);
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.nj-demo-faq summary::-webkit-details-marker {
  display: none;
}

.nj-demo-faq summary::after {
  position: absolute;
  top: 18px;
  right: 2px;
  color: var(--nj-gold-dark);
  font-size: 25px;
  font-weight: 400;
  content: "+";
}

.nj-demo-faq details[open] summary::after {
  content: "–";
}

.nj-demo-faq details p {
  max-width: 680px;
  margin: -4px 0 24px;
  color: var(--nj-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Native below-content and footer widgets */

.below-content {
  border-top: 1px solid #e4e4e4;
  background: #fff;
}

.below-content .col-full {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--nj-shell);
  margin: 0 auto;
  padding: 0;
}

.below-content .widget {
  position: relative;
  min-height: 132px;
  margin: 0;
  padding: 31px 28px 26px 74px;
  border-right: 1px solid #e4e4e4;
}

.below-content .widget:last-child {
  border-right: 0;
}

.below-content .widget-title {
  margin: 0 0 4px;
  color: var(--nj-ink);
  font-size: 14px;
  font-weight: 690;
}

.below-content .textwidget p {
  margin: 0;
  color: #777;
  font-size: 12px;
  line-height: 1.55;
}

.below-content .textwidget svg {
  position: absolute;
  top: 37px;
  left: 27px;
  width: 29px;
  height: 29px;
  color: var(--nj-gold-dark);
}

footer.site-footer {
  background: #111;
}

footer.site-footer .col-full {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 50px;
  max-width: var(--nj-shell);
  padding-top: 66px;
  padding-bottom: 64px;
}

footer.site-footer .widget {
  margin: 0;
}

footer.site-footer .widget-title {
  margin: 0 0 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

footer.site-footer,
footer.site-footer p,
footer.site-footer li {
  color: #aaa;
  font-size: 13px;
  line-height: 1.75;
}

footer.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer.site-footer a {
  color: #aaa;
  text-decoration: none;
}

footer.site-footer a:hover {
  color: #fff;
}

footer.site-footer .nj-footer-brand {
  color: #fff;
  font-size: 18px;
  font-weight: 760;
}

footer.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
}

footer.copyright .col-full {
  max-width: var(--nj-shell);
  padding-top: 20px;
  padding-bottom: 20px;
}

footer.copyright .widget,
footer.copyright p {
  margin: 0;
  color: #8b8b8b;
  font-size: 12px;
}

/* Shop and product archive polish */

.woocommerce-shop .site-content,
.tax-product_cat .site-content,
.single-product .site-content {
  background: #fff;
}

.woocommerce-shop .site-content .col-full,
.tax-product_cat .site-content .col-full,
.single-product .site-content .col-full {
  width: min(var(--nj-shell), calc(100% - 48px));
}

.woocommerce-products-header {
  padding-top: 18px;
}

.woocommerce-products-header__title.page-title,
.single-product .product_title {
  color: var(--nj-ink);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.woocommerce .woocommerce-ordering select {
  border-color: #ddd;
  border-radius: 3px;
}

.single-product div.product form.cart .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #payment #place_order {
  border-radius: 3px;
  color: #fff;
  background: var(--nj-green);
}

.nj-demo-product-guidance {
  margin-top: 18px;
  padding: 15px 17px;
  border-left: 3px solid var(--nj-gold);
  color: #555;
  background: #fbf7ed;
  font-size: 13px;
  line-height: 1.6;
}

/* Tablet */

@media (max-width: 1024px) {
  .nj-demo-shell,
  .nj-announcement__inner {
    width: min(100% - 34px, 900px);
  }

  .site-header .site-branding .site-title a {
    font-size: 19px;
  }

  .secondary-navigation .menu > li > a {
    min-width: 92px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .main-navigation ul.menu > li.menu-item > a,
  .main-navigation ul.nav-menu > li.menu-item > a {
    padding-right: 11px;
    padding-left: 11px;
    font-size: 13px;
  }

  .nj-demo-hero__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .nj-demo-hero__copy {
    padding-right: 26px;
  }

  .nj-demo-feature {
    min-height: 270px;
  }

  .nj-demo-editorial-row__copy {
    padding: 44px 40px;
  }

  .nj-demo-products ul.products,
  .woocommerce-shop ul.products,
  .tax-product_cat ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .below-content .col-full,
  footer.site-footer .col-full {
    width: min(100% - 34px, 900px);
  }

  .below-content .col-full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .below-content .widget:nth-child(2) {
    border-right: 0;
  }

  .below-content .widget:nth-child(-n + 2) {
    border-bottom: 1px solid #e4e4e4;
  }
}

/* Mobile */

@media (max-width: 768px) {
  .nj-announcement {
    display: none;
  }

  .site-header .col-full {
    min-height: 70px;
  }

  .site-header .site-branding .site-title a {
    gap: 7px;
    font-size: 16px;
    letter-spacing: -0.035em;
  }

  .site-header .site-branding .site-title a::before {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
    border-width: 2px;
  }

  .nj-demo-shell {
    width: min(100% - 30px, 620px);
  }

  .nj-demo-offer .nj-demo-shell {
    flex-wrap: wrap;
    gap: 2px 5px;
    min-height: 45px;
    padding: 7px 0;
    font-size: 11px;
  }

  .nj-demo-offer span:first-child {
    display: none;
  }

  .nj-demo-offer a {
    margin-left: 3px;
  }

  .nj-demo-hero__inner {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
  }

  .nj-demo-hero__copy {
    width: min(100% - 30px, 620px);
    max-width: none;
    margin: 0 auto;
    padding: 44px 0 39px;
  }

  .nj-demo-hero h1 {
    font-size: clamp(40px, 12vw, 54px);
    line-height: 1.04;
  }

  .nj-demo-hero__lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.55;
  }

  .nj-demo-actions {
    align-items: flex-start;
    margin-top: 24px;
  }

  .nj-demo-button {
    min-height: 49px;
    padding: 12px 18px;
    font-size: 13px;
  }

  .nj-demo-hero__media {
    height: 310px;
  }

  .nj-demo-hero__media::before {
    inset: 0 0 auto;
    width: 100%;
    height: 40px;
    background: linear-gradient(180deg, var(--nj-blue-soft), transparent);
  }

  .nj-demo-hero__media img {
    min-height: 310px;
    object-position: 69% center;
  }

  .nj-demo-features {
    padding: 25px 0 58px;
  }

  .nj-demo-feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nj-demo-feature {
    min-height: 260px;
  }

  .nj-demo-products {
    padding: 4px 0 70px;
  }

  .nj-demo-products .nj-demo-section-heading {
    display: block;
  }

  .nj-demo-products .nj-demo-section-heading a {
    display: inline-flex;
    margin-top: 13px;
  }

  .nj-demo-products ul.products,
  .woocommerce-shop ul.products,
  .tax-product_cat ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 12px;
  }

  .nj-demo-products ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
  .tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
  }

  .nj-demo-products ul.products li.product .button,
  .woocommerce-shop ul.products li.product .button,
  .tax-product_cat ul.products li.product .button {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 11px;
  }

  .nj-demo-values {
    padding: 68px 0 72px;
  }

  .nj-demo-value-grid {
    grid-template-columns: 1fr;
    gap: 43px;
  }

  .nj-demo-value-grid article {
    max-width: 410px;
    margin: 0 auto;
  }

  .nj-demo-editorial {
    padding: 72px 0;
  }

  .nj-demo-editorial-row,
  .nj-demo-editorial-row--reverse {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .nj-demo-editorial-row--reverse .nj-demo-editorial-row__copy {
    order: 2;
  }

  .nj-demo-editorial-row--reverse .nj-demo-editorial-row__image {
    order: 1;
  }

  .nj-demo-editorial-row__image img {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .nj-demo-editorial-row__copy {
    padding: 38px 28px 42px;
  }

  .nj-demo-editorial-row + .nj-demo-editorial-row {
    margin-top: 30px;
  }

  .nj-demo-dark-offer__inner {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
  }

  .nj-demo-dark-offer__copy {
    width: min(100% - 30px, 620px);
    margin: 0 auto;
    padding: 55px 0 45px;
  }

  .nj-demo-dark-offer__image {
    height: 285px;
  }

  .nj-demo-dark-offer__image::before {
    inset: 0 0 auto;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, #191919, transparent);
  }

  .nj-demo-dark-offer__image img {
    min-height: 285px;
  }

  .nj-demo-popular {
    padding: 72px 0 78px;
  }

  .nj-demo-popular .nj-demo-shell {
    width: 100%;
  }

  .nj-demo-popular .nj-demo-section-heading {
    width: calc(100% - 30px);
    margin-right: auto;
    margin-left: auto;
  }

  .nj-demo-popular-rail {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 0 15px 14px;
    scroll-padding-left: 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .nj-demo-category-card {
    flex: 0 0 min(80vw, 320px);
    scroll-snap-align: start;
  }

  .nj-demo-brand-strip {
    padding: 66px 0 74px;
  }

  .nj-demo-brand-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nj-demo-brand-list span {
    min-height: 78px;
    border-bottom: 1px solid #ddd;
  }

  .nj-demo-brand-list span:nth-child(2n) {
    border-right: 0;
  }

  .nj-demo-brand-list span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .nj-demo-help {
    padding: 72px 0 78px;
  }

  .nj-demo-help__inner {
    grid-template-columns: 1fr;
    gap: 47px;
  }

  .below-content .col-full {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .below-content .widget,
  .below-content .widget:nth-child(2) {
    min-height: 105px;
    padding: 25px 25px 22px 70px;
    border-right: 0;
    border-bottom: 1px solid #e4e4e4;
  }

  .below-content .widget:last-child {
    border-bottom: 0;
  }

  .below-content .textwidget svg {
    top: 29px;
    left: 25px;
  }

  footer.site-footer .col-full {
    grid-template-columns: 1fr;
    gap: 36px;
    width: min(100% - 30px, 620px);
    padding-top: 52px;
    padding-bottom: 52px;
  }

  footer.copyright .col-full {
    width: min(100% - 30px, 620px);
  }

  .woocommerce-shop .site-content .col-full,
  .tax-product_cat .site-content .col-full,
  .single-product .site-content .col-full {
    width: min(100% - 30px, 620px);
  }
}

@media (max-width: 430px) {
  .nj-demo-actions {
    flex-direction: column;
    gap: 15px;
  }

  .nj-demo-actions .nj-demo-button {
    width: 100%;
  }

  .nj-demo-hero__media {
    height: 270px;
  }

  .nj-demo-hero__media img {
    min-height: 270px;
  }

  .nj-demo-feature {
    min-height: 235px;
  }

  .nj-demo-feature__copy {
    right: 22px;
    bottom: 21px;
    left: 22px;
  }

  .nj-demo-feature__copy strong {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
