/* NORTIA TEAM homepage. Mobile first; breakpoints 768 / 992 / 1200. Tokens: nortia-shell.css */

/* The homepage modules span the full viewport; sections center their own content. */
#index #content-wrapper {
  padding-inline: 0;
}

.nh-home {
  font-family: var(--nt-font);
  color: var(--nt-text);
  font-size: var(--nt-fs-md);
  line-height: 1.5;
  padding-bottom: var(--nt-section-gap);
  -webkit-font-smoothing: antialiased;
}

.nh-home *,
.nh-home *::before,
.nh-home *::after {
  box-sizing: border-box;
}

/* resets carry zero specificity so component rules always win */
:where(.nh-home) h2,
:where(.nh-home) h3,
:where(.nh-home) p,
:where(.nh-home) ul,
:where(.nh-home) ol {
  margin: 0;
  padding: 0;
}

:where(.nh-home) ul,
:where(.nh-home) ol {
  list-style: none;
}

:where(.nh-home) a {
  color: inherit;
  text-decoration: none;
}

:where(.nh-home) img {
  display: block;
  max-width: 100%;
}

.nh-container {
  max-width: calc(var(--nt-container) + 2 * var(--nt-gutter));
  margin-inline: auto;
  padding-inline: var(--nt-gutter);
}

.nh-section {
  margin-top: var(--nt-section-gap);
}

/* ---------- shared pieces ---------- */

.nh-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.nh-head h2 {
  color: var(--nt-ink);
  font-size: var(--nt-fs-2xl);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.nh-head--small {
  margin-bottom: 14px;
}

.nh-head--small h3 {
  color: var(--nt-ink);
  font-size: var(--nt-fs-xl);
  font-weight: 750;
  line-height: 1.25;
}

.nh-head__sub {
  margin-top: 4px;
  color: var(--nt-muted);
  font-size: 14.5px;
}

.nh-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--nt-blue);
  font-size: var(--nt-fs-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nh-eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nh-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  color: var(--nt-blue-600);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nh-link::after,
.nh-btn--primary::after,
.nh-btn--outline::after {
  content: "→";
  transition: transform .2s var(--nt-ease);
}

a:hover .nh-link::after,
.nh-link:hover::after,
a:hover .nh-btn::after {
  transform: translateX(3px);
}

.nh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}

.nh-btn--primary {
  background: var(--nt-blue);
  color: #fff;
}

a:hover .nh-btn--primary {
  background: var(--nt-blue-600);
}

.nh-btn--lg {
  min-height: 54px;
  font-size: 16px;
}

.nh-btn--outline {
  border-color: var(--nt-blue);
  background: var(--nt-surface);
  color: var(--nt-blue-600);
  font-size: 13.5px;
  min-height: 42px;
  padding: 0 14px;
}

a:hover .nh-btn--outline {
  background: var(--nt-blue);
  color: #fff;
}

.nh-btn--secondary {
  border-color: var(--nt-line);
  background: var(--nt-surface);
  color: var(--nt-ink);
}

.nh-btn--secondary:hover {
  border-color: var(--nt-blue-100);
  background: var(--nt-blue-50);
  color: var(--nt-blue-600);
}

.nh-btn--light {
  min-height: 40px;
  background: #fff;
  color: var(--nt-navy);
  font-size: 14px;
}

.nh-badge {
  align-self: flex-start;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--nt-blue-50);
  color: var(--nt-blue-600);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nh-badge--solid {
  background: var(--nt-blue);
  color: #fff;
}

/* Card hover used by every clickable card on the page. */
.nh-tile,
.nh-product,
.nh-category,
.nh-news-card {
  transition: transform .2s var(--nt-ease), box-shadow .2s var(--nt-ease), border-color .2s, background-color .2s;
}

@media (hover: hover) {
  a.nh-tile:hover,
  .nh-product:hover,
  .nh-category:hover,
  .nh-news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--nt-shadow-hover);
  }

  .nh-product:hover,
  .nh-category:hover,
  .nh-news-card:hover {
    border-color: var(--nt-blue-100);
  }
}

