:root {
  --primary: #0c0d0f;
  --secondary: #eceae6;
  --text-dark: #111214;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cormorant Garamond", serif;
  background-color: var(--primary);
  color: var(--secondary);
  overflow-x: hidden;
}

/* Header: transparent + white on top; white + black when scrolled */
.site-header {
  background: transparent;
  color: #eceae6;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.site-header__logo,
.site-header__tagline,
.site-header__link {
  color: inherit;
}

.site-header__menu-btn {
  color: inherit;
  border: 1px solid rgba(236, 234, 230, 0.35);
}

.site-header.is-scrolled,
body.header-solid .site-header {
  background: #ffffff;
  color: #111214;
  border-bottom-color: rgba(17, 18, 20, 0.06);
  box-shadow: 0 1px 0 rgba(17, 18, 20, 0.04);
}

.site-header.is-scrolled .site-header__menu-btn,
body.header-solid .site-header__menu-btn {
  border-color: rgba(17, 18, 20, 0.25);
}

body.header-solid .site-header__link--glass {
  background-image: linear-gradient(
    115deg,
    #8f4e2a 0%,
    #c17a3a 25%,
    #d4a84b 50%,
    #a65d28 75%,
    #b8860b 100%
  );
}

/* Nav dropdowns */
.site-nav__item {
  position: relative;
}

.site-nav__trigger {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 16rem;
  padding: 0.65rem 0;
  background: #ffffff;
  color: #111214;
  border: 1px solid rgba(17, 18, 20, 0.08);
  box-shadow: 0 16px 40px rgba(12, 13, 15, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
  z-index: 60;
}

.site-nav__item:hover .site-nav__dropdown,
.site-nav__item:focus-within .site-nav__dropdown,
.site-nav__item.is-open .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.site-nav__dropdown a {
  display: block;
  padding: 0.55rem 1.15rem;
  font-family: Jost, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111214;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.site-nav__dropdown a:hover {
  background: rgba(12, 13, 15, 0.05);
}

/* „Dostępne od ręki” — witrażowy / ażurowy akcent */
.site-header__link--glass {
  font-weight: 500;
  letter-spacing: 0.16em;
  background-image: linear-gradient(
    115deg,
    #f2e6c8 0%,
    #d4a84b 18%,
    #f7f1de 36%,
    #c17a3a 52%,
    #e8c56a 68%,
    #8f4e2a 84%,
    #f0d78a 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: glass-shimmer 7s ease-in-out infinite;
  position: relative;
}

.site-header__link--glass::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 75, 0.85), transparent);
}

@keyframes glass-shimmer {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.site-header.is-scrolled .site-header__link--glass {
  background-image: linear-gradient(
    115deg,
    #8f4e2a 0%,
    #c17a3a 25%,
    #d4a84b 50%,
    #a65d28 75%,
    #b8860b 100%
  );
}

/* Mobile menu */
.mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #ffffff;
  color: #111214;
  border-top: 1px solid rgba(17, 18, 20, 0.06);
  max-height: min(80vh, 640px);
  overflow-y: auto;
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu__inner {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-menu__inner > a,
.mobile-menu__group > a {
  display: block;
  padding: 0.7rem 0;
  font-family: Jost, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111214;
  border-bottom: 1px solid rgba(17, 18, 20, 0.06);
}

.mobile-menu__group summary {
  padding: 0.7rem 0;
  font-family: Jost, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid rgba(17, 18, 20, 0.06);
}

.mobile-menu__group summary::-webkit-details-marker {
  display: none;
}

.mobile-menu__group[open] summary {
  opacity: 0.5;
}

.mobile-menu__group > a {
  padding-left: 0.85rem;
  font-size: 0.62rem;
  opacity: 0.85;
}

.mobile-menu .site-header__link--glass {
  -webkit-text-fill-color: transparent;
}

.font-sans,
.text-label {
  font-family: Jost, sans-serif;
}

.text-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
}

.text-body {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 300;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

.custom-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(17, 18, 20, 0.3);
  border-radius: 0;
  padding: 0.75rem 0;
  width: 100%;
  font-family: Jost, sans-serif;
  font-size: 0.85rem;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

.custom-input:focus {
  outline: none;
  border-bottom-color: var(--text-dark);
}

.custom-input::placeholder {
  color: rgba(17, 18, 20, 0.5);
  font-weight: 300;
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--primary);
}
::-webkit-scrollbar-thumb {
  background: #333;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@keyframes cinematic-drift {
  0% {
    transform: scale(1.05) translate(0%, 0%);
  }
  50% {
    transform: scale(1.12) translate(-1.5%, 1%);
  }
  100% {
    transform: scale(1.05) translate(0%, 0%);
  }
}

.animate-cinematic-drift {
  animation: cinematic-drift 28s ease-in-out infinite;
}

.gallery-head {
  width: 100%;
}

.gallery-filters-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
  width: 100%;
  max-width: none;
}

.gallery-section .gallery-filter {
  color: rgba(236, 234, 230, 0.55);
  border: 1px solid transparent;
  padding: 0.55rem 0.85rem;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.gallery-section .gallery-filter:hover {
  color: #eceae6;
  border-color: rgba(236, 234, 230, 0.2);
}

.gallery-filter.is-active {
  border-color: #eceae6 !important;
  color: #0c0d0f !important;
  background: #eceae6;
}

/* „Dostępne od ręki” — zawsze wyróżnione (2. po Wszystkie) */
.gallery-section .gallery-filter--ready {
  color: #d4a84b;
  border: 1px solid rgba(212, 168, 75, 0.65);
  background: rgba(212, 168, 75, 0.12);
}

.gallery-section .gallery-filter--ready:hover {
  color: #0c0d0f;
  background: #d4a84b;
  border-color: #d4a84b;
}

.gallery-section .gallery-filter--ready.is-active {
  color: #0c0d0f !important;
  background: #d4a84b !important;
  border-color: #d4a84b !important;
}

/* Siatka ala witraż — mniejsze kafle, żeby widać było całą pracę */
.gallery-masonry.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(6.5rem, 24vw);
  grid-auto-flow: dense;
  gap: 5px;
  background: #0c0d0f;
  padding: 0;
}

@media (min-width: 768px) {
  .gallery-masonry.gallery-mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(7rem, 11vw);
    gap: 6px;
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .gallery-masonry.gallery-mosaic {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: minmax(7.5rem, 9vw);
    gap: 6px;
    padding: 0;
  }
}

.gallery-masonry .gallery-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  min-height: 0;
  height: 100%;
  width: 100%;
  position: relative;
  transition:
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.35s ease;
}

