.admin-tools-active .slogan,
.admin-tools-active .slogan-subtext {
  display: none;
}

.slogan {
  text-align: center;
  font-size: 2em;
  padding: 0 clamp(20px, 6vw, 80px) 60px;
  margin-top: 0;
  color: var(--page-text, #333);
  overflow: hidden;
}

.slogan h2 {
  margin: 0;
  color: inherit;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
}

.slogan-subtext {
  width: 100%;
  margin: 10px auto 0;
  font-size: 0.72em;
  line-height: 1.5;
  color: inherit;
  white-space: normal;
  overflow: hidden;
}

.gallery-card-style-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 24px auto 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--site-radius, 8px);
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  box-sizing: border-box;
}

.gallery-card-style-picker label {
  color: #333;
  font-weight: 700;
  white-space: nowrap;
}

.gallery-card-style-picker select {
  min-height: 38px;
  padding: 7px 34px 7px 10px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: var(--site-radius, 6px);
  background-color: #fff;
  color: #333;
  font: inherit;
}

.gallery-test-toggle-row {
  display: flex;
  justify-content: center;
  margin: -28px 0 26px;
}

.gallery-admin-customer-view .gallery-test-toggle-row {
  margin: 10px 0 30px;
}

.gallery-test-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: var(--site-radius, 8px);
  background: #fff;
  color: #333;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  cursor: pointer;
}

.gallery-test-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.gallery-test-row[hidden] {
  display: none !important;
}

.category-rows {
  display: grid;
  gap: 48px;
  margin-top: 18px;
}

.carousel + .gallery-container,
.presentation-hero + .gallery-container {
  margin-top: 6px;
}

.inspect-stats-badge {
  position: relative;
  display: table;
  margin: 16px auto 0;
  padding: 9px 28px;
  background: var(--element-bg);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.inspect-stats-badge::before,
.inspect-stats-badge::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  pointer-events: none;
  z-index: 1;
}

.inspect-stats-badge::before {
  left: 0;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(to right, var(--page-bg), transparent);
}

.inspect-stats-badge::after {
  right: 0;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(to left, var(--page-bg), transparent);
}

.inspect-stats-badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 2;
}

.inspect-stats-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--element-text);
  padding: 0 16px;
  font-size: 1rem;
  font-weight: 600;
}

.inspect-stats-item + .inspect-stats-item {
  border-left: 1px solid color-mix(in srgb, var(--element-text) 20%, transparent);
}

.inspect-stats-badge .nf-views-badge,
.inspect-stats-badge .nf-like-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--element-text);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
}

.inspect-stats-badge .nf-like-icon,
.inspect-stats-badge .nf-views-badge img {
  width: 15px;
  height: 15px;
  filter: var(--element-icon-filter);
}

.inspect-stats-badge .nf-like-toggle::before {
  margin-top: 2px;
}

.inspect-tags-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px auto 0;
}

.inspect-tag-link {
  color: var(--page-text);
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.inspect-tag-link:hover {
  opacity: 1;
}

.presentation-hero {
  width: min(100%, 1180px);
  margin: 0 auto 72px;
  overflow: hidden;
  border-radius: var(--site-radius, 8px);
}

.presentation-hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  transform: scale(1.02);
  animation: presentation-kenburns 14s ease-out forwards;
}

@keyframes presentation-kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}

@keyframes presentation-kenburns-mobile {
  from { transform: scale(1.02); }
  to   { transform: scale(1.18); }
}

.main-content:has(.gallery-empty) {
  display: flex;
  flex-direction: column;
}

.gallery-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.gallery-empty .category-rows {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-images-message {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  text-align: center;
  font-size: 1.5em;
  line-height: 1.45;
}

.nf-row-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0;
  margin-left: 30px;
}
.nf-row-header h2 { margin: 0; font-size: 1.5rem; color: var(--page-text, #333);  }

.tag-title-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.16s ease;
}

.tag-title-link:hover,
.tag-title-link:focus-visible {
  opacity: 0.72;
  text-decoration: underline;
  text-underline-offset: 4px;
}


.nf-scroller {

    scroll-padding-left: calc(var(--leftpad) + 8px);

    --card-w: 280px;
    --card-h: 280px;
    --gap: 16px;

    width: 97vw;

    grid-auto-flow: column;
    grid-auto-columns: var(--card-w);
    gap: var(--gap);
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    padding-top: 2px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.nf-scroller::after {
    content: "";
    flex: 0 0 30px;
  }



.nf-scroller.fade-state-start {
  mask-image: linear-gradient(to right, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, black 96%, transparent);
}


.nf-scroller.fade-state-end {
  mask-image: linear-gradient(to left, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to left, black 96%, transparent);
}


.nf-scroller.fade-state-middle {
  mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0.1) 0%,
    black 4%,
    black 96%,
    rgba(0,0,0,0.1) 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0.1) 0%,
    black 4%,
    black 96%,
    rgba(0,0,0,0.1) 100%
  );
}


.nf-scroller { scrollbar-width: none; }
.nf-scroller::-webkit-scrollbar { display: none; }

.nf-scroller > .nf-card,
.nf-scroller > .nf-card-wrap {
  flex: 0 0 var(--card-w);
  width: var(--card-w);
}

.nf-card-wrap {
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
  align-content: start;
  justify-items: center;
  width: var(--card-w);
  scroll-snap-align: start;
}

.nf-card-wrap > .nf-card {
  justify-self: stretch;
  width: 100%;
  scroll-snap-align: none;
}

.nf-card-wrap > .nf-like-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
}

.nf-card-wrap > .nf-like-toggle {
  grid-area: auto !important;
  position: static !important;
  justify-self: center !important;
  align-self: center !important;
  place-self: center !important;
  margin: 0 !important;
  padding: 0 0 4px !important;
  transform: none !important;
}