a.nh-tile:active,
.nh-product:active,
.nh-category:active,
.nh-news-card:active {
  transform: scale(.985);
}

.nh-home a:focus-visible,
.nh-home button:focus-visible {
  outline: 2px solid var(--nt-blue);
  outline-offset: 2px;
}

/* ---------- horizontal rails ---------- */

.nh-rail {
  position: relative;
  min-width: 0;
}

.nh-rail__track {
  display: grid;
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--nt-gutter);
  scrollbar-width: none;
  /* bleed to the screen edge on phones so cards can be swiped edge to edge */
  margin-inline: calc(-1 * var(--nt-gutter));
  padding: 4px var(--nt-gutter) 12px;
}

.nh-rail__track::-webkit-scrollbar {
  display: none;
}

.nh-rail__track > li {
  display: flex;
  scroll-snap-align: start;
}

.nh-rail__track > li > * {
  flex: 1;
}

.nh-rail__track--products {
  grid-auto-columns: 62%;
}

.nh-rail__track--categories {
  grid-auto-columns: 42%;
}

.nh-rail__arrow {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--nt-line);
  border-radius: 50%;
  background: #fff center / 18px no-repeat;
  box-shadow: var(--nt-shadow-hover);
  cursor: pointer;
  transition: border-color .15s, transform .15s;
}

.nh-rail__arrow:hover {
  border-color: var(--nt-blue-100);
}

.nh-rail__arrow:active {
  transform: scale(.94);
}

.nh-rail__arrow--prev {
  left: -20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f63d1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}

.nh-rail__arrow--next {
  right: -20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f63d1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
}

.nh-rail__arrow[hidden] {
  display: none;
}

/* ---------- quick actions: glass tiles over the hero ---------- */

.nh-quick {
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

/* "overlap" setting: the tiles sit on the hero's lower edge */
.nh-quick--overlap {
  margin-top: -36px;
}

.nh-quick__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* "Další služby:" text links under the tiles */
.nh-quick__more {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 28px;
  margin: 30px 0 14px;
  font-size: 15px;
}

.nh-quick__more-label {
  color: var(--nt-muted);
  font-weight: 400;
}

.nh-quick__more a {
  padding-bottom: 3px;
  border-bottom: 1.5px solid currentColor;
  color: var(--nt-ink);
  font-weight: 600;
  line-height: 1.3;
}

.nh-quick__more a:hover {
  color: var(--nt-blue);
}

.nh-quick__item--desktop-only {
  display: none;
}

.nh-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--nt-radius-lg);
  /* mostly opaque glass: the blur shows the photo, the fill keeps text at full contrast */
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 1px 0 #fff inset, 0 12px 32px -14px rgba(13, 32, 54, .45);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
}

@media (hover: hover) {
  a.nh-tile:hover {
    border-color: #fff;
    background: #fff;
  }
}

/* small circular arrow in the corner, as in the original tiles */
a.nh-tile::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--nt-line);
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101b2b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .2s var(--nt-ease);
}

a.nh-tile:hover::after {
  transform: translateX(2px);
}

.nh-tile__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--nt-blue-50);
  box-shadow: 0 0 0 1px var(--nt-blue-100) inset;
}

.nh-tile__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.nh-tile__text {
  display: grid;
  min-width: 0;
  gap: 2px;
  padding-right: 4px;
}

