/*
	AHG36 2026, pages built from scratch: home (page-home.php) and shop list (page-shop-online.php).
	These pages do not load the old CSS. Painting cards come from the parent (.shp_item) and get their look here.
*/

/* ---------- base ---------- */
body.nx_full,
body.nx_full *,
body.nx_full *::before,
body.nx_full *::after {
  box-sizing: border-box;
}
body.nx_full {
  font-family: var(--main_font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
.nx_main h1,
.nx_main h2,
.nx_main h3,
.nx_main p,
.nx_main ul,
.nx_main figure {
  margin: 0;
  padding: 0;
}
.nx_main ul {
  list-style: none;
}
.nx_main img {
  display: block;
  max-width: 100%;
  height: auto;
}
.nx_main a {
  color: inherit;
  text-decoration: none;
}
.nx_main button,
.nx_main input,
.nx_main select {
  font: inherit;
  color: inherit;
}
.nx_main h1,
.nx_main h2,
.nx_main h3 {
  font-family: var(--header_font);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.nx_main h1 {
  font-size: clamp(40px, 5.2vw, 76px);
}
.nx_main h2 {
  font-size: clamp(32px, 3.4vw, 50px);
}
.nx_main h3 {
  font-size: 26px;
}
.nx_main p + p {
  margin-top: 0.9em;
}
.nx_main .material-symbols-outlined {
  font-size: 24px;
  line-height: 1;
  vertical-align: middle;
}
body.nx_full #the_loader {
  display: none;
}

.nx_eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px !important;
}

.nx_section {
  padding: clamp(56px, 7vw, 104px) 0;
}
.nx_tint {
  background: var(--tint);
}
.nx_section_head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-bottom: clamp(26px, 3vw, 44px);
}
.nx_section_head_center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.nx_section_head_center .nx_eyebrow {
  margin-bottom: 0 !important;
}

/* ---------- hero ---------- */
.nx_hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(78vh, 760px);
  padding: clamp(60px, 8vw, 110px) 0 clamp(90px, 9vw, 120px);
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.nx_hero_slides,
.nx_hero_slide {
  position: absolute;
  inset: 0;
}
.nx_hero_slide {
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.4s;
}
.nx_hero_slide.current {
  opacity: 1;
  z-index: 1;
}
.nx_hero_slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 12, 10, 0.86) 0%, rgba(15, 12, 10, 0.62) 38%, rgba(15, 12, 10, 0.08) 72%);
}
.nx_hero_inner {
  position: relative;
  z-index: 2;
  pointer-events: none; /* the painting label under it stays clickable */
}
.nx_hero_txt,
.nx_hero_dots {
  pointer-events: auto;
}
.nx_hero_txt {
  max-width: 640px;
}
.nx_hero .nx_eyebrow {
  color: rgba(255, 255, 255, 0.75);
}
.nx_hero h1 em {
  font-style: italic;
  color: #f0a48f;
}
.nx_hero_lead {
  max-width: 520px;
  margin-top: 22px !important;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.82);
}
.nx_main a.nx_plate {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100% - 1360px) / 2 + 32px));
  bottom: 28px;
  padding: 9px 14px;
  background: #fff;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.nx_plate strong {
  display: block;
  font-family: var(--header_font);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.nx_hero_dots {
  position: absolute;
  left: 32px;
  bottom: calc(-1 * clamp(50px, 5vw, 70px));
  display: flex;
  gap: 8px;
}
.nx_hero_dots i {
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.nx_hero_dots i.current {
  background: #fff;
}

/* ---------- trust strip ---------- */
.nx_trust_band {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.nx_trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 30px;
}
.nx_trust > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nx_trust .material-symbols-outlined {
  font-size: 30px;
  color: var(--accent);
}
.nx_trust p {
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--muted);
}
.nx_trust strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

