/* Home New — Rare and collectable. Scoped to .hk-nrare; reuses theme fonts (FreightBig Pro / Now). */
.hk-nrare {
  --hk-font-headline: "FreightBig Pro", Georgia, "Times New Roman", serif;
  --hk-font-body:
    "Now", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --hk-navy: #09334a;
  --hk-gold: #8c752c;
  --hk-beige: #edeae3;
  --hk-border: #cbd5e1;
}
.hk-nrare,
.hk-nrare * {
  box-sizing: border-box;
}
/* Navy band; header and cards on the 1295px grid */
.hk-nrare {
  display: grid;
  grid-template-columns: minmax(16px, 1fr) minmax(0, 1295px) minmax(16px, 1fr);
  grid-template-areas:
    ". head ."
    ". list .";
  row-gap: 30px;
  padding-block: 30px;
  background: var(--hk-navy);
  color: #fff;
  overflow: hidden;
  scroll-margin-top: 90px;
}

/* Header */
.hk-nrare__head {
  grid-area: head;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding-right: 260px; /* room for the button on the same row */
}
.hk-nrare__title {
  font-family: var(--hk-font-headline) !important;
  font-weight: 600 !important;
  font-size: clamp(31px, 2.1875vw, 42px) !important;
  line-height: 1.25 !important;
  text-transform: none !important;
  color: #fff !important;
  margin: 0 !important;
}
.hk-nrare__text {
  font-family: var(--hk-font-body);
  font-size: clamp(15px, 0.9895vw, 19px);
  line-height: 1.5;
  color: #fff;
}
.hk-nrare__text p {
  margin: 0;
  color: inherit;
}

/* Button top right; arrows are mobile only */
.hk-nrare__controls {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hk-nrare__arrow {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  padding: 0;
  color: var(--hk-navy);
  background: var(--hk-beige);
  border: 1px solid rgba(237, 234, 227, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.hk-nrare__arrow:hover,
.hk-nrare__arrow:focus {
  background: #fff;
}
.hk-nrare__arrow--prev svg {
  transform: rotate(180deg);
}
.hk-nrare__arrow[disabled] {
  opacity: 0.4;
  cursor: default;
}
.hk-nrare__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  font-family: var(--hk-font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--hk-navy);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 3px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.hk-nrare__btn:hover,
.hk-nrare__btn:focus {
  background: var(--hk-gold);
  border-color: var(--hk-gold);
  color: #fff;
  text-decoration: none;
}

/* Cards — 3 in a row on desktop */
.hk-nrare__list {
  grid-area: list;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hk-nrare__item {
  display: flex;
  margin: 0;
  padding: 0;
}
.hk-nrare__item::before {
  display: none;
}
.hk-nrare__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid var(--hk-border);
  border-radius: 2px;
  color: var(--hk-navy);
  text-decoration: none;
}
/* Ratio lives on the img: iOS Safari can't resolve height:100% inside an aspect-ratio box */
.hk-nrare__media {
  display: block;
  padding: clamp(16px, 2.083vw, 40px);
}
.hk-nrare__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 0.3s ease;
}
a.hk-nrare__card:hover .hk-nrare__img {
  transform: scale(1.03);
}
.hk-nrare__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 15px;
  padding: 0 clamp(15px, 1.302vw, 25px) clamp(15px, 1.302vw, 25px);
}
/* Title and text start at the top; price stays on the bottom line of every card */
.hk-nrare__price {
  margin-top: auto;
}
.hk-nrare__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hk-nrare__name {
  font-family: var(--hk-font-body);
  font-weight: 500;
  font-size: clamp(16px, 0.9375vw, 18px);
  line-height: 1.4;
  transition: color 0.2s ease;
}
a.hk-nrare__card:hover .hk-nrare__name {
  color: var(--hk-gold);
}
.hk-nrare__desc {
  font-family: var(--hk-font-body);
  font-size: clamp(14px, 0.833vw, 16px);
  line-height: 1.4;
}
.hk-nrare__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  font-family: var(--hk-font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
}
.hk-nrare__price ins {
  text-decoration: none;
}
.hk-nrare__price del {
  font-weight: 400;
  color: rgba(9, 51, 74, 0.6);
}

/* Mobile mockup: horizontal slider, button + arrows under the cards */
@media (max-width: 767px) {
  .hk-nrare {
    grid-template-columns: 10px minmax(0, 1fr) 10px;
    grid-template-areas:
      ". head ."
      "list list list"
      ". controls .";
    row-gap: 20px;
    padding-block: 20px;
  }
  .hk-nrare__head {
    padding-right: 0;
  }
  .hk-nrare__controls {
    grid-area: controls;
    grid-column: 2;
    grid-row: 3;
    justify-self: stretch;
  }
  .hk-nrare__btn {
    order: -1;
    flex: 1 1 auto;
    margin-right: 10px;
  }
  .hk-nrare__arrow {
    display: flex;
  }
  .hk-nrare__list {
    display: flex;
    gap: 10px;
    padding: 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hk-nrare__list::-webkit-scrollbar {
    display: none;
  }
  .hk-nrare__item {
    flex: 0 0 calc((100vw - 30px) / 1.75);
  }
  .hk-nrare__media {
    padding: 16px;
  }
}