.gallery-card-show-likes .nf-card-wrap > .nf-like-toggle,
.gallery-preview-show-likes .nf-card-wrap > .nf-like-toggle,
.gallery-card-style-classic.gallery-card-show-likes .nf-card-wrap > .nf-like-toggle,
.gallery-card-style-classic.gallery-preview-show-likes .nf-card-wrap > .nf-like-toggle,
.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views .nf-card-wrap > .nf-like-toggle {
  justify-self: center !important;
  place-self: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}


html, body { overflow-x: hidden; }


.nf-card {
  position: relative;
  display: grid;
  grid-template-areas:
      "title"
      "thumb"
      "price";
  grid-template-rows: auto var(--card-h) auto;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--gallery-card-radius, 8px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  box-sizing: border-box;

  text-decoration: none;
  color: #333;


  display: grid;
  grid-template-rows: auto var(--card-h) auto;
  transition: transform .2s ease-in-out;
  z-index: 50;
}

.nf-card:has(.nf-thumb:hover) { 
  transform: translateY(-5px); 
  box-shadow: 0 8px 16px rgba(0,0,0,0.12); 
}


.nf-title {
    color:#4b4b4b;
    grid-area: title;
    padding: 0;
    font-weight: bold;
    font-size: 1.04em;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.nf-title h3 {
  font-size: 1em;
}


.nf-thumb {
    grid-area: thumb;
    position: relative;
    width: var(--card-w, 280px);
    height: var(--card-h, 280px);
    overflow: hidden;
    display: block;
}

.nf-card.is-loading .nf-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    background: linear-gradient(100deg, rgba(220,220,220,0.55) 20%, rgba(245,245,245,0.85) 40%, rgba(220,220,220,0.55) 60%);
    background-size: 220% 100%;
    animation: gallery-skeleton 1.15s ease-in-out infinite;
}

.nf-card.is-loading .nf-thumb img {
    opacity: 0;
}

.nf-card.is-loaded .nf-thumb img {
    opacity: 1;
    transition: opacity 0.22s ease;
}

@keyframes gallery-skeleton {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}

.nf-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.nf-card.is-out-of-stock .nf-thumb img {
  filter: saturate(0.4) brightness(0.9);
}

.nf-stock-overlay {
  position: absolute;
  inset: 0;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(0.75px);
  -webkit-backdrop-filter: blur(0.75px);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}


.nf-bottom {
  grid-area: price;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 12px;
  font-weight: bold;
  color: #333;
}

.nf-bottom-price {
  grid-area: price;
  display: block;
  text-align: center;
  padding: 10px 14px 12px;
  font-weight: bold;
  color: #333;
}

.nf-bottom .nf-sold {
  color: #555;
  font-size: 0.95em;
}

.nf-views-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: fit-content;
  color: #333;
  font-size: 0.86em;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.nf-views-badge img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.nf-like-toggle {
  grid-area: likes;
  position: relative;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  justify-self: center;
  align-self: center;
  width: fit-content;
  min-height: 0;
  margin-top: 6px;
  margin-bottom: 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #333;
  font-size: 1.02em;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  backdrop-filter: none;
  transition: transform .18s ease, color .18s ease;
}

.nf-like-toggle:not(.is-static) {
  cursor: pointer;
}

.nf-like-toggle:not(.is-static):hover {
  transform: translateY(-1px);
}

.nf-like-toggle img,
.nf-thumb .nf-like-toggle img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: filter .18s ease, transform .18s ease;
}

.nf-like-toggle::before {
  content: "";
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask-image: url("/shared-img/favorite_outline.svg");
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("/shared-img/favorite_outline.svg");
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  transition: transform .18s ease;
}

.nf-like-toggle .nf-like-icon {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nf-like-toggle.is-liked {
  color: #d9365c;
}

.nf-like-toggle.is-liked::before {
  -webkit-mask-image: url("/shared-img/favorite.svg");
  mask-image: url("/shared-img/favorite.svg");
}

.nf-like-toggle.is-liked .nf-like-icon {
  filter: invert(29%) sepia(88%) saturate(2224%) hue-rotate(325deg) brightness(92%) contrast(88%);
}

.nf-like-toggle.is-animating::before {
  animation: nf-like-pop .38s cubic-bezier(.22,1.45,.45,1);
}

.nf-like-toggle.is-animating .nf-like-icon {
  animation: nf-like-pop .38s cubic-bezier(.22,1.45,.45,1);
}

.nf-card:has(.nf-like-toggle.is-animating) {
  z-index: 200;
}

.nf-like-toggle.has-error {
  animation: nf-like-shake .28s ease;
}

@keyframes nf-like-pop {
  0% { transform: scale(1); }
  42% { transform: scale(1.75); }
  72% { transform: scale(0.86); }
  100% { transform: scale(1); }
}

@keyframes nf-like-shake {
  0%, 100% { transform: translateX(0); }
  33% { transform: translateX(-3px); }
  66% { transform: translateX(3px); }
}

.gallery-card-style-bildfokus .nf-card {
  position: relative;
  grid-template-areas: "thumb";
  grid-template-rows: var(--card-h);
  overflow: visible;
  background: transparent;
  box-shadow: var(--gallery-card-shadow);
}

.gallery-card-style-bildfokus .nf-scroller {
  padding-top: 28px;
  padding-bottom: 28px;
}

.gallery-card-style-bildfokus .nf-card:has(.nf-thumb:hover) {
  box-shadow: var(--gallery-card-shadow-hover);
}

.gallery-card-style-bildfokus .nf-title,
.gallery-card-style-bildfokus .nf-thumb,
.gallery-card-style-bildfokus .nf-bottom,
.gallery-card-style-bildfokus .nf-bottom-price {
  grid-area: thumb;
}

.gallery-card-style-bildfokus .nf-thumb {
  width: 100%;
  height: 100%;
  border-radius: var(--gallery-card-radius, 8px);
  overflow: hidden;
}

.gallery-card-style-bildfokus .nf-title {
  z-index: 2;
  align-self: end;
  padding: 58px 12px 14px;
  color: #fff;
  border-radius: 0 0 var(--gallery-card-radius, 8px) var(--gallery-card-radius, 8px);
  background: linear-gradient(to top, rgba(0,0,0,0.66), rgba(0,0,0,0));
  text-align: left;
}

.gallery-card-style-bildfokus .nf-title h3 {
  margin: 0;
  color: inherit;
  font-size: 1.12em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.55);
  white-space: normal;
}