.gallery-mosaic .gallery-item[data-tile="sm"] {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-mosaic .gallery-item[data-tile="wide"] {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-mosaic .gallery-item[data-tile="tall"] {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-mosaic .gallery-item[data-tile="lg"] {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 767px) {
  /* Mobile: równa siatka 2 kolumny (bez wysokich/szerokich kafli) */
  .gallery-masonry.gallery-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(6.5rem, 44vw);
    gap: 4px;
  }

  .gallery-mosaic .gallery-item[data-tile],
  .gallery-mosaic .gallery-item[data-tile="lg"],
  .gallery-mosaic .gallery-item[data-tile="wide"],
  .gallery-mosaic .gallery-item[data-tile="tall"],
  .gallery-mosaic .gallery-item[data-tile="sm"] {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .gallery-filters-chips {
    display: none !important;
  }

  .gallery-more-wrap {
    display: none !important;
  }

  .gallery-fade {
    height: 100px;
  }
}

@media (min-width: 768px) {
  .gallery-cat-select-wrap {
    display: none !important;
  }
}

/* Select kategorii — mobile */
.gallery-cat-select-wrap {
  width: 100%;
  max-width: 22rem;
}

.gallery-cat-select__label {
  display: block;
  font-family: Jost, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236, 234, 230, 0.45);
  margin-bottom: 0.55rem;
}

.gallery-cat-select__control {
  position: relative;
}

.gallery-cat-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: rgba(236, 234, 230, 0.06);
  border: 1px solid rgba(236, 234, 230, 0.22);
  color: #eceae6;
  font-family: Jost, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  border-radius: 0;
  cursor: pointer;
}

.gallery-cat-select:focus {
  outline: none;
  border-color: rgba(212, 168, 75, 0.65);
}

.gallery-cat-select option {
  background: #111214;
  color: #eceae6;
}

.gallery-cat-select__icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  opacity: 0.55;
  pointer-events: none;
}