.nh-tile__text strong {
  color: var(--nt-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.nh-tile__text small {
  overflow: hidden;
  color: var(--nt-text);
  font-size: 12.5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* highlighted tiles keep the glass and carry the accent in the icon */
.nh-tile--highlight {
  border-color: var(--nt-blue-100);
}

.nh-tile--highlight .nh-tile__icon {
  background: var(--nt-blue);
  box-shadow: none;
}

.nh-tile--highlight .nh-tile__icon img {
  filter: brightness(0) invert(1);
}

.nh-tile--highlight .nh-tile__text strong {
  color: var(--nt-blue-600);
}

.nh-tile--disabled {
  opacity: .55;
}

/* ---------- monthly offer ---------- */

.nh-monthly {
  padding-block: 40px 44px;
  background: linear-gradient(180deg, var(--nt-blue-50) 0%, rgba(238, 243, 250, 0) 100%);
}

.nh-monthly .nh-head h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.nh-monthly__grid {
  display: grid;
  gap: 32px;
}

.nh-monthly__more {
  min-width: 0;
}

.nh-product {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-lg);
  background: var(--nt-surface);
  box-shadow: var(--nt-shadow);
}

.nh-product > .nh-badge {
  margin-bottom: -2px;
}

.nh-product__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

.nh-product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nh-product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}

.nh-product__name {
  overflow: hidden;
  min-height: 2.7em;
  color: var(--nt-ink);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.nh-product__price {
  display: grid;
  margin-top: auto;
  line-height: 1.15;
}

.nh-product__price b {
  color: var(--nt-red);
  white-space: nowrap;
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.nh-product__price del,
.nh-product__was {
  min-height: 1.15em;
  color: var(--nt-muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.nh-product .nh-btn {
  width: 100%;
}

/* featured offer: image beside the details, framed in brand blue */
.nh-product--featured {
  position: relative;
  gap: 16px;
  padding: 20px;
  border: 2px solid #8fb0e6;
  border-radius: 18px;
  box-shadow: 0 18px 40px -24px rgba(31, 99, 209, .45);
}

@media (hover: hover) {
  .nh-product--featured:hover {
    border-color: var(--nt-blue);
  }
}

.nh-product--featured > .nh-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  margin: 0;
}

.nh-product--featured .nh-product__media {
  aspect-ratio: 4 / 3;
}

.nh-product--featured .nh-product__body {
  gap: 12px;
}

.nh-product--featured .nh-product__name {
  min-height: 0;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
  -webkit-line-clamp: 3;
}

.nh-product--featured .nh-product__price del {
  font-size: 15px;
}

.nh-product--featured .nh-product__price b {
  font-size: 36px;
  letter-spacing: -.02em;
}

.nh-countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px;
  border-radius: var(--nt-radius-sm);
  background: var(--nt-page);
  font-size: var(--nt-fs-sm);
}

.nh-countdown[hidden] {
  display: none;
}

.nh-countdown__label {
  color: var(--nt-muted);
  font-weight: 600;
}

.nh-countdown__units {
  display: flex;
  gap: 10px;
  color: var(--nt-muted);
}

.nh-countdown__units b {
  color: var(--nt-ink);
  font-size: 15px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

/* ---------- status ---------- */

.nh-status__card {
  display: grid;
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-lg);
  background: var(--nt-surface);
  box-shadow: var(--nt-shadow);
}

.nh-status__summary {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nh-status__badge {
  flex: none;
  width: 80px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 16px -8px rgba(13, 32, 54, .5);
}

.nh-status h2 {
  color: var(--nt-ink);
  font-size: var(--nt-fs-xl);
  font-weight: 750;
  line-height: 1.25;
}

.nh-status__summary p {
  margin-top: 4px;
  color: var(--nt-muted);
  font-size: 14px;
}

.nh-status__summary p b {
  color: var(--nt-ink);
  font-weight: 650;
}

.nh-level {
  color: var(--nt-level-blue);
}

.nh-level--silver {
  color: var(--nt-level-silver);
}

.nh-level--gold {
  color: var(--nt-level-gold);
}

.nh-track {
  --nh-track-color: var(--nt-level-blue);
  padding-top: 30px;
}

.nh-status--silver .nh-track {
  --nh-track-color: var(--nt-level-silver);
}

.nh-status--gold .nh-track {
  --nh-track-color: var(--nt-level-gold);
}

.nh-track__bar {
  position: relative;
  height: 8px;
  border-radius: 99px;
  background: var(--nt-line-soft);
}

.nh-track__fill {
  position: absolute;
  inset: 0 auto 0 0;
  max-width: 100%;
  border-radius: inherit;
  background: var(--nh-track-color);
}

.nh-track__dot {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 20px;
  height: 20px;
  border: 4px solid var(--nh-track-color);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(13, 32, 54, .25);
  transform: translate(-50%, -50%);
}

.nh-track__value {
  position: absolute;
  bottom: 20px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--nt-navy);
  color: #fff;
  font-size: var(--nt-fs-xs);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%);
}

/* near the ends the label aligns to its edge instead of centering, so it never leaves the card */
.nh-track__value--start {
  transform: none;
}

.nh-track__value--end {
  transform: translateX(-100%);
}

.nh-track__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 10px;
}

.nh-track__steps li {
  display: grid;
  color: var(--nt-muted);
  font-size: var(--nt-fs-xs);
}

.nh-track__steps li:nth-child(2) {
  text-align: center;
}

.nh-track__steps li:last-child {
  text-align: right;
}

.nh-track__steps b {
  color: var(--nt-text);
  font-size: var(--nt-fs-sm);
  font-weight: 700;
  letter-spacing: .03em;
}

.nh-track__steps .is-current b {
  color: var(--nh-track-color);
}

.nh-status__cta {
  justify-self: start;
}

/* ---------- categories: compact tiles, a row on desktop and a swipe rail on phones ---------- */

.nh-categories__grid {
  display: grid;
  gap: 16px;
}

.nh-category {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--nt-line);
  border-radius: 6px;
  background: var(--nt-surface);
}