.gallery-card-style-bildfokus .nf-bottom,
.gallery-card-style-bildfokus .nf-bottom-price {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  box-sizing: border-box;
  width: fit-content;
  min-height: 28px;
  max-width: calc(100% - 20px);
  margin: 0;
  padding: 6px 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.16);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gallery-card-style-bildfokus .nf-bottom-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gallery-card-style-bildfokus .nf-bottom .nf-price,
.gallery-card-style-bildfokus .nf-bottom-price .nf-price {
  font-family: inherit;
  font-size: 0.86em;
  font-weight: 700;
  line-height: 1;
}

.gallery-card-style-bildfokus .nf-bottom:not(.nf-bottom-sold-only) {
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  color: #333;
}

.gallery-card-style-bildfokus .nf-bottom .nf-sold {
  color: #555;
  width: 100%;
  font-family: inherit;
  font-size: 0.86em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.gallery-card-style-bildfokus.gallery-card-show-price.gallery-card-show-sold .nf-bottom,
.gallery-card-style-bildfokus.gallery-preview-show-price.gallery-preview-show-sold .nf-bottom {
  display: contents;
  position: static;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}

.gallery-card-style-bildfokus.gallery-card-show-price.gallery-card-show-sold .nf-bottom .nf-price,
.gallery-card-style-bildfokus.gallery-preview-show-price.gallery-preview-show-sold .nf-bottom .nf-price,
.gallery-card-style-bildfokus.gallery-card-show-price.gallery-card-show-sold .nf-bottom .nf-sold,
.gallery-card-style-bildfokus.gallery-preview-show-price.gallery-preview-show-sold .nf-bottom .nf-sold {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: fit-content;
  min-height: 28px;
  max-width: calc(100% - 20px);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.16);
  text-align: center;
  white-space: nowrap;
}

.gallery-card-style-bildfokus.gallery-card-show-price.gallery-card-show-sold .nf-bottom .nf-price,
.gallery-card-style-bildfokus.gallery-preview-show-price.gallery-preview-show-sold .nf-bottom .nf-price {
  top: 10px;
  right: 10px;
}

.gallery-card-style-bildfokus.gallery-card-show-price.gallery-card-show-sold .nf-bottom .nf-sold,
.gallery-card-style-bildfokus.gallery-preview-show-price.gallery-preview-show-sold .nf-bottom .nf-sold {
  right: 10px;
  bottom: 10px;
  font-family: inherit;
  font-size: 0.86em;
  font-weight: 700;
  line-height: 1;
}

.gallery-card-style-original .nf-card {
  grid-template-areas:
    "thumb"
    "title"
    "price";
  grid-template-rows: var(--card-h) auto auto;
  overflow: visible;
  background: #fff;
  border: 0;
  box-shadow: var(--gallery-card-shadow);
}

.gallery-card-style-original .nf-card:has(.nf-thumb:hover) {
  box-shadow: var(--gallery-card-shadow-hover);
}

.gallery-card-style-bildfokus .nf-views-badge,
.gallery-card-style-original .nf-views-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--gallery-badge-bg);
  color: var(--element-text);
  box-shadow: var(--gallery-card-shadow);
}

.gallery-card-style-bildfokus .nf-views-badge {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #111;
}

.gallery-card-style-bildfokus .nf-views-badge img {
  filter: brightness(0);
}


.gallery-card-style-original .nf-scroller {
  padding-top: 28px;
  padding-bottom: 28px;
}

.gallery-card-style-original .nf-title {
  padding: 12px 14px 0;
  text-align: left;
}

.gallery-card-style-original.gallery-card-show-price.gallery-card-show-sold .nf-title,
.gallery-card-style-original.gallery-preview-show-price.gallery-preview-show-sold .nf-title {
  text-align: center;
  padding-bottom: 4px;
}

.gallery-card-style-original.gallery-card-show-price.gallery-card-show-sold .nf-bottom,
.gallery-card-style-original.gallery-preview-show-price.gallery-preview-show-sold .nf-bottom {
  padding-top: 7px;
}

.gallery-card-style-original .nf-title h3 {
  margin: 0;
  font-size: 0.96em;
  line-height: 1.25;
}

.gallery-card-style-original .nf-thumb {
  width: 100%;
  height: var(--card-h);
  border-radius: var(--gallery-card-radius, 8px) var(--gallery-card-radius, 8px) 0 0;
  background: #fff;
}

.gallery-card-style-original .nf-thumb img {
  object-fit: cover;
}

.gallery-card-style-original .nf-bottom,
.gallery-card-style-original .nf-bottom-price {
  padding: 3px 10px 4px;
  text-align: left;
}

.gallery-card-style-original .nf-bottom-price .nf-price {
  text-align: left;
}

.gallery-card-style-original.gallery-card-show-likes:not(.gallery-preview-show-sold) .nf-card:has(.nf-bottom-price),
.gallery-card-style-original.gallery-preview-show-likes:not(.gallery-preview-show-sold) .nf-card:has(.nf-bottom-price) {
  grid-template-areas:
    "thumb thumb"
    "title price";
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: var(--card-h) auto;
}

