:root {
  --nj-mobile-nav-height: 62px;
  --nj-app-ink: #10263f;
  --nj-app-ink-deep: #081727;
  --nj-app-gold: #d89a22;
  --nj-app-coral: #df6c54;
  --nj-app-paper: #f5f2eb;
  --nj-app-soft: #f4f6f8;
  --nj-app-line: #dde2e7;
}

.nj-brand .custom-logo-link,
.site-header .site-branding .nj-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nj-app-ink);
  text-decoration: none;
}

.site-header .site-branding .nj-brand .custom-logo-link::before {
  display: none;
}

.nj-brand__mark,
.nj-brand__mark svg {
  display: block;
  width: 40px;
  height: 40px;
}

.nj-brand__mark {
  color: var(--nj-app-ink);
}

.nj-brand__copy {
  display: flex;
  flex-direction: column;
}

.nj-brand__copy strong {
  color: var(--nj-app-ink);
  font-size: 21px;
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.nj-brand__copy small {
  margin-top: 4px;
  color: #737b84;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nj-mobile-nav {
  display: none;
}

.nj-product-card-note {
  margin: 7px 0 0;
  color: #6f7880;
  font-size: 11px;
  line-height: 1.35;
}

.single-product .summary .price:empty {
  display: none;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 102px;
  }

  body:not(.woocommerce-checkout) {
    padding-bottom: calc(var(--nj-mobile-nav-height) + env(safe-area-inset-bottom));
  }

  .nj-announcement {
    display: block;
    overflow: hidden;
    border: 0;
    color: #fff;
    background: #0c1620;
  }

  .nj-announcement__inner {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    padding: 7px 12px;
    color: #fff;
    font-size: 10px;
    text-align: center;
  }

  .nj-announcement__inner > span,
  .nj-announcement__inner > a {
    display: inline;
  }

  .nj-announcement__inner strong {
    display: none;
  }

  .nj-announcement__inner a {
    color: #f2b84b;
    font-weight: 700;
  }

  .site-header {
    position: sticky;
    z-index: 999;
    top: 0;
    border-bottom-color: #e8ebee;
    box-shadow: 0 2px 12px rgba(16, 38, 63, 0.07);
  }

  .site-header .col-full,
  .site-header .main-header {
    min-height: 64px;
  }

  .site-header .site-branding {
    min-height: 64px;
  }

  .site-header .site-branding .nj-brand {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    transform: translate(-50%, -50%);
  }

  .nj-brand .custom-logo-link,
  .site-header .site-branding .nj-brand .custom-logo-link {
    gap: 7px;
    white-space: nowrap;
  }

  .nj-brand__mark,
  .nj-brand__mark svg {
    width: 30px;
    height: 30px;
  }

  .nj-brand__copy strong {
    font-size: 15px;
  }

  .nj-brand__copy small {
    display: none;
  }

  .site-branding button.menu-toggle {
    width: 44px;
    height: 44px;
    margin-left: -8px;
  }

  .mobile-search-toggle,
  .shoptimizer-myaccount,
  .site-header-cart {
    min-width: 42px;
    min-height: 42px;
  }

  .nj-mobile-nav {
    position: fixed;
    z-index: 99999;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: calc(var(--nj-mobile-nav-height) + env(safe-area-inset-bottom));
    padding: 5px 4px env(safe-area-inset-bottom);
    border-top: 1px solid #dfe3e7;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -7px 24px rgba(8, 23, 39, 0.09);
    backdrop-filter: blur(12px);
  }

  .nj-mobile-nav a,
  .nj-mobile-nav button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 52px;
    margin: 0;
    padding: 3px 2px;
    border: 0;
    color: #35414d;
    background: transparent;
    font-size: 10px;
    font-weight: 670;
    line-height: 1;
    text-decoration: none;
    flex-direction: column;
    gap: 4px;
  }

  .nj-mobile-nav a[aria-current="page"] {
    color: var(--nj-app-ink);
    background: #edf2f6;
  }

  .nj-mobile-nav a[aria-current="page"]::before {
    position: absolute;
    top: -5px;
    width: 28px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--nj-app-gold);
    content: "";
  }

  .nj-mobile-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
  }

  .nj-mobile-nav__count {
    position: absolute;
    top: 1px;
    left: calc(50% + 6px);
    display: grid;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 10px;
    color: #fff;
    background: var(--nj-app-ink);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    place-items: center;
  }

  .woocommerce-shop .site-content,
  .tax-product_cat .site-content {
    padding-top: 18px;
    background: var(--nj-app-soft);
  }

  .woocommerce-products-header__title.page-title {
    font-size: 30px;
  }

  .woocommerce-shop ul.products,
  .tax-product_cat ul.products,
  .nj-demo-products ul.products,
  .nj-product-rail ul.products {
    gap: 12px;
  }

  .woocommerce-shop ul.products li.product,
  .tax-product_cat ul.products li.product,
  .nj-demo-products ul.products li.product,
  .nj-product-rail ul.products li.product {
    overflow: hidden;
    padding: 0 0 12px;
    border: 1px solid #e0e4e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(8, 23, 39, 0.035);
  }

  .woocommerce-shop ul.products li.product img,
  .tax-product_cat ul.products li.product img,
  .nj-demo-products ul.products li.product img,
  .nj-product-rail ul.products li.product img {
    margin-bottom: 11px;
    border-radius: 0;
  }

  .woocommerce-shop ul.products li.product .product__categories,
  .woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-shop ul.products li.product .price,
  .woocommerce-shop ul.products li.product .button,
  .woocommerce-shop ul.products li.product .nj-product-card-note,
  .tax-product_cat ul.products li.product .product__categories,
  .tax-product_cat ul.products li.product .woocommerce-loop-product__title,
  .tax-product_cat ul.products li.product .price,
  .tax-product_cat ul.products li.product .button,
  .tax-product_cat ul.products li.product .nj-product-card-note,
  .nj-demo-products ul.products li.product .product__categories,
  .nj-demo-products ul.products li.product .woocommerce-loop-product__title,
  .nj-demo-products ul.products li.product .price,
  .nj-demo-products ul.products li.product .button,
  .nj-demo-products ul.products li.product .nj-product-card-note,
  .nj-product-rail ul.products li.product .product__categories,
  .nj-product-rail ul.products li.product .woocommerce-loop-product__title,
  .nj-product-rail ul.products li.product .price,
  .nj-product-rail ul.products li.product .button,
  .nj-product-rail ul.products li.product .nj-product-card-note {
    margin-right: 11px;
    margin-left: 11px;
  }

  .woocommerce-shop ul.products li.product .product__categories,
  .tax-product_cat ul.products li.product .product__categories,
  .nj-demo-products ul.products li.product .product__categories,
  .nj-product-rail ul.products li.product .product__categories {
    color: #606a74;
    font-size: 10px;
  }

  .woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
  .tax-product_cat ul.products li.product .woocommerce-loop-product__title,
  .nj-demo-products ul.products li.product .woocommerce-loop-product__title,
  .nj-product-rail ul.products li.product .woocommerce-loop-product__title {
    min-height: 36px;
    color: var(--nj-app-ink);
    font-size: 13px;
    font-weight: 740;
    line-height: 1.35;
  }

  .nj-product-card-note {
    min-height: 30px;
    color: #707981;
    font-size: 10px;
  }

  .woocommerce-shop ul.products li.product .button,
  .tax-product_cat ul.products li.product .button,
  .nj-demo-products ul.products li.product .button,
  .nj-product-rail ul.products li.product .button {
    width: calc(100% - 22px);
    min-height: 39px;
    margin-top: 10px;
    border-radius: 8px;
    color: #fff;
    background: var(--nj-app-ink);
    font-size: 10px;
    font-weight: 760;
  }

  .single-product .site-content {
    padding-top: 8px;
  }

  .single-product .product_title {
    font-size: 29px;
    line-height: 1.15;
  }

  .single-product div.product .woocommerce-product-gallery {
    margin-bottom: 18px;
  }
}

@media (max-width: 360px) {
  .nj-brand__copy strong {
    font-size: 13px;
  }

  .nj-brand__mark,
  .nj-brand__mark svg {
    width: 27px;
    height: 27px;
  }

  .nj-mobile-nav a,
  .nj-mobile-nav button {
    font-size: 9px;
  }
}
