:root {
  --bg-page: #f6f4ef;
  --bg-section: #f2ede5;
  --bg-card: #ffffff;
  --ink: #1c1a18;
  --muted: #6f665d;
  --accent: #6f7f66;
  --accent-strong: #5c6b55;
  --line: rgba(0, 0, 0, 0.06);
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  overflow-x: visible;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-page);
  color: var(--ink);
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  font-weight: 400;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
span {
  word-break: break-word;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
.brand-title,
.page-title,
.section-title,
.hero-title,
.card-title,
.detail-title,
.workshop-title,
.workshop-card__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 1280px;
  padding: 0 20px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow-x: hidden;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(12px);
}

.site-content > .container:not(:has(.gallery-filters-panel)) {
  overflow-x: hidden;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 88px;
}

.brand-block {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-size: 1.95rem;
  font-weight: 400;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.82;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px 24px;
  overflow-x: visible;
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link.active {
  color: var(--ink);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  z-index: 50;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.dropdown-root {
  position: relative;
  z-index: 999;
}

.dropdown-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  display: none;
  padding: 10px;
  padding-top: 10px;
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  z-index: 9999;
  max-width: 100vw;
  max-height: min(70vh, 520px);
  overflow-y: auto;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(111, 127, 102, 0.1);
  color: var(--accent-strong);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.active-lang {
  color: var(--accent-strong);
}

.site-main {
  padding: 40px 0 88px;
}

.site-content {
  display: grid;
  gap: 58px;
}

.section-block {
  background: transparent;
  border: none;
  border-radius: 24px;
  padding: 28px 40px 40px;
  box-shadow: none;
}

.page-intro {
  display: grid;
  gap: 12px;
}

.gallery-header-block {
  padding-top: 18px;
}

.page-intro-gallery {
  gap: 6px;
}

.page-intro-gallery .page-title {
  margin-bottom: 0;
  line-height: 0.88;
}

.page-title,
.section-title {
  margin: 0;
  font-size: clamp(2.6rem, 4.4vw, 4.15rem);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.03em;
}

:lang(ka) .page-title,
:lang(ka) .section-title {
  font-size: clamp(2.2rem, 3.5vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading {
  display: grid;
  gap: 6px;
}

.section-heading-split {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
}

.section-text {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.82;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button-secondary {
  background: var(--bg-card);
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover {
  background: rgba(111, 127, 102, 0.08);
  border-color: rgba(111, 127, 102, 0.18);
  color: var(--accent-strong);
}

.hero {
  margin-top: 4px;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 58vh;
  max-height: 720px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--bg-section);
}

.hero-stage * {
  max-width: 100%;
}

.hero-image,
.hero-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-placeholder {
  height: 100%;
  background: var(--bg-section);
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.58) 0%,
      rgba(0, 0, 0, 0.44) 24%,
      rgba(0, 0, 0, 0.22) 48%,
      rgba(0, 0, 0, 0.08) 68%,
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.04) 0%,
      rgba(0, 0, 0, 0.015) 42%,
      rgba(0, 0, 0, 0.12) 100%
    );
}

.hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  min-height: inherit;
  padding: clamp(28px, 4vw, 60px);
}

.hero .button {
  min-height: 38px;
  padding: 0 16px;
}

.hero-home {
  margin-top: 6px;
}

.hero-home .hero-stage {
  min-height: clamp(360px, 44vw, 500px);
  max-height: 540px;
  border-radius: 28px;
}

.hero-home .hero-image {
  z-index: 0;
  transform: scale(1.12);
  transform-origin: center center;
  object-position: center 48%;
  filter: saturate(0.92) contrast(0.94) brightness(0.98);
}

.hero-home .hero-overlay {
  z-index: 2;
  align-items: flex-start;
  padding:
    clamp(34px, 5vw, 76px)
    clamp(30px, 4.2vw, 62px)
    clamp(38px, 5vw, 72px)
    clamp(40px, 6vw, 92px);
}

.hero-home .hero-copy-inner {
  gap: 12px;
  max-width: 440px;
  padding: 4px 0;
  border: none;
  border-radius: 0;
  background: none;
  margin-top: clamp(18px, 3vw, 42px);
}

.hero-home .hero-title {
  max-width: 12ch;
  font-size: clamp(4.6rem, 7.4vw, 7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
}

:lang(ka) .hero-home .hero-title {
  max-width: 13ch;
  font-size: clamp(3.15rem, 5.2vw, 5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-home .hero-subtitle {
  max-width: 29ch;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(251, 247, 241, 0.92);
}

.hero-home .button {
  min-height: 44px;
  padding: 0 20px;
  margin-top: 18px;
}

.hero-home .hero-kicker {
  margin-bottom: 4px;
  color: rgba(251, 247, 241, 0.86);
}

.hero-home .button-primary {
  background: rgba(111, 127, 102, 1);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(18, 16, 14, 0.18);
}

.hero-home .button-primary:hover {
  background: var(--accent-strong);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 28px rgba(18, 16, 14, 0.22);
}

.hero-copy-inner {
  display: grid;
  gap: 16px;
  max-width: 440px;
  color: #fbf7f1;
}

.hero-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
}

.hero-title {
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 5.8rem);
  line-height: 0.86;
  font-weight: 400;
}

.hero-subtitle {
  margin: 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(251, 247, 241, 0.88);
}

.home-section {
  display: grid;
  gap: 32px;
}

.home-section.featured {
  gap: 24px;
}

.home-section.featured .section-heading {
  margin-bottom: 6px;
}

.home-section.featured .items-grid {
  grid-template-columns: repeat(3, 1fr);
}

.home-section.featured .card {
  padding: 12px;
}

.home-section.featured .card-media {
  aspect-ratio: 5 / 4;
}

.home-section.featured .card-meta {
  gap: 6px;
  padding-top: 8px;
}

.home-section + .home-section {
  margin-top: 0;
}

.home-section .section-heading > div {
  display: grid;
  gap: 8px;
}

.home-section .section-heading-split > div {
  display: grid;
  gap: 8px;
}

.home-section .section-title,
.home-workshops .section-title,
.home-sold-strip .section-title,
.home-booking .section-title {
  font-size: clamp(2.5rem, 4.1vw, 3.95rem);
  font-weight: 400;
  letter-spacing: -0.026em;
}

.home-section:not(.home-workshops):not(.home-sold-strip):not(.home-booking) .section-title {
  font-size: clamp(2.68rem, 4.35vw, 4.15rem);
}

.home-workshops,
.home-sold-strip,
.home-booking {
  position: relative;
}

.home-workshops .workshops-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-section .gallery-grid,
.home-section .items-grid,
.home-section .workshops-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-workshops .workshop-card {
  padding: 12px;
}

.home-workshops .workshop-card__media {
  min-height: 180px;
}

.home-workshops::before,
.home-sold-strip::before,
.home-booking::before {
  content: none;
}

.home-section .card-meta,
.home-workshop-copy {
  gap: 6px;
  padding-top: 10px;
  padding-bottom: 14px;
}

.home-section .card-title,
.home-workshop-copy .workshop-title {
  font-size: 1.18rem;
  line-height: 1.04;
}

.home-section .card-description,
.home-workshop-copy .workshop-description {
  font-size: 12px;
  line-height: 1.7;
}

.home-section .price,
.home-workshop-copy .workshop-price,
.card .price,
.home-workshop-card .workshop-price,
.detail-price {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-workshop-copy .workshop-price {
  margin-top: auto;
  padding-top: 4px;
}

.gallery-grid,
.items-grid,
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.gallery-grid-featured,
.gallery-grid-catalog,
.gallery-grid-archive,
.gallery-grid-archive-page {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.home-workshop-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  width: 100%;
  height: 100%;
  padding: 14px;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.home-workshop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
}

.home-workshop-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 220px;
  overflow: hidden;
  border-radius: 18px;
}

.card-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.card-link {
  display: grid;
  grid-template-rows: auto 1fr;
  row-gap: 22px;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.workshop-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.home-workshop-media .image-placeholder,
.sold-strip-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--bg-section);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-media img,
.card-img {
  border-radius: 0;
  transition: transform 0.38s ease;
}

.card:hover .card-img {
  transform: scale(1.03);
}

.card-archived {
  row-gap: 22px;
}

.card .image-placeholder {
  min-height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
}

.card-meta,
.home-workshop-copy {
  display: grid;
  align-content: start;
  height: 100%;
  gap: 10px;
  padding: 0 4px 0 2px;
}

.card-title {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.012em;
  display: -webkit-box;
  overflow: hidden;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-description,
.home-workshop-copy .workshop-description {
  margin: 0;
  color: rgba(111, 102, 93, 0.82);
  font-size: 12px;
  line-height: 1.74;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  opacity: 1;
}

.card-description {
  line-clamp: 2;
  -webkit-line-clamp: 2;
}

.home-workshop-copy .workshop-description {
  line-clamp: 3;
  -webkit-line-clamp: 3;
}

.card-subline {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 0;
}

.card-cta {
  display: block;
  margin-top: auto;
  padding: 10px 4px 0 2px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
  opacity: 0.72;
}

.card-cta.button-secondary,
.card-cta.button-secondary:hover {
  background: transparent;
  border: none;
  box-shadow: none;
}

.card-cta:hover {
  color: var(--accent-strong);
}

.card .price,
.home-workshop-card .workshop-price {
  color: rgba(28, 26, 24, 0.82);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.image-placeholder,
.no-image {
  display: grid;
  place-items: center;
  min-height: 280px;
  color: var(--muted);
  font-size: 14px;
  background: var(--bg-section);
}

.workshop-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 0.94;
  font-weight: 400;
}

.workshop-description {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.home-workshop-grid {
  display: grid;
  gap: 28px;
}

.home-workshop-card,
.workshop-card {
  text-decoration: none;
}

.home-workshop-card {
  gap: 8px;
  padding: 10px;
}

.home-workshop-media .workshop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  background: none;
}

.home-workshop-media .image-placeholder {
  border-radius: 18px;
  background: linear-gradient(180deg, #f2ece3 0%, #ebe2d5 100%);
}

.home-workshop-copy {
  gap: 6px;
  padding: 2px 2px 8px;
}

.home-workshop-media .image-placeholder {
  min-height: auto;
}

.home-sold-strip {
  display: grid;
  gap: 32px;
}

.home-sold-strip .section-heading-split > div {
  display: grid;
  gap: 8px;
}

.sold-strip-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sold-strip-item {
  display: grid;
  gap: 6px;
}

.sold-strip-image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
}

.sold-strip-image-wrapper .image-placeholder {
  min-height: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

.sold-strip-image {
  border-radius: 0;
}

.sold-strip-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}

.sold-strip-title {
  color: var(--ink);
  line-height: 1.38;
}

.sold-strip-status {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.78;
}

.home-booking {
  justify-items: center;
  padding-top: 18px;
}

.home-booking-inner {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 620px;
  text-align: center;
}

.home-booking-secondary {
  padding-top: 4px;
}

.gallery-layout {
  display: grid;
  gap: 34px;
}

.gallery-grid-catalog {
  width: min(100%, 1120px);
  margin: 0 auto;
  justify-self: center;
  align-self: start;
}

.gallery-filters-panel {
  position: sticky;
  top: 88px;
  z-index: 15;
  display: grid;
  gap: 20px;
  padding: 10px 0 10px;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg-page);
}

.site-content:has(.page-intro-archive) {
  gap: 24px;
}

.site-content:has(.page-intro-archive) .gallery-filters-panel {
  margin-top: 0;
  padding-top: 0;
}

.filters-group,
.filters-field {
  display: grid;
  gap: 10px;
  position: relative;
}

.filters-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}

.filter-title {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 96px;
  overflow-y: auto;
  padding-right: 6px;
}

.gallery-filters-panel.is-compact {
  gap: 8px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.gallery-filters-panel.is-compact .filter-title,
.gallery-filters-panel.is-compact .filter-help {
  display: none;
}

.gallery-filters-panel.is-compact .filters-group,
.gallery-filters-panel.is-compact .filters-field {
  gap: 6px;
}

.gallery-filters-panel.is-compact .filter-chip-group {
  gap: 6px;
  max-height: 28px;
  overflow: hidden;
}

.gallery-filters-panel.is-compact .filter-chip span {
  font-size: 11px;
}

.gallery-filters-panel.is-compact .filters-row {
  gap: 6px;
}

.gallery-filters-panel.is-compact .filter-search,
.gallery-filters-panel.is-compact .filter-select {
  height: 34px;
  min-height: 34px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.gallery-filters-panel.is-compact .filter-button,
.gallery-filters-panel.is-compact .filter-reset {
  height: 36px;
  min-height: 36px;
}

.filter-chip {
  position: relative;
}

.filter-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-chip input:checked + span {
  background: rgba(111, 127, 102, 0.12);
  border-color: rgba(111, 127, 102, 0.45);
  color: var(--ink);
  text-decoration: none;
}

.filter-help {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.filter-select,
.filter-search {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  background: #ebe6dd;
  color: #2a2a2a;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: all 0.2s ease;
}

.filter-select {
  position: static;
}

.filter-search::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.filter-select:focus,
.filter-search:focus {
  outline: none;
  border-color: rgba(111, 127, 102, 0.4);
  background: #f3efe7;
}

.filters-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.filter-button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
}

.filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

.workshop-grid {
  display: grid;
  gap: 22px;
}

.workshop-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 1px solid rgba(28, 26, 24, 0.06);
  border-radius: 24px;
  background: #fbf8f3;
  box-shadow: 0 4px 16px rgba(28, 26, 24, 0.035);
}

.workshop-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.workshop-card__media .workshop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #f2ece3 0%, #ebe2d5 100%);
}

.workshop-card__media .image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #f2ece3 0%, #ebe2d5 100%);
  color: rgba(111, 102, 93, 0.72);
  font-size: 13px;
}