/* Lekkie wielokąty — spoiwo cynowe */
.gallery-mosaic .gallery-item[data-shape="1"] {
  clip-path: polygon(4% 0%, 100% 3%, 96% 100%, 0% 97%);
}

.gallery-mosaic .gallery-item[data-shape="2"] {
  clip-path: polygon(0% 5%, 97% 0%, 100% 94%, 3% 100%);
}

.gallery-mosaic .gallery-item[data-shape="3"] {
  clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 96%);
}

.gallery-mosaic .gallery-item[data-shape="4"] {
  clip-path: polygon(0% 0%, 96% 2%, 100% 100%, 4% 98%);
}

.gallery-mosaic .gallery-item[data-shape="5"] {
  clip-path: polygon(5% 2%, 100% 0%, 95% 98%, 0% 100%);
}

.gallery-mosaic .gallery-item[data-shape="6"] {
  clip-path: polygon(0% 3%, 100% 0%, 97% 100%, 2% 95%);
}

.gallery-mosaic .gallery-item__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  /* unikaj rozmycia przy skalowaniu */
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease,
    filter 0.45s ease;
}

.gallery-mosaic .gallery-item:hover .gallery-item__img,
.gallery-mosaic .gallery-item:focus-visible .gallery-item__img {
  opacity: 1;
  transform: scale(1.02);
  filter: brightness(1.04);
}

.gallery-mosaic .gallery-item__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem 0.85rem 0.85rem;
  background: linear-gradient(
    to top,
    rgba(5, 5, 6, 0.88) 0%,
    rgba(5, 5, 6, 0.35) 55%,
    transparent 100%
  );
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-mosaic .gallery-item:hover .gallery-item__caption,
.gallery-mosaic .gallery-item:focus-visible .gallery-item__caption {
  opacity: 1;
}

.gallery-masonry .gallery-item.is-leaving {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  filter: blur(2px);
  pointer-events: none;
}

.gallery-masonry .gallery-item.is-entering {
  opacity: 0;
  transform: translateY(24px) scale(0.94);
}

.gallery-masonry .gallery-item.is-hidden,
.gallery-masonry .gallery-item.is-collapsed {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-mosaic .gallery-item,
  .gallery-mosaic .gallery-item__img {
    transition: none;
  }

  .gallery-mosaic .gallery-item:hover .gallery-item__img {
    transform: none;
  }
}

.gallery-wrap {
  position: relative;
  padding-bottom: 5rem;
}

.gallery-wrap.is-limited {
  overflow: hidden;
}

.gallery-wrap.is-expanded {
  overflow: visible;
  max-height: none !important;
  padding-bottom: 1rem;
}

.gallery-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(12, 13, 15, 0) 0%,
    rgba(12, 13, 15, 0.5) 40%,
    rgba(12, 13, 15, 0.92) 78%,
    #0c0d0f 100%
  );
}

.gallery-fade.is-off {
  display: none;
}

.gallery-more-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  z-index: 6;
}

.gallery-more-wrap.hidden {
  display: none !important;
}

.gallery-masonry .gallery-item img,
.gallery-masonry .gallery-item__img {
  width: 100%;
  height: 100%;
  display: block;
}

.gallery-masonry .gallery-item img.is-loading,
.gallery-masonry .gallery-item__img.is-loading {
  opacity: 0.35;
  filter: blur(2px);
}

.gallery-loader {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: min(22vh, 180px);
  gap: 1rem;
  background: rgba(12, 13, 15, 0.78);
  backdrop-filter: blur(3px);
  pointer-events: none;
  min-height: 16rem;
}

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

.gallery-loader__spin {
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid rgba(236, 234, 230, 0.2);
  border-top-color: #eceae6;
  border-radius: 50%;
  animation: gallery-spin 0.7s linear infinite;
}

.gallery-loader__text {
  font-family: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(236, 234, 230, 0.75);
}

@keyframes gallery-spin {
  to {
    transform: rotate(360deg);
  }
}

.gallery-wrap.is-busy .gallery-masonry {
  pointer-events: none;
}

/* About — pełny wymiar + nieregularna maska */
.about-portrait {
	max-width: 32rem;
	margin-inline: auto;
}