.nh-category__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--nt-page);
}

.nh-category__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--nt-ease);
}

.nh-category:hover .nh-category__media img {
  transform: scale(1.05);
}

.nh-category__body {
  position: relative;
  display: grid;
  gap: 1px;
  padding: 10px 34px 12px 12px;
}

.nh-category__body::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f63d1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateY(-50%);
  transition: transform .2s var(--nt-ease);
}

.nh-category:hover .nh-category__body::after {
  transform: translate(3px, -50%);
}

.nh-category__body strong {
  overflow: hidden;
  color: var(--nt-ink);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nh-category__body small {
  color: var(--nt-muted);
  font-size: 12.5px;
}

/* collection banner: a low strip under the categories */
.nh-promo {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 150px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--nt-navy);
  isolation: isolate;
}

.nh-promo__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transition: transform .5s var(--nt-ease);
}

.nh-promo:hover .nh-promo__img {
  transform: scale(1.02);
}

.nh-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 32, 54, .94) 0%, rgba(13, 32, 54, .75) 45%, rgba(13, 32, 54, .1) 100%);
}

.nh-promo__body {
  display: grid;
  justify-items: start;
  gap: 4px;
  padding: 22px 24px;
  color: #fff;
}

.nh-promo__body small {
  color: #b9cbe6;
  font-size: var(--nt-fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nh-promo__body strong {
  font-size: var(--nt-fs-xl);
  font-weight: 750;
  line-height: 1.2;
}

.nh-promo__body > span {
  max-width: 40ch;
  color: #d5deea;
  font-size: 14px;
}

.nh-promo__body .nh-btn {
  margin-top: 8px;
  border-radius: 4px;
}

/* ---------- news: portrait cards, picture on top ---------- */

.nh-rail__track--news {
  grid-auto-columns: 78%;
}

.nh-story {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: var(--nt-surface);
  box-shadow: var(--nt-shadow);
  transition: box-shadow .2s var(--nt-ease), border-color .2s, transform .2s var(--nt-ease);
}

@media (hover: hover) {
  .nh-story:hover {
    border-color: var(--nt-blue-100);
    box-shadow: var(--nt-shadow-hover);
    transform: translateY(-2px);
  }
}

.nh-story__img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--nt-page);
}

.nh-story__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--nt-ease);
}

.nh-story:hover .nh-story__img img {
  transform: scale(1.04);
}

.nh-story__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
}