.workshop-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-align: center;
}

.workshop-card__tag {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(210, 195, 173, 0.26);
  color: rgba(111, 102, 93, 0.84);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workshop-card__title {
  margin: 0;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.06;
  font-weight: 400;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.workshop-card__description {
  margin: 0;
  color: rgba(111, 102, 93, 0.86);
  max-width: 48ch;
  font-size: 13.5px;
  line-height: 1.78;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  -webkit-line-clamp: 3;
}

.workshop-card__meta {
  margin: 6px 0 0;
  color: rgba(111, 102, 93, 0.9);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-panel {
  display: grid;
  gap: 14px;
  max-width: 62ch;
  padding-top: 18px;
  border-top: none;
}

.about-layout {
  display: grid;
  max-width: 70ch;
  margin: 0 auto;
  justify-items: center;
  text-align: center;
}

.about-copy-card {
  display: grid;
  gap: 18px;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-intro-about {
  justify-items: center;
  text-align: center;
}

.archive-count,
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.03);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.archive-count {
  width: fit-content;
  min-height: 38px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-page {
  display: grid;
  gap: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.78fr);
  gap: 42px;
  align-items: start;
}

.detail-media-panel,
.detail-meta-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.main-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(28, 26, 24, 0.04);
}

.detail-main-image {
  display: block;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  cursor: zoom-in;
}

.media-stage {
  display: grid;
  min-height: 0;
}

.media-stage > * {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.media-stage > .active-media {
  opacity: 1;
  pointer-events: auto;
}

.media-stage-video {
  height: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: contain;
}

.detail-video {
  width: 100%;
  border-radius: var(--radius);
  border: 0;
  background: #161513;
  display: block;
}

.thumbnail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.media-selector {
  align-items: stretch;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
}

.media-thumb {
  position: relative;
  width: 78px;
  min-height: 78px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
  opacity: 0.78;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.media-thumb:hover,
.media-thumb.active-thumb {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(111, 127, 102, 0.36);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.media-thumb.active-thumb::after {
  content: "";
  position: absolute;
  inset: auto 10px 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.thumbnail {
  width: 78px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.video-thumb {
  display: grid;
  place-items: center;
  gap: 5px;
  align-content: center;
  background: linear-gradient(145deg, #24211d, #484238);
  color: #fff;
}

.video-thumb-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding-left: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  font-size: 13px;
  line-height: 1;
}

.video-thumb-label {
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.detail-meta-panel {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.detail-category {
  width: fit-content;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.82;
}

.detail-title {
  margin: 0;
  font-size: clamp(2rem, 2.45vw, 2.85rem);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: 0;
  max-width: 100%;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: break-word;
}

.detail-price,
.item-stock {
  margin: 0;
}

.detail-purchase-cta {
  display: grid;
  gap: 9px;
  padding: 8px 0 4px;
}

.detail-purchase-button {
  width: fit-content;
  min-width: min(100%, 230px);
}

.detail-purchase-cta p {
  max-width: 30ch;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.detail-description {
  color: var(--muted);
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.85;
}

.detail-neighbor-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.detail-neighbor-link {
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 14px 0;
  color: var(--ink);
}

.detail-neighbor-link-next {
  text-align: right;
  justify-items: end;
}

.detail-neighbor-kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-neighbor-title {
  max-width: 26ch;
  font-size: 1.25rem;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.detail-related-section {
  display: grid;
  gap: 28px;
}

.detail-related-section .section-heading {
  gap: 14px;
}

.detail-related-section .section-title {
  font-size: 3rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.detail-related-section .section-text {
  margin: 0;
  line-height: 1.65;
}

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

.workshop-detail-page {
  overflow-x: hidden;
}

.workshop-detail-page .detail-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.workshop-detail-page .detail-main-image {
  width: 100%;
  aspect-ratio: 5 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.workshop-detail-page .detail-media-panel {
  margin-bottom: 0;
}

.workshop-detail-page .detail-meta-panel {
  position: static;
  max-width: 720px;
}

.workshop-detail-page .detail-title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.05;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.workshop-detail-page .detail-description {
  max-width: 60ch;
  white-space: pre-line;
  overflow-wrap: break-word;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status.sold {
  background: transparent;
  color: var(--muted);
}

.status.available {
  background: transparent;
  color: var(--accent-strong);
}

.dimensions-box {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: none;
}

.dimensions-box h3 {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 500;
}

.dimensions-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dimensions-list li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.dimension-label {
  color: var(--muted);
  font-size: 14px;
}

.dimension-value {
  font-size: 14px;
  font-weight: 700;
}

.dimension-unit {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.page-link {
  min-width: 42px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-link:hover {
  color: var(--ink);
}

.page-link.is-active {
  background: rgba(111, 127, 102, 0.1);
  color: var(--accent-strong);
}

.page-link.is-disabled {
  opacity: 0.5;
}

.image-viewer {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 16, 14, 0.92);
  z-index: 9999;
}

.viewer-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 40px;
}

.viewer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.viewer-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

#viewerImage {
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  transition: transform 0.1s ease;
  cursor: grab;
}

#viewerImage:active {
  cursor: grabbing;
}

@media (max-width: 1100px) {
  .gallery-grid,
  .items-grid,
  .workshops-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .sold-strip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-meta-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .site-main {
    padding: 32px 0 72px;
  }

  .site-content {
    gap: 72px;
  }

  .section-block {
    padding: 32px;
  }

  .header-inner,
  .header-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    align-items: stretch;
  }

  .header-inner {
    padding: 18px 0 20px;
  }

  .main-nav {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    gap: 10px 16px;
    overflow-x: visible;
  }

  .section-heading-split,
  .filters-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .gallery-grid-featured,
  .gallery-grid-catalog,
  .gallery-grid-archive,
  .gallery-grid-archive-page,
  .workshop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-workshop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stage {
    min-height: 52vh;
  }

  .hero-home .hero-stage {
    min-height: 420px;
  }

  .hero-home .hero-image {
    transform: scale(1.18);
    object-position: center 46%;
  }

  .hero-home .hero-overlay {
    padding: 28px;
  }

  .hero-home .hero-copy-inner {
    max-width: 380px;
    padding: 2px 0;
    margin-top: 10px;
  }

  .hero-overlay {
    align-items: flex-end;
  }
}

@media (max-width: 768px) {
  .dropdown-menu {
    left: 0;
    right: 0;
    width: 100%;
  }

  .gallery-filters-panel {
    top: 156px;
    z-index: 15;
    background: var(--bg-page);
    padding: 12px 0 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 16px 16px;
  }

  .gallery-filters-panel + * {
    margin-top: 16px;
  }

  .filters-row {
    gap: 10px;
  }

  .filters-field-search {
    min-width: 0;
  }

  .filter-search {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
  }

  .filter-search,
  .filter-select {
    background: #f8f5f0;
    border: 1px solid var(--line);
    transition: all 0.2s ease;
  }

  .filter-search:focus,
  .filter-select:focus {
    outline: none;
    border-color: var(--accent);
    background: #ffffff;
  }

  .filter-button {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.2px;
  }

  .workshop-detail-page .detail-description {
    max-width: 100%;
  }

  .detail-title {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.12;
    max-width: 100%;
  }

  .workshop-detail-page .detail-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }
}

@media (min-width: 769px) {
  .dropdown-menu {
    width: 260px;
    left: auto;
    right: auto;
  }
}

@media (max-width: 620px) {
  .container {
    padding: 0 12px;
  }

  .site-content {
    gap: 56px;
  }

  .section-block {
    padding: 24px;
    border-radius: 20px;
  }

  .home-section.featured .items-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    width: 100%;
    max-width: none;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .home-section.featured .card {
    flex: 0 0 82%;
    padding: 10px;
    scroll-snap-align: start;
  }

  .home-section.featured .card-media {
    aspect-ratio: 4 / 3;
  }

  .home-section.featured .items-grid::-webkit-scrollbar {
    display: none;
  }

  .home-sold-strip .items-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .home-sold-strip .items-grid::-webkit-scrollbar {
    display: none;
  }

  .home-sold-strip .card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .home-sold-strip .card-media {
    aspect-ratio: 4 / 3;
  }

  .main-nav {
    gap: 12px 16px;
  }

  .gallery-grid,
  .items-grid,
  .workshops-grid {
    grid-template-columns: 1fr;
  }

  .home-workshops .workshops-grid {
    grid-template-columns: 1fr;
  }

  .gallery-filters-panel {
    gap: 16px;
    padding-bottom: 12px;
  }

  .filters-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .filter-button {
    width: 100%;
  }

  .sold-strip-row {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 46vh;
    border-radius: 18px;
  }

  .hero-home .hero-stage {
    min-height: 360px;
    border-radius: 22px;
  }

  .hero-overlay {
    padding: 24px;
  }

  .hero-home .hero-overlay {
    align-items: flex-end;
    padding: 18px;
  }

  .hero-home .hero-copy-inner {
    max-width: 100%;
    padding: 0;
    border-radius: 0;
  }

  .hero-home .hero-title {
    font-size: clamp(3.3rem, 11.5vw, 4.6rem);
    max-width: 8.2ch;
  }

  .hero-home .hero-subtitle {
    max-width: 26ch;
    font-size: 14px;
  }

  .thumbnail {
    width: 68px;
  }

  .detail-neighbor-nav {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .detail-neighbor-link,
  .detail-neighbor-link-next {
    min-height: auto;
    text-align: left;
    justify-items: start;
  }

  .detail-related-grid {
    grid-template-columns: 1fr;
  }
}