@media (min-width: 1024px) {
	.about-portrait {
		max-width: min(100%, 38rem);
		margin-inline: 0;
	}
}

.about-portrait__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: center top;
	background: transparent;
	/* organiczna maska — lekko nieregularny „wycinek” */
	clip-path: polygon(
		6% 0%,
		88% 2%,
		100% 14%,
		98% 42%,
		100% 72%,
		92% 96%,
		58% 100%,
		18% 97%,
		0% 82%,
		2% 38%,
		0% 12%
	);
	-webkit-clip-path: polygon(
		6% 0%,
		88% 2%,
		100% 14%,
		98% 42%,
		100% 72%,
		92% 96%,
		58% 100%,
		18% 97%,
		0% 82%,
		2% 38%,
		0% 12%
	);
}

/* Blog — wyróżniony post: nie rozciągaj małego oryginału */
.journal-featured-media {
	margin-bottom: 2rem;
	overflow: hidden;
	background: transparent;
	max-width: 42rem;
}

.journal-featured-img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	object-position: left center;
}

/* Sekcja warsztat — mozaika jak galeria: duże lewo + 2 małe prawo, spoiwo cynowe */
.workshop-mosaic {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  width: 100%;
  height: min(46vh, 24rem);
  background: #eceae6;
  padding: 5px;
}

@media (min-width: 768px) {
  .workshop-mosaic {
    gap: 6px;
    padding: 6px;
    height: min(50vh, 28rem);
  }
}

@media (min-width: 1280px) {
  .workshop-mosaic {
    height: min(52vh, 30rem);
  }
}

.workshop-mosaic__tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 0;
  background: #ddd9d2;
}

.workshop-mosaic__tile--lg {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.workshop-mosaic__tile--sm {
  grid-column: 2;
}

.workshop-mosaic__tile[data-shape="1"] {
  clip-path: polygon(3% 0%, 100% 2%, 97% 100%, 0% 98%);
}

.workshop-mosaic__tile[data-shape="3"] {
  clip-path: polygon(0% 0%, 100% 3%, 97% 100%, 2% 97%);
}

.workshop-mosaic__tile[data-shape="5"] {
  clip-path: polygon(2% 2%, 100% 0%, 98% 100%, 0% 97%);
}

.workshop-mosaic__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.94;
  transform: none !important;
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease,
    filter 0.45s ease;
}

.workshop-mosaic__tile--lg .workshop-mosaic__img {
  object-position: center 30%;
}

.workshop-mosaic__tile:hover .workshop-mosaic__img {
  opacity: 1;
  transform: scale(1.02) !important;
  filter: brightness(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .workshop-mosaic__img,
  .workshop-mosaic__tile:hover .workshop-mosaic__img {
    transition: none;
    transform: none !important;
  }
}

/* Nawigacja kategorii galerii */
.cat-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 2.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .cat-nav {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 3rem;
  }
}

.cat-nav__btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(236, 234, 230, 0.16);
  color: #eceae6;
  text-decoration: none;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.cat-nav__btn:hover {
  border-color: rgba(212, 168, 75, 0.55);
  background: rgba(212, 168, 75, 0.06);
}

.cat-nav__btn--next {
  justify-content: flex-end;
  text-align: right;
}

.cat-nav__label {
  display: block;
  font-family: Jost, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 234, 230, 0.45);
  margin-bottom: 0.2rem;
}

.cat-nav__name {
  display: block;
  font-size: 0.95rem;
  line-height: 1.25;
}

.cat-nav__dir {
  opacity: 0.55;
  font-size: 0.85rem;
}

.cat-nav__all {
  justify-self: center;
  font-family: Jost, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 234, 230, 0.5);
  text-decoration: none;
  border-bottom: 1px solid rgba(236, 234, 230, 0.22);
  padding-bottom: 0.15rem;
}

.cat-nav__all:hover {
  color: #eceae6;
  border-color: rgba(236, 234, 230, 0.55);
}

.archive-mosaic {
  width: 100%;
}

.archive-mosaic .gallery-item__cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  font-family: Jost, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #eceae6;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.archive-mosaic .gallery-item:hover .gallery-item__cap {
  opacity: 1;
}

/* O mnie — dyplom / duo */
.about-diploma__img,
.about-duo__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.about-diploma,
.about-duo {
  background: #111214;
  overflow: hidden;
}