.gallery-card-style-original:not(.gallery-preview-show-sold) .nf-card:has(.nf-bottom-price) {
  grid-template-areas:
    "thumb thumb"
    "title price";
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: var(--card-h) auto;
}

.gallery-card-style-original:not(.gallery-preview-show-sold) .nf-card:has(.nf-bottom-price) .nf-title {
  align-self: center;
  min-width: 0;
  padding: 11px 8px 14px 14px;
}

.gallery-card-style-original:not(.gallery-preview-show-sold) .nf-card:has(.nf-bottom-price) .nf-title h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card-style-original:not(.gallery-preview-show-sold) .nf-card:has(.nf-bottom-price) .nf-bottom-price {
  align-self: center;
  padding: 4px 10px 5px 8px;
  text-align: right;
  white-space: nowrap;
}

.gallery-card-style-original:not(.gallery-preview-show-sold) .nf-card:has(.nf-bottom-price) .nf-bottom-price .nf-price {
  text-align: right;
}

.gallery-card-style-original.gallery-card-hide-price.gallery-card-hide-sold .nf-card {
  grid-template-areas:
    "thumb"
    "title";
  grid-template-columns: 1fr;
  grid-template-rows: var(--card-h) auto;
}

.gallery-card-style-original.gallery-card-show-likes.gallery-card-hide-price.gallery-card-hide-sold .nf-card,
.gallery-card-style-original.gallery-preview-show-likes:not(.gallery-preview-show-price):not(.gallery-preview-show-sold) .nf-card {
  grid-template-areas:
    "thumb"
    "title";
  grid-template-columns: 1fr;
  grid-template-rows: var(--card-h) auto;
}

.gallery-card-style-original.gallery-card-hide-price.gallery-card-hide-sold .nf-title {
  align-self: center;
  padding: 11px 14px 14px;
  text-align: center;
}

.gallery-card-style-original.gallery-card-hide-price.gallery-card-hide-sold .nf-title h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card-style-classic .nf-card {
  grid-template-areas:
    "title"
    "thumb"
    "price";
  grid-template-rows: auto var(--card-h) auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin-top: 12px;
}

.gallery-card-style-classic .nf-card:has(.nf-thumb:hover) {
  transform: translateY(-3px);
  box-shadow: none;
}

.gallery-card-style-classic .nf-title {
  padding: 0 0 9px;
  text-align: center;
  white-space: normal;
}

.gallery-card-style-classic .nf-title h3 {
  margin: 0;
  font-size: 0.98em;
  line-height: 1.25;
}