/* ---------- painting cards (markup of the parent: ahg_shop_card) ---------- */
.nx_full .shp_grid,
.nx_tiles,
.nx_tools_grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 44px 28px;
}
.nx_cols_4 > *,
.nx_full .nx_cols_4.shp_grid > .shp_item {
  width: calc((100% - 84px) / 4);
}
.nx_cols_3 > *,
.nx_full .nx_cols_3.shp_grid > .shp_item,
.nx_full .nx_cols_3 .shp_grid > .shp_item {
  width: calc((100% - 56px) / 3);
}
.nx_full .nx_cols_3 > .shp_grid,
.nx_full .nx_cols_3 > #shp_sentinel,
.nx_full .nx_cols_3 > .shp_more,
.nx_full .nx_cols_3 > script,
.nx_full .nx_cols_3 > style {
  width: 100%;
}
.nx_full .shp_item {
  position: relative;
  display: block;
  max-width: none;
}
.nx_full .shp_img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  aspect-ratio: 4 / 5;
  padding: 11%;
  background: var(--wall);
  box-shadow: none;
}
.nx_full .shp_img img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 14px 26px -12px rgba(40, 30, 20, 0.6), 0 2px 5px rgba(40, 30, 20, 0.2);
  transition: transform 0.35s, opacity 0.4s ease;
}
.nx_full .shp_item:hover .shp_img img {
  transform: scale(1.035);
}
.nx_full .shp_txt {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.4;
}
.nx_full .shp_author {
  order: -1;
  font-size: 13.5px;
}
.nx_full .shp_author a {
  color: var(--muted);
}
.nx_full .shp_title {
  margin: 1px 0 6px;
  white-space: normal;
}
.nx_full .shp_title a {
  font-family: var(--header_font);
  font-size: 23px;
  line-height: 1.15;
  color: var(--ink);
}
.nx_full .shp_title a:hover {
  color: var(--accent);
}
.nx_full .shp_row {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}
.nx_full .shp_facts {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 12px;
  text-align: left;
}
.nx_full .shp_size {
  font-size: 15px;
  color: var(--muted);
}
.nx_full .shp_price {
  font-weight: 700;
}
.nx_full .shp_price span {
  font-weight: 400;
  color: var(--muted);
}
/* heart and frame icon: white circles over the top right corner of the picture */
.nx_full .shp_icons {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nx_full .shp_icons .heart,
.nx_full .shp_icons .shp_frame {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 21px;
  opacity: 1;
}
.nx_full .shp_icons .shp_frame {
  opacity: 0;
  transition: opacity 0.2s;
}
.nx_full .shp_item:hover .shp_frame,
.nx_full .shp_frame:focus {
  opacity: 1;
}
.nx_full .simplefavorite-button {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: url(../../gallery-ahg-09-12-2024/images/heart.svg) center / contain no-repeat;
  opacity: 1 !important;
}
.nx_full .simplefavorite-button:hover {
  background-image: url(../../gallery-ahg-09-12-2024/images/heart_stroke.svg);
}
.nx_full .simplefavorite-button.active {
  background-image: url(../../gallery-ahg-09-12-2024/images/heart_fill.svg) !important;
}
.nx_full .shp_more {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 56px auto 0;
  padding: 10px 30px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.nx_full .shp_more[hidden] {
  display: none;
}
.nx_full .shp_more img {
  width: 26px;
  height: 26px;
}
.nx_full .shp_more:hover {
  background: var(--ink);
  color: #fff;
}
.nx_full .shp_more:hover img {
  filter: invert(1);
}
.nx_full .shp_empty,
.nx_full .shp_found {
  width: 100%;
  margin-bottom: 26px;
  font-size: 18px;
}
.nx_full .shp_found {
  font-size: 30px;
}
.nx_full .shp_empty a {
  border-bottom: 1px solid currentColor;
}

/* ---------- price tiles, subjects ---------- */
.nx_tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--dark);
}
.nx_main .nx_tile img,
.nx_main .nx_subjects img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.nx_tile:hover img,
.nx_subjects a:hover img {
  transform: scale(1.05);
}
.nx_tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 18px 16px;
  background: linear-gradient(transparent, rgba(15, 12, 10, 0.85));
  color: #fff;
  font-size: 14.5px;
  line-height: 1.35;
}
.nx_tile strong {
  display: block;
  font-family: var(--header_font);
  font-size: 28px;
  font-weight: 500;
}
.nx_subjects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.nx_subjects a {
  display: block;
  width: calc((100% - 90px) / 6);
  text-align: center;
  font-size: 16px;
}
.nx_main .nx_subjects img {
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  margin-bottom: 12px;
}
.nx_subjects a:hover span {
  color: var(--accent);
}

/* ---------- artist in focus ---------- */
.nx_focus {
  border-top: 1px solid var(--line);
}
.nx_focus_grid {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}
.nx_focus_txt p:not(.nx_eyebrow) {
  margin: 16px 0 26px;
  color: var(--muted);
}

/* ---------- immersive show ---------- */
.nx_immersive {
  background: var(--dark);
  color: #fff;
}
.nx_immersive .nx_eyebrow {
  color: #d9a28f;
}
.nx_immersive_grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
}
.nx_immersive_txt > p:not(.nx_eyebrow) {
  margin-top: 18px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
}
.nx_facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 38px;
  margin-top: 28px !important;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}
.nx_facts strong {
  display: block;
  font-family: var(--header_font);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
}
.nx_immersive_pics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.nx_main .nx_immersive_pics img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.nx_main .nx_immersive_pics img:nth-child(2) {
  margin-top: 36px;
}

