body.ns-route-c-shop-hub {
  --ns-shop-paper: #fffaf3;
  --ns-shop-paper-strong: #fff4e6;
  --ns-shop-ink: #18324a;
  --ns-shop-muted: #607286;
  --ns-shop-line: rgba(24, 50, 74, 0.14);
  --ns-shop-blue: #287bc9;
  --ns-shop-blue-dark: #155b99;
  --ns-shop-coral: #df6f5c;
  --ns-shop-green: #4f9270;
  color: var(--ns-shop-ink);
  background:
    radial-gradient(circle at 80% 150px, rgba(79, 146, 112, 0.1), transparent 300px),
    linear-gradient(180deg, #fff 0, #fff 122px, var(--ns-shop-paper) 122px, var(--ns-shop-paper) 620px, #fff 620px);
}

body.ns-route-c-shop-hub #main,
body.ns-route-c-shop-hub #content,
body.ns-route-c-shop-hub .shop-page-title,
body.ns-route-c-shop-hub .page-title,
body.ns-route-c-shop-hub .shop-container {
  background: transparent;
}

body.ns-route-c-shop-hub .shop-page-title,
body.ns-route-c-shop-hub .page-title {
  display: none !important;
}

body.ns-route-c-shop-hub .page-title-bg,
body.ns-route-c-shop-hub .title-bg,
body.ns-route-c-shop-hub .title-overlay {
  display: none !important;
}

body.ns-route-c-shop-hub .woocommerce-breadcrumb,
body.ns-route-c-shop-hub .page-title-inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 58px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
}

body.ns-route-c-shop-hub .woocommerce-breadcrumb {
  display: none;
}

body.ns-route-c-shop-hub .page-title-inner {
  justify-content: flex-end;
}

body.ns-route-c-shop-hub .shop-container > .page-description {
  display: none !important;
}

body.ns-route-c-category-hub .term-description,
body.ns-route-c-category-hub .custom-category-header,
body.ns-route-c-category-hub .shop-container > .term-description,
body.ns-route-c-category-hub .shop-container > .ns-shop-hub-seo ~ * {
  display: none !important;
}

body.ns-route-c-shop-hub .woocommerce-ordering {
  margin: 0;
}

body.ns-route-c-shop-hub .woocommerce-ordering select {
  min-height: 44px;
  border: 1px solid rgba(24, 50, 74, 0.14);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.82);
  color: var(--ns-shop-ink);
  box-shadow: none;
}

body.ns-route-c-shop-hub .shop-container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

body.ns-route-c-shop-hub .shop-container > .row {
  align-items: flex-start;
}

body.ns-route-c-shop-hub .shop-container h1 {
  max-width: 780px;
  margin: 24px 0 12px;
  color: var(--ns-shop-ink);
  font-size: clamp(2.25rem, 4vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

body.ns-route-c-shop-hub .shop-container .term-description,
body.ns-route-c-shop-hub .shop-container .page-description,
body.ns-route-c-shop-hub .shop-container > p {
  max-width: 760px;
  color: var(--ns-shop-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.ns-shop-hub-eyebrow {
  margin: 0 0 10px;
  color: var(--ns-shop-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ns-shop-hub-intro {
  position: relative;
  margin: 10px 0 26px;
  padding: 22px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 36px;
  align-items: end;
  border-bottom: 1px solid var(--ns-shop-line);
}

.ns-shop-hub-intro__copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ns-shop-ink);
  font-size: clamp(2rem, 3.8vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.ns-shop-hub-intro__headline-sub {
  max-width: 660px;
  margin: 14px 0 0 !important;
  color: var(--ns-shop-ink) !important;
  font-size: clamp(1.5rem, 2.6vw, 2.5rem) !important;
  font-weight: 900;
  line-height: 1.05 !important;
}

.ns-shop-hub-intro__copy p:not(.ns-shop-hub-eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--ns-shop-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.ns-shop-hub-intro__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ns-shop-hub-button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1;
}

.ns-shop-hub-button--primary {
  background: var(--ns-shop-ink);
  color: #fff;
}

.ns-shop-hub-button--secondary {
  border: 1px solid var(--ns-shop-line);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ns-shop-ink);
}

.ns-shop-hub-intro__proof {
  display: grid;
  gap: 12px;
}

.ns-shop-hub-intro__proof span {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ns-shop-ink);
  font-weight: 900;
  border-bottom: 1px solid var(--ns-shop-line);
}

.ns-shop-hub-intro__proof img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.ns-shop-hub-routes {
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ns-shop-hub-route {
  min-height: 108px;
  padding: 10px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(24, 50, 74, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ns-shop-ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ns-shop-hub-route:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 123, 201, 0.34);
  background: #fff;
}

.ns-shop-hub-route img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 8px;
}

.ns-shop-hub-route strong,
.ns-shop-hub-route small {
  display: block;
}

.ns-shop-hub-route strong {
  margin-bottom: 5px;
  font-size: 1.02rem;
  font-weight: 900;
}

.ns-shop-hub-route small {
  color: var(--ns-shop-muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
}

.ns-shop-hub-loop-label {
  margin: 0 0 20px;
  padding: 18px 0 0;
  border-top: 1px solid var(--ns-shop-line);
}

.ns-shop-hub-loop-label p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--ns-shop-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.ns-shop-hub-toolbar {
  margin: 0 0 26px;
  padding: 14px 0 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--ns-shop-line);
  border-bottom: 1px solid var(--ns-shop-line);
}

.ns-shop-hub-filter-button {
  min-height: 44px;
  padding: 0 18px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ns-shop-line);
  border-radius: 999px;
  color: var(--ns-shop-ink);
  font-weight: 900;
  text-decoration: none;
}

.ns-shop-hub-filter-button span {
  font-size: 0.95rem;
  line-height: 1;
}

.ns-shop-hub-toolbar__count {
  color: var(--ns-shop-muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.ns-shop-hub-toolbar__count p {
  margin: 0;
}

.ns-shop-hub-toolbar__sort {
  min-width: 260px;
}

.ns-shop-hub-toolbar__sort .woocommerce-ordering {
  width: 100%;
}

body.ns-route-c-shop-hub #shop-sidebar {
  padding-right: 30px;
}

body.ns-route-c-shop-hub #shop-sidebar .widget {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ns-shop-line);
}

body.ns-route-c-shop-hub #shop-sidebar .widget-title,
body.ns-route-c-shop-hub #shop-sidebar .widgettitle {
  display: block;
  margin-bottom: 14px;
  color: var(--ns-shop-ink);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
}

body.ns-route-c-shop-hub #shop-sidebar ul,
body.ns-route-c-shop-hub #shop-sidebar li {
  border: 0;
}

body.ns-route-c-shop-hub #shop-sidebar a {
  color: var(--ns-shop-ink);
  font-weight: 700;
}