.nh-story time {
  color: var(--nt-blue);
  font-size: var(--nt-fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nh-story strong {
  color: var(--nt-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  transition: color .15s;
}

.nh-story:hover strong {
  color: var(--nt-blue-600);
}

.nh-story__excerpt {
  overflow: hidden;
  color: var(--nt-muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.nh-story .nh-link {
  margin-top: auto;
  padding-top: 8px;
}

/* ---------- tablet ---------- */

@media (min-width: 768px) {
  .nh-quick--overlap {
    margin-top: -48px;
  }

  .nh-quick__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .nh-quick__item--desktop-only {
    display: block;
  }

  .nh-tile {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 18px 44px 18px 18px;
  }

  .nh-tile__icon {
    width: 48px;
    height: 48px;
  }

  .nh-rail__track {
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }

  /* a part of the next card stays visible, so it is obvious the row scrolls */
  .nh-rail__track--products {
    grid-auto-columns: calc((100% - 2 * 14px) / 2.5);
  }

  /* from tablets up all categories show at once as a wrapping grid */
  .nh-rail__track--categories {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    overflow: visible;
    padding-block: 0;
  }

  .nh-rail__arrow {
    display: block;
  }

  .nh-monthly {
    padding-block: 56px 60px;
  }

  .nh-monthly .nh-head h2 {
    font-size: 40px;
  }

  .nh-product--featured {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 24px;
    padding: 24px;
  }

  .nh-product--featured .nh-product__media {
    aspect-ratio: 1;
    padding: 12px;
  }

  .nh-product--featured .nh-product__body {
    justify-content: center;
  }

  .nh-product--featured .nh-product__name {
    font-size: 24px;
  }

  .nh-product--featured .nh-product__price {
    margin-top: 4px;
  }

  .nh-product--featured .nh-product__price b {
    font-size: clamp(28px, 2.5vw, 38px);
  }

  .nh-status__card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 22px 24px;
  }

  .nh-status__summary {
    grid-column: 1 / -1;
  }

  .nh-track {
    grid-column: 1;
  }

  .nh-status__cta {
    grid-column: 2;
    align-self: end;
  }

  .nh-rail__track--news {
    grid-auto-columns: calc((100% - 2 * 14px) / 2.5);
  }
}

/* ---------- desktop ---------- */

@media (min-width: 992px) {
  .nh-quick--overlap {
    margin-top: -56px;
  }

  .nh-quick__list {
    grid-template-columns: none;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
  }

  .nh-tile {
    flex-direction: column;
    align-items: flex-start;
    min-height: 140px;
    padding: 20px;
  }

  .nh-tile__icon {
    width: 52px;
    height: 52px;
  }

  .nh-tile__icon img {
    width: 26px;
    height: 26px;
  }

  .nh-tile__text strong {
    font-size: 16px;
  }

  .nh-tile__text small {
    font-size: 13px;
  }

  a.nh-tile::after {
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
  }

  .nh-monthly .nh-head h2 {
    font-size: 46px;
  }

  .nh-monthly__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: stretch;
  }

  /* the offer column is narrower on desktop: give the details more room */
  .nh-product--featured {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    column-gap: 20px;
    padding: 20px;
  }

  .nh-product--featured .nh-product__name {
    font-size: 19px;
  }

  .nh-product--featured .nh-product__price b {
    font-size: clamp(26px, 2.3vw, 34px);
  }

  .nh-product--featured .nh-btn--lg {
    min-height: 48px;
    padding: 0 14px;
    font-size: 15px;
  }


  .nh-rail__track--products {
    grid-auto-columns: calc((100% - 3 * 14px) / 3.5);
  }

  .nh-status__card {
    grid-template-columns: minmax(260px, 1fr) minmax(0, 1.6fr) auto;
    gap: 32px;
    padding: 24px 28px;
  }

  .nh-status__summary,
  .nh-track,
  .nh-status__cta {
    grid-column: auto;
  }

  .nh-status__cta {
    align-self: center;
  }

  .nh-track {
    padding-top: 26px;
  }

  .nh-rail__track--categories {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .nh-rail__track--news {
    grid-auto-columns: calc((100% - 2 * 14px) / 3);
  }

  .nh-promo__body {
    padding: 28px 36px;
  }
}

@media (min-width: 1200px) {

}

@media (prefers-reduced-motion: reduce) {
  .nh-home *,
  .nh-home *::before,
  .nh-home *::after {
    transition: none;
    scroll-behavior: auto;
  }
}