.about-diploma__links a {
  text-decoration: none;
}

/* Archiwum bloga */
.blog-archive__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem 2rem;
}

@media (min-width: 768px) {
	.blog-archive__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 3rem 2.5rem;
	}
}

.blog-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.blog-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #ddd9d2;
	margin-bottom: 1.25rem;
}

.blog-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.7s ease, opacity 0.4s ease;
}

.blog-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #ddd9d2, #cfc9be);
}

.blog-card__link:hover .blog-card__img {
	transform: scale(1.04);
	opacity: 0.92;
}

.blog-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
	margin-bottom: 0.65rem;
}

.blog-card__dot {
	width: 0.25rem;
	height: 0.25rem;
	border-radius: 999px;
	background: rgba(17, 18, 20, 0.28);
}

.blog-card__title {
	font-size: clamp(1.45rem, 2.2vw, 1.85rem);
	line-height: 1.2;
	margin: 0 0 0.7rem;
	transition: opacity 0.3s ease;
}

.blog-card__link:hover .blog-card__title {
	opacity: 0.7;
}

.blog-card__excerpt {
	font-family: Jost, sans-serif;
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(17, 18, 20, 0.62);
	margin: 0 0 1rem;
	max-width: 36rem;
}

.blog-card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
}

.blog-card__more i {
	opacity: 0.65;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.blog-card__link:hover .blog-card__more i {
	opacity: 1;
	transform: translateX(0.35rem);
}

.blog-archive__nav {
	margin-top: 3.5rem;
	display: flex;
	justify-content: center;
}

.blog-archive__nav .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem 0.75rem;
	font-family: Jost, sans-serif;
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.blog-archive__nav .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.55rem;
	color: rgba(17, 18, 20, 0.55);
	text-decoration: none;
	border: 1px solid transparent;
	transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.blog-archive__nav a.page-numbers:hover {
	color: #111214;
	border-color: rgba(17, 18, 20, 0.2);
}

.blog-archive__nav .page-numbers.current {
	color: #111214;
	border-color: #111214;
	background: #fff;
}

/* Contact — tło: inny witraż niż hero + delikatne spoiwo */
.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.contact-bg__img {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: 58% 42%;
  opacity: 0.55;
  filter: saturate(1.15) contrast(1.05) brightness(1.15);
  animation: contact-glass-drift 36s ease-in-out infinite alternate;
}

@keyframes contact-glass-drift {
  0% {
    transform: scale(1.06) translate(0%, 0%);
  }
  100% {
    transform: scale(1.12) translate(-2.5%, 1.5%);
  }
}

/* geometryczne spoiwo — inne niż organiczny hero */
.contact-bg__lead {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image:
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 46%,
      rgba(17, 18, 20, 0.35) 46.5%,
      rgba(17, 18, 20, 0.35) 47.5%,
      transparent 48%
    ),
    linear-gradient(
      62deg,
      transparent 0%,
      transparent 58%,
      rgba(17, 18, 20, 0.28) 58.4%,
      rgba(17, 18, 20, 0.28) 59.2%,
      transparent 59.6%
    ),
    linear-gradient(
      12deg,
      transparent 0%,
      transparent 32%,
      rgba(17, 18, 20, 0.25) 32.3%,
      rgba(17, 18, 20, 0.25) 33%,
      transparent 33.4%
    ),
    linear-gradient(
      -28deg,
      transparent 0%,
      transparent 71%,
      rgba(17, 18, 20, 0.22) 71.3%,
      rgba(17, 18, 20, 0.22) 72%,
      transparent 72.4%
    );
  background-size: 100% 100%;
}

.contact-bg__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 75% 85% at 72% 38%,
      rgba(255, 250, 235, 0.2) 0%,
      transparent 55%
    ),
    linear-gradient(
      115deg,
      rgba(236, 234, 230, 0.88) 0%,
      rgba(236, 234, 230, 0.72) 40%,
      rgba(236, 234, 230, 0.78) 70%,
      rgba(236, 234, 230, 0.9) 100%
    ),
    linear-gradient(
      to top,
      rgba(236, 234, 230, 0.85) 0%,
      transparent 40%,
      transparent 65%,
      rgba(236, 234, 230, 0.55) 100%
    );
}