body.ns-route-c-shop-hub .products {
  row-gap: 34px;
}

body.ns-route-c-shop-hub .product-small .box {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.ns-route-c-shop-hub .product-small .box-image {
  overflow: hidden;
  border-radius: 8px;
  background: var(--ns-shop-paper-strong);
}

body.ns-route-c-shop-hub .product-small .box-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

body.ns-route-c-shop-hub .product-small .box-text {
  padding: 12px 0 0;
  color: var(--ns-shop-ink);
}

body.ns-route-c-shop-hub .product-small .category {
  color: var(--ns-shop-muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
}

body.ns-route-c-shop-hub .product-small .name,
body.ns-route-c-shop-hub .product-small .name a {
  color: var(--ns-shop-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

body.ns-route-c-shop-hub .product-small .price {
  color: var(--ns-shop-ink);
  font-size: 1rem;
  font-weight: 900;
}

body.ns-route-c-shop-hub .product-small .add-to-cart-button a,
body.ns-route-c-shop-hub .product-small a.add_to_cart_button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ns-shop-blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: none;
}

.ns-shop-hub-seo {
  margin: 54px 0 72px;
  padding-top: 42px;
  border-top: 1px solid var(--ns-shop-line);
}

.ns-shop-hub-seo__header {
  max-width: 760px;
  margin-bottom: 26px;
}

.ns-shop-hub-seo__header h2 {
  margin: 0;
  color: var(--ns-shop-ink);
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.ns-shop-hub-seo__header p:last-child {
  margin: 16px 0 0;
  color: var(--ns-shop-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.ns-shop-hub-seo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 46px;
}

.ns-shop-hub-seo article {
  padding-left: 18px;
  border-left: 3px solid rgba(223, 111, 92, 0.42);
}

.ns-shop-hub-seo h3 {
  margin: 0 0 8px;
  color: var(--ns-shop-ink);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0;
}

.ns-shop-hub-seo p {
  margin: 0;
  color: var(--ns-shop-muted);
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 1000px) {
  body.ns-route-c-shop-hub .shop-container,
  body.ns-route-c-shop-hub .woocommerce-breadcrumb,
  body.ns-route-c-shop-hub .page-title-inner {
    width: calc(100% - 30px);
  }

  .ns-shop-hub-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ns-shop-hub-intro__proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ns-shop-hub-routes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.ns-route-c-shop-hub {
    background:
      radial-gradient(circle at 85% 90px, rgba(79, 146, 112, 0.1), transparent 220px),
      linear-gradient(180deg, #fff 0, #fff 112px, var(--ns-shop-paper) 112px, var(--ns-shop-paper) 520px, #fff 520px);
  }

  body.ns-route-c-shop-hub .shop-container {
    width: calc(100% - 30px);
  }

  body.ns-route-c-shop-hub .shop-container h1 {
    margin-top: 20px;
    font-size: clamp(2.15rem, 12vw, 3rem);
  }

  body.ns-route-c-shop-hub .page-title-inner {
    min-height: 112px;
    align-items: center;
  }

  body.ns-route-c-shop-hub .woocommerce-ordering {
    width: 100%;
    margin-top: 0;
  }

  .ns-shop-hub-toolbar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ns-shop-hub-filter-button {
    display: inline-flex;
  }

  .ns-shop-hub-toolbar__count {
    display: none;
  }

  .ns-shop-hub-toolbar__sort {
    min-width: 0;
    width: 100%;
  }

  .ns-shop-hub-intro {
    margin-top: 8px;
    padding: 16px 0 24px;
  }

  .ns-shop-hub-intro__copy h1 {
    font-size: clamp(2.05rem, 11vw, 3.05rem);
  }

  .ns-shop-hub-intro__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ns-shop-hub-intro__proof {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ns-shop-hub-intro__proof span {
    min-height: 44px;
  }

  .ns-shop-hub-routes {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ns-shop-hub-route {
    min-height: 96px;
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .ns-shop-hub-route img {
    width: 72px;
    height: 72px;
  }

  body.ns-route-c-shop-hub .products {
    row-gap: 28px;
  }

  body.ns-route-c-shop-hub .product-small .add-to-cart-button a,
  body.ns-route-c-shop-hub .product-small a.add_to_cart_button {
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .ns-shop-hub-seo {
    margin: 42px 0 56px;
  }

  .ns-shop-hub-seo__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