.gallery-card-style-classic.gallery-card-show-likes .nf-card,
.gallery-card-style-classic.gallery-preview-show-likes .nf-card {
  grid-template-areas:
    "title likes"
    "thumb thumb"
    "price price";
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto var(--card-h) auto;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-hide-price.gallery-card-hide-sold .nf-card,
.gallery-card-style-classic.gallery-preview-show-likes:not(.gallery-preview-show-price):not(.gallery-preview-show-sold) .nf-card {
  grid-template-areas:
    "title likes"
    "thumb thumb";
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto var(--card-h);
}

.gallery-card-style-classic.gallery-card-show-likes .nf-title,
.gallery-card-style-classic.gallery-preview-show-likes .nf-title {
  min-width: 0;
  padding-left: 8px;
  padding-right: 10px;
  text-align: left;
}

.gallery-card-style-classic.gallery-card-show-likes .nf-title h3,
.gallery-card-style-classic.gallery-preview-show-likes .nf-title h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card-style-classic.gallery-card-show-likes .nf-like-toggle,
.gallery-card-style-classic.gallery-preview-show-likes .nf-like-toggle {
  justify-self: end;
  padding: 7px 8px 12px 0;
}

.gallery-card-style-classic .nf-thumb {
  width: 100%;
  height: var(--card-h);
  border-radius: var(--gallery-card-radius, 8px);
  background: #fff;
  box-shadow: 0 7px 18px rgba(0,0,0,0.1);
  transition: box-shadow .2s ease-in-out;
}

.gallery-card-style-classic .nf-card:has(.nf-thumb:hover) .nf-thumb {
  box-shadow: var(--gallery-card-shadow-hover);
}

.gallery-card-style-classic .nf-bottom,
.gallery-card-style-classic .nf-bottom-price {
  display: flex;
  align-items: center;
  padding: 10px 8px 0;
  font-weight: 700;
}

.gallery-card-style-classic .nf-bottom {
  justify-content: space-between;
  gap: 10px;
}

.gallery-card-style-classic .nf-bottom-price {
  justify-content: center;
  text-align: center;
}

.gallery-card-style-classic .nf-bottom .nf-price {
  order: 2;
  text-align: right;
}

.gallery-card-style-classic .nf-bottom .nf-sold {
  order: 1;
  text-align: left;
}

.gallery-card-style-classic .nf-bottom-price .nf-price {
  text-align: center;
}

.gallery-card-style-classic.gallery-card-show-views .nf-card {
  grid-template-areas:
    "title"
    "thumb"
    "price"
    "views";
  grid-template-rows: auto var(--card-h) auto auto;
}

.gallery-card-style-classic.gallery-card-show-views.gallery-card-hide-price.gallery-card-hide-sold .nf-card {
  grid-template-areas:
    "title"
    "thumb"
    "views";
  grid-template-rows: auto var(--card-h) auto;
}

.gallery-card-style-classic.gallery-card-show-views.gallery-card-show-price.gallery-card-hide-sold .nf-card {
  grid-template-areas:
    "title"
    "thumb"
    "price";
  grid-template-rows: auto var(--card-h) auto;
}

.gallery-card-style-classic.gallery-card-show-views.gallery-card-hide-price.gallery-card-show-sold .nf-card {
  grid-template-areas:
    "title"
    "thumb"
    "price";
  grid-template-rows: auto var(--card-h) auto;
}

.gallery-card-style-classic.gallery-card-show-views.gallery-card-show-price.gallery-card-hide-sold .nf-bottom-price,
.gallery-card-style-classic.gallery-card-show-views.gallery-card-show-price.gallery-card-hide-sold .nf-views-badge,
.gallery-card-style-classic.gallery-card-show-views.gallery-card-hide-price.gallery-card-show-sold .nf-bottom,
.gallery-card-style-classic.gallery-card-show-views.gallery-card-hide-price.gallery-card-show-sold .nf-views-badge {
  grid-area: price;
  align-self: start;
}

.gallery-card-style-classic.gallery-card-show-views.gallery-card-show-price.gallery-card-hide-sold .nf-bottom-price {
  justify-self: stretch;
  justify-content: flex-end;
  text-align: right;
}

.gallery-card-style-classic.gallery-card-show-views.gallery-card-show-price.gallery-card-hide-sold .nf-views-badge {
  justify-self: start;
  margin: 10px 0 0 8px;
}

.gallery-card-style-classic.gallery-card-show-views.gallery-card-hide-price.gallery-card-show-sold .nf-bottom {
  justify-self: stretch;
  justify-content: flex-end;
  text-align: right;
}

.gallery-card-style-classic.gallery-card-show-views.gallery-card-hide-price.gallery-card-show-sold .nf-views-badge {
  justify-self: start;
  margin: 10px 0 0 8px;
}

.gallery-card-style-classic.gallery-card-show-views.gallery-card-show-price.gallery-card-show-sold .nf-views-badge {
  justify-self: center;
  margin: 6px auto 0;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views .nf-card,
.gallery-card-style-classic.gallery-preview-show-likes.gallery-preview-show-views .nf-card {
  grid-template-areas:
    "title likes"
    "thumb thumb"
    "price price"
    "views views";
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto var(--card-h) auto auto;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views.gallery-card-hide-price.gallery-card-hide-sold .nf-card,
.gallery-card-style-classic.gallery-preview-show-likes.gallery-preview-show-views:not(.gallery-preview-show-price):not(.gallery-preview-show-sold) .nf-card {
  grid-template-areas:
    "title likes"
    "thumb thumb"
    "views views";
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto var(--card-h) auto;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views.gallery-card-show-price.gallery-card-hide-sold .nf-card,
.gallery-card-style-classic.gallery-preview-show-likes.gallery-preview-show-views.gallery-preview-show-price:not(.gallery-preview-show-sold) .nf-card {
  grid-template-areas:
    "title likes"
    "thumb thumb"
    "price price";
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto var(--card-h) auto;
}

.gallery-card-style-classic .nf-views-badge {
  grid-area: views;
  justify-self: center;
  margin: 6px auto 0;
  color: #555;
}

.gallery-card-style-classic .nf-views-badge img {
  opacity: 0.72;
}

.gallery-card-style-classic.gallery-card-show-views:not(.gallery-card-show-likes) .nf-card {
  grid-template-areas:
    "title views"
    "thumb thumb"
    "price price";
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto var(--card-h) auto;
}

.gallery-card-style-classic.gallery-card-show-views:not(.gallery-card-show-likes).gallery-card-hide-price.gallery-card-hide-sold .nf-card {
  grid-template-areas:
    "title views"
    "thumb thumb";
  grid-template-rows: auto var(--card-h);
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views .nf-card {
  grid-template-areas:
    "title views likes"
    "thumb thumb thumb"
    "price price price";
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-rows: auto var(--card-h) auto;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views.gallery-card-hide-price.gallery-card-hide-sold .nf-card {
  grid-template-areas:
    "title views likes"
    "thumb thumb thumb";
  grid-template-rows: auto var(--card-h);
}

.gallery-card-style-classic.gallery-card-show-views .nf-views-badge {
  grid-area: views;
  justify-self: end;
  align-self: center;
  margin: 0;
  padding: 0 7px 9px 0;
}

.gallery-card-style-classic.gallery-card-show-views:not(.gallery-card-show-likes) .nf-title {
  min-width: 0;
  padding: 0 0 9px 7px;
  text-align: left;
}

.gallery-card-style-classic.gallery-card-show-views:not(.gallery-card-show-likes) .nf-title h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views .nf-card {
  grid-template-areas:
    "likes likes"
    "title views"
    "thumb thumb"
    "price price";
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto var(--card-h) auto;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views.gallery-card-hide-price.gallery-card-hide-sold .nf-card {
  grid-template-areas:
    "likes likes"
    "title views"
    "thumb thumb";
  grid-template-rows: auto auto var(--card-h);
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views .nf-like-toggle {
  justify-self: center;
  padding: 7px 0 12px;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views .nf-title {
  padding: 0 0 9px 7px;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views .nf-views-badge {
  padding-right: 7px;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views.gallery-card-hide-price.gallery-card-show-sold .nf-card {
  grid-template-areas:
    "title views likes"
    "thumb thumb thumb"
    "price price price";
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-rows: auto var(--card-h) auto;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views.gallery-card-hide-price.gallery-card-show-sold .nf-like-toggle {
  justify-self: end;
  padding: 0 8px 9px 4px;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views.gallery-card-hide-price.gallery-card-show-sold .nf-views-badge {
  padding-right: 4px;
}

.nf-bottom.nf-bottom-sold-only {
  justify-content: center;
  text-align: center;
}

.nf-bottom.nf-bottom-sold-only .nf-sold {
  margin: 0 auto;
}

.gallery-card-style-original.gallery-card-hide-price.gallery-card-show-sold .nf-card {
  grid-template-areas:
    "thumb thumb"
    "title sold";
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: var(--card-h) auto;
}

.gallery-card-style-original.gallery-card-show-likes.gallery-card-hide-price.gallery-card-show-sold .nf-card,
.gallery-card-style-original.gallery-preview-show-likes.gallery-preview-show-sold:not(.gallery-preview-show-price) .nf-card {
  grid-template-areas:
    "thumb thumb"
    "title sold";
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: var(--card-h) auto;
}

.gallery-card-style-original.gallery-card-hide-price.gallery-card-show-sold .nf-title,
.gallery-card-style-original.gallery-preview-show-sold:not(.gallery-preview-show-price) .nf-title {
  align-self: center;
  min-width: 0;
  padding: 11px 8px 14px 14px;
  text-align: left;
}

.gallery-card-style-original.gallery-card-hide-price.gallery-card-show-sold .nf-title h3,
.gallery-card-style-original.gallery-preview-show-sold:not(.gallery-preview-show-price) .nf-title h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card-style-original.gallery-card-hide-price.gallery-card-show-sold .nf-bottom-sold-only,
.gallery-card-style-original.gallery-preview-show-sold:not(.gallery-preview-show-price) .nf-bottom {
  align-self: center;
  grid-area: sold;
  justify-content: flex-end;
  padding: 11px 14px 14px 8px;
  text-align: right;
  white-space: nowrap;
}

.gallery-card-style-original.gallery-card-hide-price.gallery-card-show-sold .nf-sold,
.gallery-card-style-original.gallery-preview-show-sold:not(.gallery-preview-show-price) .nf-sold {
  margin: 0;
}

.nf-row {
  position: relative;
  width: 100%;
  overflow: visible;
}
.nf-controls {
  position: absolute;
  top: 50%;
  left: -70vw;
  transform: translate(-50%, -50%);
  transform: translateY(-50%);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  z-index: 100;
  pointer-events: none;
}
.nf-controls .nf-btn {
  pointer-events: auto;
}

.nf-btn {
  position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none; border-radius: var(--button-radius, 6px); width: 48px; height: 48px;
    min-width: 48px; min-height: 48px;
    padding: 0;
    box-shadow: var(--gallery-scroll-btn-shadow, 0 1px 2px rgba(0,0,0,.15));
    background: var(--gallery-scroll-btn-bg, #fff); cursor: pointer; font-size: 1rem; line-height: 48px;
}
.nf-btn:hover { transform: translateY(-1px); }
.nf-btn img {
  filter: var(--gallery-scroll-btn-icon-filter, brightness(0));
}
.nf-left img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  transform: scale(0.7) translateX(-2px);
}

.nf-right img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  transform: scale(0.7) translateX(2px);
}

body, html { overflow-x: hidden; }

.nf-scrollwrap {
  position: relative;
  overflow: visible;
}

.tag-gallery-container {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 70px;
}

.tag-gallery-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 16px;
  margin-bottom: 28px;
}

.tag-gallery-top h1 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: var(--page-text, #333);
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card-w, 280px), 280px));
  justify-content: center;
  gap: 24px 16px;
  --card-w: 280px;
  --card-h: 280px;
}

.tag-gallery-container.gallery-card-style-bildfokus .tag-grid,
.tag-gallery-container.gallery-card-style-original .tag-grid {
  padding-top: 44px;
}

.nf-scroller {
  padding-left: 30px;
  scroll-padding-left: 30px;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth !important;
}

.gallery-card-style-bildfokus.gallery-card-hide-price.gallery-card-show-sold .nf-bottom-sold-only .nf-sold {
  font-size: .86rem;
}


@media (max-width: 768px) {

  .category-rows {
    gap: 36px;
    margin-top: 18px;
  }

  .carousel + .gallery-container,
  .presentation-hero + .gallery-container {
    margin-top: 4px;
  }

  .presentation-hero {
    width: 100%;
    margin-bottom: 52px;
    border-radius: 0;
  }

  .presentation-hero-image {
    width: 150%;
    max-width: none;
    margin-left: -25%;
    animation-name: presentation-kenburns-mobile;
  }


  .slogan {
    padding-top: 2px;
    font-size: 1.5em;
  }

  .slogan-subtext {
    font-size: 0.86em;
  }

  .gallery-card-style-picker {
    margin-top: 16px;
    flex-wrap: wrap;
  }

  .gallery-test-toggle-row {
    margin: 18px 0 26px;
  }

  .gallery-admin-customer-view .gallery-test-toggle-row {
    margin: 26px 0 30px;
  }

  .nf-scroller {
    --card-w: 220px;
    --card-h: 220px;
    --gap: 12px;
    padding-left: 10px;
    scroll-padding-left: 10px;
  }

  .nf-title {
    font-size: 0.8em;
  }

  .nf-card,
  .nf-thumb,
  .nf-thumb img {
    -webkit-tap-highlight-color: rgba(255,255,255,0.18);
  }

  .nf-card:has(.nf-thumb:hover),
  .gallery-card-style-classic .nf-card:has(.nf-thumb:hover) {
    transform: none;
  }

  .gallery-card-style-bildfokus .nf-bottom,
  .gallery-card-style-bildfokus .nf-bottom-price {
    top: 9px;
    right: 9px;
    max-width: calc(100% - 18px);
  }

  .gallery-card-style-bildfokus .nf-bottom .nf-price,
  .gallery-card-style-bildfokus .nf-bottom .nf-sold,
  .gallery-card-style-bildfokus .nf-bottom-price .nf-price {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nf-scroller::after {
    content: "";
    flex: 0 0 10px;
  }

  .nf-thumb img { max-height: 220px; }
  .nf-scroller.has-more {
    mask-image: linear-gradient(to right, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent);
  }

  .nf-row-header { margin-left: 10px; }

  .tag-gallery-container {
    width: min(100% - 20px, 680px);
    margin-top: 24px;
  }

  .tag-gallery-top {
    grid-template-columns: 1fr auto;
    margin-bottom: 22px;
  }

  .tag-gallery-top h1 {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
    font-size: 2rem;
  }

  .tag-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
    --card-w: 100%;
    --card-h: clamp(150px, 42vw, 220px);
  }

  .tag-grid .nf-card {
    width: 100%;
    min-width: 0;
    transition: transform .2s ease-in-out;
    will-change: transform;
  }

  .tag-grid .nf-card-wrap {
    width: 100%;
    min-width: 0;
  }

  .tag-grid .nf-thumb {
    width: 100%;
  }

  .tag-gallery-container.gallery-card-style-bildfokus .nf-bottom-price {
    left: 9px;
    right: 9px;
    display: flex;
    justify-content: flex-end;
    width: auto;
    max-width: none;
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .tag-gallery-container.gallery-card-style-bildfokus .nf-bottom-price .nf-price {
    display: inline-block;
    max-width: 100%;
    padding: 6px 10px;
    overflow: hidden;
    border-radius: var(--site-radius, 999px);
    background: #eee;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.16);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.js-fx .nf-row {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}
.js-fx .nf-row.is-visible {
  opacity: 1;
  transform: none;
}

.nf-card.is-loaded .nf-thumb img {
  transition: opacity 0.22s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.nf-card:hover .nf-thumb img {
  transform: scale(1.10);
}

@media (hover: none) and (pointer: coarse) {
  .nf-left,
  .nf-right {
    display: none !important;
  }
  .nf-card:hover .nf-thumb img {
    transform: none;
  }
}

@media (orientation: landscape) and (max-height: 600px) and (hover: none) and (pointer: coarse) {
  .category-rows {
    gap: 24px;
    margin-top: 10px;
  }

  .slogan {
    padding-top: 0;
    font-size: 1.2em;
  }

  .slogan-subtext {
    font-size: 0.78em;
  }

  .nf-scroller {
    --card-w: 180px;
    --card-h: 180px;
    --gap: 10px;
  }

  .row-label-row {
    margin-bottom: 6px;
  }
}

.gallery-card-show-likes .nf-like-toggle,
.gallery-preview-show-likes .nf-like-toggle {
  margin-top: 12px !important;
  margin-bottom: 18px !important;
  padding-top: 8px !important;
  padding-bottom: 12px !important;
}

.gallery-card-style-bildfokus.gallery-card-show-likes .nf-like-toggle,
.gallery-card-style-bildfokus.gallery-preview-show-likes .nf-like-toggle,
.gallery-card-style-original.gallery-card-show-likes .nf-like-toggle,
.gallery-card-style-original.gallery-preview-show-likes .nf-like-toggle {
  position: static !important;
  grid-area: likes !important;
  justify-self: center !important;
  align-self: center !important;
  transform: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 12px !important;
  padding-bottom: 0 !important;
}

.gallery-card-style-bildfokus.gallery-card-show-likes .nf-card,
.gallery-card-style-bildfokus.gallery-preview-show-likes .nf-card {
  grid-template-areas:
    "thumb"
    "likes" !important;
  grid-template-rows: var(--card-h) auto !important;
}

.gallery-card-style-original.gallery-card-show-likes .nf-card,
.gallery-card-style-original.gallery-preview-show-likes .nf-card {
  grid-template-areas:
    "thumb"
    "title"
    "price"
    "likes" !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: var(--card-h) auto auto auto !important;
}

.gallery-card-style-bildfokus .nf-like-toggle:not(.is-static):hover,
.gallery-card-style-original .nf-like-toggle:not(.is-static):hover {
  transform: translateY(-1px) !important;
}

.gallery-card-show-likes .nf-card-wrap > .nf-card,
.gallery-preview-show-likes .nf-card-wrap > .nf-card {
  grid-template-areas:
    "title"
    "thumb"
    "price" !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto var(--card-h) auto !important;
}

.gallery-card-style-bildfokus.gallery-card-show-likes .nf-card-wrap > .nf-card,
.gallery-card-style-bildfokus.gallery-preview-show-likes .nf-card-wrap > .nf-card {
  grid-template-areas: "thumb" !important;
  grid-template-rows: var(--card-h) !important;
}

.gallery-card-style-original.gallery-card-show-likes .nf-card-wrap > .nf-card,
.gallery-card-style-original.gallery-preview-show-likes .nf-card-wrap > .nf-card {
  grid-template-areas:
    "thumb"
    "title"
    "price" !important;
  grid-template-rows: var(--card-h) auto auto !important;
}

.gallery-card-show-likes.gallery-card-hide-price.gallery-card-hide-sold .nf-card-wrap > .nf-card,
.gallery-preview-show-likes:not(.gallery-preview-show-price):not(.gallery-preview-show-sold) .nf-card-wrap > .nf-card {
  grid-template-areas:
    "title"
    "thumb" !important;
  grid-template-rows: auto var(--card-h) !important;
}

.gallery-card-style-bildfokus.gallery-card-show-likes.gallery-card-hide-price.gallery-card-hide-sold .nf-card-wrap > .nf-card,
.gallery-card-style-bildfokus.gallery-preview-show-likes:not(.gallery-preview-show-price):not(.gallery-preview-show-sold) .nf-card-wrap > .nf-card {
  grid-template-areas: "thumb" !important;
  grid-template-rows: var(--card-h) !important;
}

.gallery-card-style-original.gallery-card-show-likes.gallery-card-hide-price.gallery-card-hide-sold .nf-card-wrap > .nf-card,
.gallery-card-style-original.gallery-preview-show-likes:not(.gallery-preview-show-price):not(.gallery-preview-show-sold) .nf-card-wrap > .nf-card {
  grid-template-areas:
    "thumb"
    "title" !important;
  grid-template-rows: var(--card-h) auto !important;
}

.nf-card-wrap > .nf-like-row {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 0 4px !important;
  margin: 0 !important;
}

.nf-card-wrap > .nf-like-row > .nf-like-toggle {
  grid-area: auto !important;
  position: static !important;
  justify-self: auto !important;
  align-self: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.nf-card-wrap > .nf-like-row > .nf-like-toggle:not(.is-static):hover {
  transform: translateY(-1px) !important;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views .nf-card-wrap > .nf-card {
  grid-template-areas:
    "title views"
    "thumb thumb"
    "price price" !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto var(--card-h) auto !important;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views.gallery-card-hide-price.gallery-card-hide-sold .nf-card-wrap > .nf-card {
  grid-template-areas:
    "title views"
    "thumb thumb" !important;
  grid-template-rows: auto var(--card-h) !important;
}

.gallery-card-style-classic.gallery-card-show-likes.gallery-card-show-views .nf-card-wrap > .nf-card .nf-views-badge {
  grid-area: views !important;
  justify-self: end !important;
  align-self: center !important;
  margin: 0 !important;
  padding: 0 7px 9px 0 !important;
}

.gallery-card-style-classic.gallery-card-show-likes:not(.gallery-card-show-views) .nf-card-wrap {
  position: relative;
}

.gallery-card-style-classic.gallery-card-show-likes:not(.gallery-card-show-views) .nf-card-wrap > .nf-like-row {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: auto !important;
  padding: 0 7px 0 4px !important;
  z-index: 5;
}

.gallery-card-style-classic.gallery-card-show-likes:not(.gallery-card-show-views) .nf-card-wrap > .nf-like-row > .nf-like-toggle {
  padding: 0 !important;
}

.gallery-card-style-classic.gallery-card-show-likes:not(.gallery-card-show-views) .nf-card-wrap > .nf-card {
  grid-template-areas:
    "title"
    "thumb"
    "price" !important;
  grid-template-columns: 1fr !important;
}

.gallery-card-style-classic.gallery-card-show-likes:not(.gallery-card-show-views) .nf-card-wrap > .nf-card .nf-title {
  padding-right: 48px !important;
}

.gallery-card-style-classic.gallery-card-show-likes:not(.gallery-card-show-views).gallery-card-show-price.gallery-card-hide-sold .nf-card-wrap > .nf-card {
  grid-template-areas:
    "title price"
    "thumb thumb" !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto var(--card-h) !important;
}

.gallery-card-style-classic.gallery-card-show-likes:not(.gallery-card-show-views).gallery-card-show-price.gallery-card-hide-sold .nf-card-wrap > .nf-card .nf-title {
  padding-right: 12px !important;
  text-align: left !important;
}

.gallery-card-style-classic.gallery-card-show-likes:not(.gallery-card-show-views).gallery-card-show-price.gallery-card-hide-sold .nf-card-wrap > .nf-card .nf-bottom-price {
  grid-area: price !important;
  justify-self: end !important;
  align-self: center !important;
  padding: 0 52px 9px 0 !important;
  text-align: right !important;
}

.gallery-card-style-classic.gallery-card-show-views:not(.gallery-card-show-likes).gallery-card-show-price.gallery-card-hide-sold .nf-title {
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
}

.gallery-card-style-original.gallery-card-show-likes.gallery-card-show-price.gallery-card-hide-sold .nf-card-wrap > .nf-card,
.gallery-card-style-original.gallery-preview-show-likes.gallery-preview-show-price:not(.gallery-preview-show-sold) .nf-card-wrap > .nf-card {
  grid-template-areas:
    "thumb thumb"
    "title price" !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: var(--card-h) auto !important;
}

.gallery-card-style-original.gallery-card-show-likes.gallery-card-show-price.gallery-card-hide-sold .nf-card-wrap > .nf-card .nf-title,
.gallery-card-style-original.gallery-preview-show-likes.gallery-preview-show-price:not(.gallery-preview-show-sold) .nf-card-wrap > .nf-card .nf-title {
  grid-area: title !important;
  align-self: center !important;
  min-width: 0 !important;
  padding: 11px 8px 14px 14px !important;
}

.gallery-card-style-original.gallery-card-show-likes.gallery-card-show-price.gallery-card-hide-sold .nf-card-wrap > .nf-card .nf-title h3,
.gallery-card-style-original.gallery-preview-show-likes.gallery-preview-show-price:not(.gallery-preview-show-sold) .nf-card-wrap > .nf-card .nf-title h3 {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.gallery-card-style-original.gallery-card-show-likes.gallery-card-show-price.gallery-card-hide-sold .nf-card-wrap > .nf-card .nf-bottom-price,
.gallery-card-style-original.gallery-preview-show-likes.gallery-preview-show-price:not(.gallery-preview-show-sold) .nf-card-wrap > .nf-card .nf-bottom-price {
  grid-area: price !important;
  align-self: center !important;
  justify-self: end !important;
  padding: 11px 14px 14px 8px !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.gallery-card-style-original.gallery-card-show-likes.gallery-card-hide-price.gallery-card-show-sold .nf-card-wrap > .nf-card,
.gallery-card-style-original.gallery-preview-show-likes.gallery-preview-show-sold:not(.gallery-preview-show-price) .nf-card-wrap > .nf-card {
  grid-template-areas:
    "thumb thumb"
    "title sold" !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: var(--card-h) auto !important;
}

.gallery-card-style-original.gallery-card-show-likes.gallery-card-hide-price.gallery-card-show-sold .nf-card-wrap > .nf-card .nf-bottom-sold-only,
.gallery-card-style-original.gallery-preview-show-likes.gallery-preview-show-sold:not(.gallery-preview-show-price) .nf-card-wrap > .nf-card .nf-bottom {
  grid-area: sold !important;
}