/* ---------- tools ---------- */
.nx_tool {
  padding: 34px 30px;
  background: #fff;
  border: 1px solid var(--line);
}
.nx_tool > .material-symbols-outlined {
  font-size: 38px;
  color: var(--accent);
}
.nx_tool h3 {
  margin: 14px 0 8px;
}
.nx_tool p {
  margin-bottom: 18px;
  font-size: 16px;
  color: var(--muted);
}

/* ---------- about ---------- */
.nx_about_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
}
.nx_about_pic img {
  width: 100%;
}
.nx_about_txt h2 {
  margin-bottom: 18px;
}
.nx_content p {
  margin: 0 0 0.9em;
}
.nx_content a {
  border-bottom: 1px solid currentColor;
}
.nx_contact_list {
  margin: 24px 0 0 !important;
}
.nx_contact_list li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 5px 0;
}
.nx_contact_list .material-symbols-outlined {
  color: var(--accent);
}
.nx_contact_list a:hover {
  color: var(--accent);
}
.nx_staff {
  margin-top: 20px !important;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.nx_staff a {
  border-bottom: 1px solid currentColor;
}

/* ---------- shop list ---------- */
.nx_catalog {
  padding-top: 36px;
}
.nx_catalog_grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 50px;
}

/* ------------------------------------------------------------------ */

@media (max-width: 1180px) {
  .nx_subjects a {
    width: calc((100% - 36px) / 3);
  }
}

@media (max-width: 1000px) {
  .nx_immersive_grid,
  .nx_about_grid,
  .nx_focus_grid {
    grid-template-columns: 1fr;
  }
  .nx_cols_4 > *,
  .nx_full .nx_cols_4.shp_grid > .shp_item {
    width: calc((100% - 56px) / 3);
  }
  .nx_tiles.nx_cols_4 > * {
    width: calc((100% - 28px) / 2);
  }
  .nx_trust {
    grid-template-columns: 1fr 1fr;
  }
  .nx_tools_grid.nx_cols_3 > * {
    width: 100%;
  }

  .nx_catalog_grid {
    display: block;
  }
}

@media (max-width: 767px) {
  body.nx_full {
    font-size: 16px;
  }
  .nx_hero {
    align-items: flex-end;
    min-height: 0;
    padding: 190px 0 96px;
  }
  .nx_hero_slide::before {
    background: linear-gradient(180deg, rgba(15, 12, 10, 0.05) 0%, rgba(15, 12, 10, 0.7) 42%, rgba(15, 12, 10, 0.9) 100%);
  }
  .nx_hero_lead {
    font-size: 17px;
  }
  .nx_main a.nx_plate {
    left: 16px;
    right: auto;
    bottom: 16px;
    max-width: calc(100% - 32px);
  }
  .nx_hero_dots {
    left: auto;
    right: 16px;
    top: -150px;
    bottom: auto;
  }
  .nx_full .shp_grid,
  .nx_tiles {
    gap: 30px 14px;
  }
  .nx_cols_3 > *,
  .nx_cols_4 > *,
  .nx_tiles.nx_cols_4 > *,
  .nx_full .nx_cols_4.shp_grid > .shp_item,
  .nx_full .nx_cols_3.shp_grid > .shp_item,
  .nx_full .nx_cols_3 .shp_grid > .shp_item {
    width: calc((100% - 14px) / 2);
  }
  .nx_full .nx_cols_3 > .shp_grid {
    width: 100%;
  }
  .nx_full .nx_focus_cards > .shp_item:last-child {
    display: none;
  }
  .nx_full .shp_title a {
    font-size: 20px;
  }
  .nx_full .shp_size,
  .nx_full .shp_txt {
    font-size: 14px;
  }
  .nx_full .shp_icons {
    top: 5px;
    right: 5px;
  }
  .nx_full .shp_icons .heart,
  .nx_full .shp_icons .shp_frame {
    width: 34px;
    height: 34px;
  }
  .nx_full .shp_icons .shp_frame {
    opacity: 1;
  }
  .nx_tile strong {
    font-size: 23px;
  }
  .nx_tile span {
    padding: 50px 12px 12px;
    font-size: 13.5px;
  }
  .nx_subjects {
    gap: 22px 12px;
  }
  .nx_subjects a {
    width: calc((100% - 24px) / 3);
    font-size: 14.5px;
  }
  .nx_immersive_pics {
    gap: 8px;
  }
  .nx_main .nx_immersive_pics img:nth-child(2) {
    margin-top: 20px;
  }
  .nx_facts {
    gap: 14px 26px;
  }
}

@media (max-width: 420px) {
  .nx_trust {
    grid-template-columns: 1fr;
  }
  .nx_quick {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -16px;
    padding-right: 16px;
    scrollbar-width: none;
  }
}