@media (prefers-reduced-motion: reduce) {
  .contact-bg__img {
    animation: none;
  }
}

.contact-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 18, 20, 0.1);
  padding: 2rem 1.75rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(17, 18, 20, 0.06);
}

@media (min-width: 768px) {
  .contact-panel {
    padding: 2.75rem 2.5rem;
  }
}

.contact-aside {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 248, 235, 0.65) 45%,
    rgba(255, 255, 255, 0.7) 100%
  );
  border: 1px solid rgba(184, 134, 47, 0.28);
  padding: 2rem 1.75rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(17, 18, 20, 0.05);
}

@media (min-width: 768px) {
  .contact-aside {
    padding: 2.75rem 2.5rem;
  }
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-label {
  font-family: Jost, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 18, 20, 0.45);
}

.contact-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(17, 18, 20, 0.14);
  border-radius: 0;
  padding: 0.85rem 1rem;
  font-family: Jost, sans-serif;
  font-size: 0.9rem;
  color: #111214;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.contact-input:focus {
  outline: none;
  border-color: rgba(184, 134, 47, 0.75);
  background: #ffffff;
}

.contact-input--area {
  resize: vertical;
  min-height: 7rem;
}

.contact-input::placeholder {
  color: rgba(17, 18, 20, 0.35);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #111214;
  color: #eceae6;
  border: 0;
  padding: 0.95rem 1.4rem;
  font-family: Jost, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.contact-submit:hover {
  background: #d4a84b;
  color: #111214;
}

/* Wybrane prace — 2 rzędy, równe kąty spoiwa, bez nachodzenia */
.selected-slider {
  --sel-gap: 5px;
  --sel-pad: 20px;
  --sel-row-h: 92px;
  --sel-fade: #eceae6;
  --sel-lead: #eceae6;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .selected-slider {
    --sel-gap: 6px;
    --sel-pad: 40px;
    --sel-row-h: 104px;
  }
}

@media (min-width: 1200px) {
  .selected-slider {
    --sel-row-h: 112px;
  }
}

.selected-slider__stage {
  position: relative;
}

.selected-slider__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(5rem, 14vw, 10rem);
  z-index: 5;
  pointer-events: none;
}

.selected-side-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(17, 18, 20, 0.22);
  background: rgba(236, 234, 230, 0.88);
  color: #111214;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(17, 18, 20, 0.12);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.selected-side-btn--prev {
  left: clamp(0.5rem, 1.5vw, 1.25rem);
}

.selected-side-btn--next {
  right: clamp(0.5rem, 1.5vw, 1.25rem);
}

.selected-side-btn:hover {
  background: #111214;
  color: #eceae6;
  border-color: #111214;
}

.selected-side-btn:hover.selected-side-btn--prev,
.selected-side-btn:hover.selected-side-btn--next {
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .selected-side-btn {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 0.9rem;
  }
}

.selected-slider__fade--left {
  left: 0;
  background: linear-gradient(
    to right,
    var(--sel-fade) 0%,
    rgba(236, 234, 230, 0.96) 22%,
    rgba(236, 234, 230, 0.7) 48%,
    rgba(236, 234, 230, 0.28) 72%,
    rgba(236, 234, 230, 0) 100%
  );
}

.selected-slider__fade--right {
  right: 0;
  background: linear-gradient(
    to left,
    var(--sel-fade) 0%,
    rgba(236, 234, 230, 0.96) 22%,
    rgba(236, 234, 230, 0.7) 48%,
    rgba(236, 234, 230, 0.28) 72%,
    rgba(236, 234, 230, 0) 100%
  );
}

.selected-slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  width: 100%;
  touch-action: pan-x;
}

.selected-slider__viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.selected-slider__track {
  position: relative;
  display: block;
  width: max-content;
  max-width: none;
  min-height: calc(var(--sel-row-h) * 2 + var(--sel-gap));
  padding: 0;
  margin: 0;
  box-sizing: content-box;
  /* ołów między taflami */
  background: var(--sel-lead);
}

.selected-tile {
  position: absolute;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--sel-lead);
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  z-index: 1;
}

