:root {
  --header-height: 6.7rem;
}
@media (width > 768px) {
  :root {
    --header-height: 11.2rem;
  }
}

/**
 * Neighbor Square Component Styles
 * Base styles for the reusable neighbor-square component
 */
.neighbor-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  padding: 0.9rem;
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  box-sizing: border-box;
}
.neighbor-item .hue-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}
.neighbor-item .hue-mask {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-position: center;
  background-size: cover;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
@media (width > 768px) {
  .neighbor-item {
    padding: 1.2rem;
  }
}
.neighbor-item.placeholder-item {
  background-color: white !important;
  pointer-events: none;
}
@media (width > 768px) {
  .neighbor-item.placeholder-item {
    background-color: transparent !important;
  }
}
.neighbor-item.light-border {
  border: 0.5px solid rgba(255, 255, 255, 0.2);
}
@media (width > 768px) {
  .neighbor-item.light-border {
    border: 0.5px solid rgba(255, 255, 255, 0.2);
  }
}
.neighbor-item.light-text .neighbor-icon-btn,
.neighbor-item.light-text .neighbor-title,
.neighbor-item.light-text .neighbor-id,
.neighbor-item.light-text .neighbor-icon-text {
  color: var(--white-main, #FFF) !important;
}
.neighbor-item.light-text .neighbor-icon-btn svg,
.neighbor-item.light-text .neighbor-title svg,
.neighbor-item.light-text .neighbor-id svg,
.neighbor-item.light-text .neighbor-icon-text svg {
  color: var(--white-main, #FFF) !important;
}
.neighbor-item.dark-text .neighbor-icon-btn,
.neighbor-item.dark-text .neighbor-title,
.neighbor-item.dark-text .neighbor-id,
.neighbor-item.dark-text .neighbor-icon-text {
  color: var(--black-main, #000) !important;
}
.neighbor-item.dark-text .neighbor-icon-btn svg,
.neighbor-item.dark-text .neighbor-title svg,
.neighbor-item.dark-text .neighbor-id svg,
.neighbor-item.dark-text .neighbor-icon-text svg {
  color: var(--black-main, #000) !important;
}
.neighbor-item.placeholder-item.light-border {
  border: 0.5px solid rgba(255, 255, 255, 0.2) !important;
}
@media (width > 768px) {
  .neighbor-item.placeholder-item.light-border {
    border: 0.5px solid rgba(255, 255, 255, 0.2) !important;
  }
}
.neighbor-item.placeholder-item.dark-border {
  border: 0.5px solid rgba(0, 0, 0, 0.2) !important;
}
@media (width > 768px) {
  .neighbor-item.placeholder-item.dark-border {
    border: 0.5px solid rgba(0, 0, 0, 0.2) !important;
  }
}
.neighbor-item:hover .neighbor-title {
  font-size: 1.2rem;
}
@media (width > 768px) {
  .neighbor-item:hover .neighbor-title {
    font-size: 1.6rem;
  }
}
.neighbor-item:hover .neighbor-id {
  font-size: 1rem;
}
@media (width > 768px) {
  .neighbor-item:hover .neighbor-id {
    font-size: 1.4rem;
  }
}
.neighbor-item:hover .neighbor-id.light-text {
  color: var(--white-main, #FFF) !important;
}
.neighbor-item:hover .neighbor-id.dark-text {
  color: var(--black-main, #000) !important;
}
.neighbor-item:hover .neighbor-icon-text {
  opacity: 1;
  visibility: visible;
}
@media (width > 768px) {
  .neighbor-item:hover {
    border-radius: 0 0 5.2rem 0;
  }
}
.neighbor-item.current-neighbor {
  position: relative;
  z-index: 10;
}
.neighbor-item.current-neighbor:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0;
}
@media (width <= 768px) {
  .neighbor-item.current-neighbor .neighbor-icon-btn.neighbor-icon-heart svg {
    width: 2rem;
    height: 2rem;
  }
}
.neighbor-item .neighbor-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  position: relative;
  box-sizing: border-box;
  direction: rtl;
  align-items: flex-end;
}
@media (width > 768px) {
  .neighbor-item .neighbor-content {
    box-sizing: content-box;
  }
}
.neighbor-item.light-text .neighbor-content .neighbor-title,
.neighbor-item.light-text .neighbor-content .neighbor-id,
.neighbor-item.light-text .neighbor-content .neighbor-icon-text {
  color: var(--white-main, #FFF) !important;
}
.neighbor-item.dark-text .neighbor-content .neighbor-title,
.neighbor-item.dark-text .neighbor-content .neighbor-id,
.neighbor-item.dark-text .neighbor-content .neighbor-icon-text {
  color: var(--black-main, #000) !important;
}
.neighbor-item .neighbor-icons {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  align-self: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  margin: 0;
  position: relative;
  z-index: 2;
  gap: 0.8rem;
}
.neighbor-item .neighbor-icons::before {
  content: "";
  position: absolute;
  inset: -0.6rem;
  z-index: 0;
}
@media (width > 768px) {
  .neighbor-item .neighbor-icons {
    flex-direction: column;
    justify-content: space-between;
    align-self: flex-start;
    width: auto;
    max-width: none;
    margin: 0;
    z-index: 1;
  }
  .neighbor-item .neighbor-icons::before {
    inset: -0.8rem -0.6rem;
  }
}
.neighbor-item .neighbor-unavailable-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.8rem;
  width: 100%;
  z-index: 1;
  position: relative;
}
.neighbor-item .neighbor-unavailable-actions .checkbox-icon-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 1;
  transition: opacity 0.2s ease;
  opacity: 0;
}
.neighbor-item .neighbor-unavailable-actions .checkbox-icon-remove-btn svg {
  width: 2rem;
  height: 2rem;
  display: block;
}
.neighbor-item .neighbor-unavailable-actions .checkbox-icon-remove-btn:hover {
  opacity: 0.7;
}
.neighbor-item .neighbor-unavailable-actions .checkbox-icon-remove-btn:focus-visible {
  opacity: 1;
  outline: 2px solid var(--black-main, #333032);
  outline-offset: 2px;
  border-radius: 2px;
}
@media (width <= 768px) {
  .neighbor-item .neighbor-unavailable-actions .checkbox-icon-remove-btn {
    opacity: 1 !important;
  }
}
.neighbor-item:hover .neighbor-unavailable-actions .checkbox-icon-remove-btn, .neighbor-item:focus-within .neighbor-unavailable-actions .checkbox-icon-remove-btn {
  opacity: 1;
}
@media (width <= 768px) {
  .neighbor-item:hover .neighbor-unavailable-actions .checkbox-icon-remove-btn, .neighbor-item:focus-within .neighbor-unavailable-actions .checkbox-icon-remove-btn {
    opacity: 1 !important;
  }
}
.neighbor-item.light-text .neighbor-unavailable-actions .checkbox-icon-remove-btn svg path {
  stroke: var(--white-main, #FFF) !important;
}
.neighbor-item.dark-text .neighbor-unavailable-actions .checkbox-icon-remove-btn svg path {
  stroke: var(--black-main, #000) !important;
}
.neighbor-item .neighbor-selection-checkbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.8rem;
  width: 100%;
  z-index: 1;
  position: relative;
}
.neighbor-item .neighbor-selection-checkbox .wishlist-item-checkbox {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
}
.neighbor-item .neighbor-selection-checkbox .wishlist-item-checkbox:focus-visible + .wishlist-checkbox-label {
  outline: 2px solid var(--black-main, #333032);
  outline-offset: 2px;
  border-radius: 2px;
}
.neighbor-item .neighbor-selection-checkbox .wishlist-checkbox-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  margin: 0;
  z-index: 1;
  flex-shrink: 0;
}
.neighbor-item .neighbor-selection-checkbox .wishlist-checkbox-label span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.neighbor-item .neighbor-selection-checkbox .wishlist-checkbox-label span svg {
  width: 2rem;
  height: 2rem;
  display: block;
}
.neighbor-item .neighbor-selection-checkbox .wishlist-checkbox-label .checkbox-icon-unchecked {
  opacity: 1;
  z-index: 1;
}
.neighbor-item .neighbor-selection-checkbox .wishlist-checkbox-label .checkbox-icon-unchecked svg {
  width: 2rem;
  height: 2rem;
}
.neighbor-item .neighbor-selection-checkbox .wishlist-checkbox-label .checkbox-icon-checked {
  opacity: 0;
  z-index: 2;
}
.neighbor-item .neighbor-selection-checkbox .wishlist-checkbox-label .checkbox-icon-checked svg {
  width: 2rem;
  height: 2rem;
}
.neighbor-item .neighbor-selection-checkbox .wishlist-checkbox-label:hover .checkbox-icon-checked {
  opacity: 1;
}
.neighbor-item .neighbor-selection-checkbox .wishlist-item-checkbox:checked + .wishlist-checkbox-label .checkbox-icon-checked {
  opacity: 1 !important;
}
.neighbor-item .neighbor-selection-checkbox .checkbox-icon-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 1;
  transition: opacity 0.2s ease;
  opacity: 0;
}
.neighbor-item .neighbor-selection-checkbox .checkbox-icon-remove-btn svg {
  width: 2rem;
  height: 2rem;
  display: block;
}
.neighbor-item .neighbor-selection-checkbox .checkbox-icon-remove-btn:hover {
  opacity: 0.7;
}
.neighbor-item .neighbor-selection-checkbox .checkbox-icon-remove-btn:focus-visible {
  opacity: 1;
  outline: 2px solid var(--black-main, #333032);
  outline-offset: 2px;
  border-radius: 2px;
}
@media (width <= 768px) {
  .neighbor-item .neighbor-selection-checkbox .checkbox-icon-remove-btn {
    opacity: 1 !important;
  }
}
.neighbor-item:hover .neighbor-selection-checkbox .checkbox-icon-remove-btn, .neighbor-item:focus-within .neighbor-selection-checkbox .checkbox-icon-remove-btn {
  opacity: 1;
}
@media (width <= 768px) {
  .neighbor-item:hover .neighbor-selection-checkbox .checkbox-icon-remove-btn, .neighbor-item:focus-within .neighbor-selection-checkbox .checkbox-icon-remove-btn {
    opacity: 1 !important;
  }
}
.neighbor-item.light-text .neighbor-selection-checkbox .wishlist-checkbox-label .checkbox-icon-unchecked svg rect {
  stroke: var(--white-main, #FFF) !important;
}
.neighbor-item.light-text .neighbor-selection-checkbox .wishlist-checkbox-label .checkbox-icon-checked svg path,
.neighbor-item.light-text .neighbor-selection-checkbox .wishlist-checkbox-label .checkbox-icon-checked svg g path {
  stroke: var(--white-main, #FFF) !important;
}
.neighbor-item.light-text .neighbor-selection-checkbox .checkbox-icon-remove-btn svg path {
  stroke: var(--white-main, #FFF) !important;
}
.neighbor-item.dark-text .neighbor-selection-checkbox .wishlist-checkbox-label .checkbox-icon-unchecked svg rect {
  stroke: var(--black-main, #000) !important;
}
.neighbor-item.dark-text .neighbor-selection-checkbox .wishlist-checkbox-label .checkbox-icon-checked svg path,
.neighbor-item.dark-text .neighbor-selection-checkbox .wishlist-checkbox-label .checkbox-icon-checked svg g path {
  stroke: var(--black-main, #000) !important;
}
.neighbor-item.dark-text .neighbor-selection-checkbox .checkbox-icon-remove-btn svg path {
  stroke: var(--black-main, #000) !important;
}
.neighbor-item .neighbor-icon-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  display: block;
  cursor: pointer;
  align-items: center;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.neighbor-item .neighbor-icon-btn::before {
  content: "";
  position: absolute;
  inset: -0.4rem;
  z-index: 0;
  border-radius: 0.6rem;
  background-color: transparent;
  transition: background-color 0.15s ease;
}
.neighbor-item .neighbor-icon-btn.neighbor-icon-heart::before {
  inset: -1rem;
}
@media (width > 768px) {
  .neighbor-item .neighbor-icon-btn {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0.5rem;
    z-index: auto;
    direction: ltr;
  }
}
.neighbor-item .neighbor-icon-btn.light-text {
  color: var(--white-main, #FFF) !important;
}
.neighbor-item .neighbor-icon-btn.light-text svg {
  color: var(--white-main, #FFF) !important;
}
.neighbor-item .neighbor-icon-btn.dark-text {
  color: var(--black-main, #000) !important;
}
.neighbor-item .neighbor-icon-btn.dark-text svg {
  color: var(--black-main, #000) !important;
}
.neighbor-item .neighbor-icon-btn:hover {
  opacity: 0.8;
  outline: none;
}
.neighbor-item .neighbor-icon-btn:focus {
  outline: none;
}
.neighbor-item .neighbor-icon-btn:focus-visible {
  outline: none;
  border: 2px solid var(--black-main, #333032);
  border-radius: 4px;
}
.neighbor-item .neighbor-icon-btn.neighbor-icon-plus {
  width: 2.4rem;
  height: 2rem;
  display: flex;
}
.neighbor-item .neighbor-icon-btn.neighbor-icon-plus .neighbor-icon-text.light-text {
  color: var(--white-main, #FFF) !important;
}
.neighbor-item .neighbor-icon-btn.neighbor-icon-plus .neighbor-icon-text.dark-text {
  color: var(--black-main, #000) !important;
}
.neighbor-item .neighbor-icon-btn.neighbor-icon-heart {
  width: 2rem;
  height: 2rem;
  display: flex;
}
.neighbor-item .neighbor-icon-btn.neighbor-icon-heart svg {
  width: 2.6rem;
  height: 2rem;
}
@media (width > 768px) {
  .neighbor-item .neighbor-icon-btn.neighbor-icon-heart svg {
    width: 2.6rem;
    height: 2rem;
  }
}
.neighbor-item .neighbor-icon-btn.neighbor-icon-heart .neighbor-icon-text.light-text {
  color: var(--white-main, #FFF) !important;
}
.neighbor-item .neighbor-icon-btn.neighbor-icon-heart .neighbor-icon-text.dark-text {
  color: var(--black-main, #000) !important;
}
.neighbor-item .neighbor-icon-btn.neighbor-icon-remark svg {
  width: 2rem;
  height: 2rem;
}
@media (width > 768px) {
  .neighbor-item .neighbor-icon-btn.neighbor-icon-remark svg {
    width: 2rem;
    height: 2rem;
  }
}
.neighbor-item .neighbor-icon-btn.neighbor-icon-remark svg path {
  fill: currentColor;
}
.neighbor-item .neighbor-icon-btn svg {
  width: 2.6rem;
  height: 2.6rem;
  display: block;
  flex-shrink: 0;
}
@media (width > 768px) {
  .neighbor-item .neighbor-icon-btn svg {
    width: 2.6rem;
    height: 2.6rem;
  }
}
.neighbor-item .neighbor-icon-btn svg path,
.neighbor-item .neighbor-icon-btn svg circle,
.neighbor-item .neighbor-icon-btn svg line {
  stroke: currentColor;
  fill: currentColor;
}
.neighbor-item .neighbor-icon-btn svg path[stroke],
.neighbor-item .neighbor-icon-btn svg circle[stroke],
.neighbor-item .neighbor-icon-btn svg line[stroke] {
  fill: none;
}
.neighbor-item .neighbor-icon-btn svg path[fill]:not([stroke]),
.neighbor-item .neighbor-icon-btn svg circle[fill]:not([stroke]) {
  stroke: none;
}
.neighbor-item .neighbor-icon-text {
  font-size: 1rem;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  display: none;
}
@media (width > 768px) {
  .neighbor-item .neighbor-icon-text {
    font-size: 1.4rem;
    display: block;
  }
  .neighbor-item .neighbor-icon-text.light-text {
    color: var(--white-main, #FFF) !important;
  }
  .neighbor-item .neighbor-icon-text.dark-text {
    color: var(--black-main, #000) !important;
  }
}
@media (width > 768px) {
  .neighbor-item .neighbor-icon-btn:hover .neighbor-icon-text {
    opacity: 1;
    visibility: visible;
  }
}
.neighbor-item .neighbor-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 65px;
  align-items: flex-end;
  gap: 0.2rem;
  position: relative;
  z-index: 2;
}
@media (width > 768px) {
  .neighbor-item .neighbor-info {
    gap: 0.4rem;
  }
}
.neighbor-item .neighbor-title {
  font-variant-numeric: lining-nums tabular-nums;
  font-family: Nexa, Simpler;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1.8rem;
  letter-spacing: 0.003px;
  text-transform: uppercase;
  text-align: left;
}
.neighbor-item .neighbor-title.light-text {
  color: var(--white-main, #FFF) !important;
}
.neighbor-item .neighbor-title.dark-text {
  color: var(--black-main, #000) !important;
}
@media (width > 768px) {
  .neighbor-item .neighbor-title {
    font-size: 1.6rem;
  }
}
.neighbor-item .neighbor-id {
  font-variant-numeric: lining-nums tabular-nums;
  font-family: Nexa, Simpler;
  font-size: 1rem;
  font-style: normal;
  font-weight: 900;
  line-height: 100%;
  letter-spacing: 0.008px;
  text-transform: uppercase;
  margin: 0;
}
@media (width > 768px) {
  .neighbor-item .neighbor-id {
    font-size: 1.4rem;
  }
}
.neighbor-item .neighbor-id.light-text {
  color: var(--white-main, #FFF) !important;
}
.neighbor-item .neighbor-id.dark-text {
  color: var(--black-main, #000) !important;
}