/* Równoległoboki / lekkie trapezy — ten sam kąt (~4%), bez obrotów i bez nachodzenia */
.selected-tile[data-shape="1"] {
  clip-path: polygon(3.5% 0%, 100% 0%, 96.5% 100%, 0% 100%);
  -webkit-clip-path: polygon(3.5% 0%, 100% 0%, 96.5% 100%, 0% 100%);
}

.selected-tile[data-shape="2"] {
  clip-path: polygon(0% 0%, 96.5% 0%, 100% 100%, 3.5% 100%);
  -webkit-clip-path: polygon(0% 0%, 96.5% 0%, 100% 100%, 3.5% 100%);
}

.selected-tile[data-shape="3"] {
  clip-path: polygon(0% 3%, 100% 0%, 100% 97%, 0% 100%);
  -webkit-clip-path: polygon(0% 3%, 100% 0%, 100% 97%, 0% 100%);
}

.selected-tile[data-shape="4"] {
  clip-path: polygon(0% 0%, 100% 3%, 100% 100%, 0% 97%);
  -webkit-clip-path: polygon(0% 0%, 100% 3%, 100% 100%, 0% 97%);
}

.selected-tile[data-shape="5"] {
  clip-path: polygon(3.5% 0%, 100% 0%, 96.5% 100%, 0% 100%);
  -webkit-clip-path: polygon(3.5% 0%, 100% 0%, 96.5% 100%, 0% 100%);
}

.selected-tile[data-shape="6"] {
  clip-path: polygon(0% 0%, 96.5% 0%, 100% 100%, 3.5% 100%);
  -webkit-clip-path: polygon(0% 0%, 96.5% 0%, 100% 100%, 3.5% 100%);
}

.selected-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
  opacity: 0.95;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease,
    filter 0.35s ease;
}

.selected-tile:hover img,
.selected-tile:focus-visible img {
  transform: scale(1.04);
  opacity: 1;
  filter: brightness(1.03);
}

.selected-tile__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.75rem;
  font-family: Jost, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #eceae6;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  text-align: left;
}

.selected-tile:hover .selected-tile__caption,
.selected-tile:focus-visible .selected-tile__caption {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .selected-tile:hover img,
  .selected-tile:focus-visible img {
    transform: none;
  }
}

.selected-nav-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(17, 18, 20, 0.2);
  background: transparent;
  color: #111214;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.selected-nav-btn:hover {
  background: #111214;
  color: #eceae6;
  border-color: #111214;
}

/* Single post — biała karta na beżowym tle */
.single-post__article {
  background: #ffffff;
  padding: 2rem 1.5rem 2.25rem;
  box-shadow: 0 1px 0 rgba(17, 18, 20, 0.04);
}

@media (min-width: 768px) {
  .single-post__article {
    padding: 2.75rem 3rem 3rem;
  }
}

.single-post__head {
  margin-bottom: 1.75rem;
}

.single-post__hero {
  margin: 0 0 1.75rem;
  text-align: center;
  background: #f4f2ee;
}

.single-post__hero-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.single-post__back {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(17, 18, 20, 0.08);
}

/* Single post content + in-post gallery */
.entry-content {
  font-size: 1.15rem;
  line-height: 1.7;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  cursor: zoom-in;
  object-fit: contain;
}

.entry-content a img {
  transition: opacity 0.3s ease;
}

.entry-content a:hover img,
.entry-content .gallery-item:hover img,
.entry-content .blocks-gallery-item:hover img {
  opacity: 0.9;
}

.entry-content .gallery,
.entry-content .wp-block-gallery,
.entry-content ul.wp-block-gallery {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem 1.25rem;
  margin: 2rem 0;
  list-style: none !important;
  padding: 0 !important;
  width: 100%;
  background: transparent;
}

.entry-content .gallery-item,
.entry-content .blocks-gallery-item,
.entry-content .wp-block-image,
.entry-content .gallery .gallery-icon {
  margin: 0 !important;
  width: auto !important;
  max-width: 100%;
  float: none !important;
  background: transparent;
  aspect-ratio: auto;
  overflow: visible;
}

.entry-content .gallery-item a,
.entry-content .blocks-gallery-item a,
.entry-content .gallery-icon a {
  display: inline-block;
  width: auto;
  height: auto;
}

.entry-content .gallery-item img,
.entry-content .blocks-gallery-item img,
.entry-content .gallery-icon img {
  width: auto;
  height: auto;
  max-width: min(100%, 280px);
  max-height: 280px;
  object-fit: contain;
  margin: 0 auto;
}

.entry-content figcaption,
.entry-content .gallery-caption,
.entry-content .wp-element-caption {
  font-family: Jost, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 18, 20, 0.5);
  margin-top: 0.45rem;
  text-align: center;
  position: static;
  background: none;
  padding: 0;
}

.entry-content p {
  margin-bottom: 1.1rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  margin: 1.75rem 0 0.85rem;
  line-height: 1.2;
}

.entry-content > .aligncenter,
.entry-content .wp-block-image.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.entry-content .wp-block-image img {
  margin: 1.5rem auto;
}

/* Lightbox */
.witrazeria-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 13, 15, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.witrazeria-lightbox[hidden] {
  display: none !important;
}

.witrazeria-lightbox__figure {
  margin: 0;
  max-width: min(92vw, 1100px);
  max-height: 85vh;
  text-align: center;
}

.witrazeria-lightbox__figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.witrazeria-lightbox__caption {
  margin-top: 1rem;
  font-family: Jost, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #eceae6;
}

.witrazeria-lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(236, 234, 230, 0.25);
  background: transparent;
  color: #eceae6;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
}

.witrazeria-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(236, 234, 230, 0.25);
  background: transparent;
  color: #eceae6;
  cursor: pointer;
  z-index: 2;
}

.witrazeria-lightbox__nav--prev {
  left: 1rem;
}

.witrazeria-lightbox__nav--next {
  right: 1rem;
}

@media (min-width: 768px) {
  .witrazeria-lightbox__nav--prev {
    left: 2rem;
  }
  .witrazeria-lightbox__nav--next {
    right: 2rem;
  }
}

body.lightbox-open {
  overflow: hidden;
}

/* About teaser — homepage */
.about-teaser__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.about-teaser__points li {
  font-family: Jost, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(236, 234, 230, 0.55);
  padding-left: 1rem;
  position: relative;
}

.about-teaser__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  background: #d4a84b;
}

.about-page__aside {
  border: 1px solid rgba(236, 234, 230, 0.12);
  padding: 1.75rem 1.5rem;
  background: rgba(236, 234, 230, 0.04);
}

/* Shop — Dostępne od ręki */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

@media (min-width: 1100px) {
  .shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shop-grid--gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.shop-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(17, 18, 20, 0.08);
  box-shadow: 0 10px 30px rgba(17, 18, 20, 0.05);
  overflow: hidden;
  height: 100%;
}

.shop-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #111214;
  overflow: hidden;
}

.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-card:hover .shop-card__media img {
  transform: scale(1.04);
}

.shop-card__media--link {
  display: block;
}

.shop-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  background: #d4a84b;
  color: #111214;
  font-family: Jost, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
}

.shop-card__body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.shop-card__body--compact {
  padding-top: 1rem;
  padding-bottom: 1.1rem;
}

.shop-card--compact .shop-card__footer {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.shop-card__eyebrow {
  font-family: Jost, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 18, 20, 0.45);
  margin-bottom: 0.45rem;
}

.shop-card__title {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.shop-card__title a {
  color: inherit;
  text-decoration: none;
}

.shop-card__title a:hover {
  color: #b8862f;
}

.shop-card__desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(17, 18, 20, 0.62);
  margin-bottom: 0.55rem;
  flex: 1;
}

.shop-card__meta {
  font-family: Jost, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(17, 18, 20, 0.42);
  margin-bottom: 1rem;
}

.shop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(17, 18, 20, 0.08);
}

.shop-card__footer:not(:has(.shop-card__price)) {
  justify-content: flex-end;
}

.shop-card__price {
  font-family: Jost, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.shop-card__price--soft {
  color: rgba(17, 18, 20, 0.45);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-card__cta {
  font-family: Jost, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111214;
  border-bottom: 1px solid rgba(17, 18, 20, 0.25);
  padding-bottom: 0.1rem;
  text-decoration: none;
}

.shop-card__cta:hover {
  border-color: #111214;
}

.shop-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #111214;
  color: #eceae6;
  font-family: Jost, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 1.35rem;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.shop-cta__btn:hover {
  background: #d4a84b;
  color: #111214;
}