/* WORKSHOPS PAGE */

/* Noto Sans supplies Cyrillic and Japanese glyphs missing from the display fonts. */
.workshops-view {
  font-family: 'Noto Sans', sans-serif;
}

.workshops-view h1,
.workshops-view h2,
.workshops-view h3,
.workshops-view .workshop-link,
.workshops-view .workshop-shop-link,
.workshops-view .store-contact-links a {
  font-family: 'Anton', 'Noto Sans', sans-serif;
}

html:lang(ja) .workshops-view,
html:lang(ja) .workshops-view h1,
html:lang(ja) .workshops-view h2,
html:lang(ja) .workshops-view h3,
html:lang(ja) .workshops-view .workshop-link,
html:lang(ja) .workshops-view .workshop-shop-link,
html:lang(ja) .workshops-view .store-contact-links a {
  font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
}

.workshops-view {
  background: linear-gradient(135deg, #8b765b 0%, #a58c6c 52%, #c1a77d 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100vh;
  overflow-y: auto;
}

.workshops-view .app {
  flex: 1 0 auto;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.workshops-view .bg {
  position: fixed;
  inset: -24px;
  background-image:
    linear-gradient(to bottom, rgba(61, 43, 27, 0.48), rgba(73, 51, 29, 0.62)),
    var(--bg-image);
  filter: blur(1.5px) grayscale(0.42) sepia(0.3) saturate(0.78) contrast(1.02) brightness(0.9);
  transform: scale(1.02);
}

.workshops-view::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(49, 34, 21, 0.22), rgba(255, 239, 207, 0.12));
  pointer-events: none;
  z-index: 0;
}

.workshops-content {
  width: min(100%, 1100px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.workshops-institutions-link {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 16px;
  border: 1px solid #d5ad68;
  color: #fff1de;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.workshops-institutions-link:hover,
.workshops-institutions-link:focus-visible {
  background: #d5ad68;
  color: #161311;
}

.workshop-detail-open .workshops-content {
  z-index: 12000;
}

.workshop-copyright-notice {
  width: min(100%, 1100px);
  margin: 28px auto 12px;
  padding: 28px 32px;
  border: 1px solid rgba(255, 241, 222, 0.26);
  border-radius: 12px;
  background: rgba(18, 19, 20, 0.78);
  color: rgba(255, 241, 222, 0.86);
  font-style: italic;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  line-height: 1.6;
}

.workshop-copyright-notice h2 {
  margin: 0 0 18px;
  color: #fff1de;
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.8px;
}

.workshop-copyright-notice p {
  margin: 0 0 14px;
  font-size: 12px;
}

.workshop-copyright-notice strong {
  color: #fff1de;
}

.workshop-copyright-notice .workshop-copyright-warning {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid #d5ad68;
  background: rgba(213, 173, 104, 0.12);
}

.workshop-copyright-notice .workshop-copyright-footer {
  margin: 20px 0 0;
  color: #d5ad68;
  font-size: 13px;
  font-weight: 700;
}

.workshop-store-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  margin: 0 auto 4px;
  text-align: center;
}

.logo {
  margin: 0 auto;
}

.workshop-stamp-logo img {
  display: block;
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.store-location {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(100%, 760px);
  margin: 0 auto 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff1de;
  text-align: center;
  box-shadow: none;
}

.store-location strong {
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff1de;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 4px 8px rgba(0, 0, 0, 0.8), 0 10px 20px rgba(0, 0, 0, 0.9), 0 16px 32px rgba(0, 0, 0, 0.95), 0 24px 48px rgba(0, 0, 0, 0.9);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.85));
}

.store-location span {
  color: #fff1de;
  font-size: 15px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 4px 8px rgba(0, 0, 0, 0.8), 0 10px 20px rgba(0, 0, 0, 0.9), 0 16px 32px rgba(0, 0, 0, 0.95), 0 24px 48px rgba(0, 0, 0, 0.9);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.85));
}

.store-contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 2px;
}

.store-contact-links a {
  color: #fff1de;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 8px 18px rgba(0, 0, 0, 0.75);
}

.store-contact-links a:hover,
.store-contact-links a:focus-visible {
  color: #ffffff;
}

.store-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 34px;
  margin-top: 9px;
  padding: 7px 16px;
  border: 1px solid #b99a72;
  border-radius: 20px;
  background: linear-gradient(to bottom, #fffdf7 0%, #f2dfc0 48%, #b99a72 100%);
  color: #161311;
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

.store-map-link:hover,
.store-map-link:focus-visible {
  background: linear-gradient(to bottom, #ffffff 0%, #f7e8cf 48%, #c8aa82 100%);
}

.workshops-header {
  width: min(100%, 760px);
  text-align: center;
  margin: 0 0 16px;
  padding: 0 20px;
}

.workshops-header h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(42px, 10vw, 64px);
  letter-spacing: 2px;
  color: #161311;
  margin: 0 0 6px;
  -webkit-text-stroke: 2px rgba(255, 241, 222, 0.9);
  paint-order: stroke fill;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  line-height: 0.98;
}

.workshops-subtitle {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(16px, 4vw, 20px);
  color: #fff1de;
  letter-spacing: 0.5px;
  margin: 0;
  -webkit-text-stroke: 1px rgba(22, 19, 17, 0.75);
  paint-order: stroke fill;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.back-button {
  position: fixed;
  left: max(20px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: #fff1de;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.back-button:hover,
.back-button:focus-visible {
  color: #fff;
  transform: translateX(-3px);
}

.back-button span:first-child {
  font-size: 34px;
  line-height: 1;
}

/* FILTERS SECTION */
.workshops-layout {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: min(100%, 1180px);
  margin: 0 auto 30px;
  align-items: start;
}

.filters-toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0 0 28px;
  padding: 9px 28px;
  border: 1px solid #b99a72;
  border-radius: 20px;
  background: linear-gradient(to bottom, #fffdf7 0%, #f2dfc0 48%, #b99a72 100%);
  color: #161311;
  font-family: 'Arial Black', Verdana, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.filters-toggle:hover,
.filters-toggle:focus-visible {
  border-color: #9d7e52;
  background: linear-gradient(to bottom, #fffbf5 0%, #f5e4cc 48%, #b99a72 100%);
}

.filters-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.54);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.24s ease;
}

.filters-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.filters-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(86vw, 360px);
  margin: 0;
  padding: calc(22px + var(--safe-top)) 22px calc(22px + var(--safe-bottom));
  border: 2px solid rgba(255, 241, 222, 0.2);
  border-left: 0;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(135deg, rgba(17, 18, 20, 0.96), rgba(42, 44, 46, 0.92));
  box-shadow: 18px 0 42px rgba(0, 0, 0, 0.46), inset 0 0 0 1px rgba(255, 241, 222, 0.04);
  overflow-y: auto;
  transform: translateX(-105%);
  transition: transform 0.26s ease;
}

.filters-panel.open {
  transform: translateX(0);
}

.filters-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff1de;
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.72);
}

.filters-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 241, 222, 0.42);
  border-radius: 50%;
  background: rgba(255, 241, 222, 0.08);
  color: #fff1de;
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.filters-close:hover,
.filters-close:focus-visible {
  background: rgba(255, 241, 222, 0.18);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 8px;
}

.filter-group h3 {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #fff1de;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.filter-buttons {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}



.filter-btn {
  padding: 14px 28px;
  border: 1px solid #b99a72;
  border-radius: 20px;
  background: linear-gradient(to bottom, #fffdf7 0%, #f2dfc0 48%, #b99a72 100%);
  color: #161311;
  font-family: 'Arial Black', Verdana, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.filter-btn:hover {
  border-color: #9d7e52;
  background: linear-gradient(to bottom, #fffbf5 0%, #f5e4cc 48%, #b99a72 100%);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.filter-btn.active {
  background: linear-gradient(to bottom, #f2dfc0 0%, #d4bfa8 48%, #9d7e52 100%);
  border-color: #7d6e47;
  color: #3d3328;
}

/* WORKSHOPS GRID */
.workshops-main {
  width: 100%;
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  width: 100%;
  margin: 0;
  counter-reset: workshop;
}

.workshop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 5px double rgba(255, 241, 222, 0.9);
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(18, 19, 21, 0.84),
    rgba(42, 43, 45, 0.72)
  );
  box-shadow:
    0 0 0 2px rgba(18, 19, 21, 0.82),
    0 10px 26px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(185, 154, 114, 0.28);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  overflow: hidden;
  counter-increment: workshop;
}

.workshop-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

.workshop-image-container::after,
.workshop-detail-image-wrap::after,
.workshop-gallery-thumb::after {
  content: "";
  position: absolute;
  z-index: 1;
  background: url("../assets/pieczec-transparent%20mala.png") center / contain no-repeat;
  filter: sepia(1) saturate(0.9) contrast(1.15) brightness(0.62);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.workshop-image-container::after {
  right: 9px;
  bottom: 9px;
  width: 42px;
  height: 42px;
  opacity: 0.42;
}

.workshop-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  filter: sepia(0.15) brightness(0.95);
}

.workshop-card:hover .workshop-image {
  transform: scale(1.05);
}

.workshop-card:hover {
  border-color: rgba(255, 241, 222, 0.95);
  background: linear-gradient(
    135deg,
    rgba(210, 218, 224, 0.16),
    rgba(116, 122, 128, 0.1)
  );
  transform: translateY(-4px);
  box-shadow:
    0 0 0 2px rgba(18, 19, 21, 0.88),
    0 16px 34px rgba(0, 0, 0, 0.46),
    inset 0 0 0 1px rgba(185, 154, 114, 0.42);
}

.workshop-card.hidden {
  display: none;
}

.workshop-tags {
  display: flex;
  gap: 8px;
  margin: 12px 24px 0;
  flex-wrap: wrap;
}

.tag-age,
.tag-category {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.tag-age {
  background: rgba(100, 150, 200, 0.25);
  border: 1px solid rgba(100, 150, 200, 0.5);
  color: rgba(173, 216, 230, 0.95);
}

.tag-category.family {
  background: rgba(200, 100, 150, 0.25);
  border: 1px solid rgba(200, 100, 150, 0.5);
  color: rgba(255, 182, 193, 0.95);
}

.tag-category.group {
  background: rgba(100, 200, 100, 0.25);
  border: 1px solid rgba(100, 200, 100, 0.5);
  color: rgba(144, 238, 144, 0.95);
}

.tag-category.school {
  background: rgba(230, 166, 80, 0.25);
  border: 1px solid rgba(230, 166, 80, 0.5);
  color: rgba(255, 216, 154, 0.95);
}

.tag-category.preschool {
  background: rgba(122, 190, 210, 0.25);
  border: 1px solid rgba(122, 190, 210, 0.5);
  color: rgba(185, 236, 245, 0.95);
}

.tag-category.corporate {
  background: rgba(186, 150, 230, 0.25);
  border: 1px solid rgba(186, 150, 230, 0.5);
  color: rgba(224, 205, 255, 0.95);
}

.tag-category.themed {
  background: rgba(220, 205, 90, 0.22);
  border: 1px solid rgba(220, 205, 90, 0.5);
  color: rgba(255, 241, 155, 0.95);
}

.workshop-header {
  margin-bottom: 16px;
  padding: 12px 24px 0;
}

.workshop-header h2 {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #fff1de;
  margin: 0;
  line-height: 1.2;
}
.workshop-header h2::before {
  content: counter(workshop, decimal-leading-zero) " / ";
  color: #d5ad68;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  vertical-align: middle;
}
}

.workshop-body {
  flex: 1;
  margin-bottom: 20px;
  padding: 0 24px;
}

.workshop-body p {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 241, 222, 0.75);
  margin: 0 0 16px;
}

.workshop-info {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.workshop-duration,
.workshop-level {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 241, 222, 0.1);
  border: 1px solid rgba(255, 241, 222, 0.2);
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 241, 222, 0.8);
}

.workshop-postcards-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 24px 16px;
  margin-bottom: 8px;
}

.postcard-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 241, 222, 0.08);
  border: 1px solid rgba(255, 241, 222, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.postcard-item:hover {
  background: rgba(255, 241, 222, 0.12);
  border-color: rgba(255, 241, 222, 0.3);
  transform: translateY(-4px);
}

.postcard-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.postcard-label {
  width: 100%;
  padding: 6px 8px;
  margin: 0;
  background: rgba(0, 0, 0, 0.3);
  color: #fff1de;
  font-family: Georgia, serif;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.5px;
}

/* Modal Gallery */
.workshop-postcards-gallery-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 0 16px;
  margin: 16px 0;
}

.workshop-postcards-gallery-detail .postcard-item {
  background: rgba(255, 241, 222, 0.12);
  border: 1px solid rgba(255, 241, 222, 0.2);
}

.workshop-postcards-gallery-detail .postcard-item:hover {
  background: rgba(255, 241, 222, 0.18);
  border-color: rgba(255, 241, 222, 0.4);
}

.workshop-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding: 0 24px 24px;
}

.workshop-link {
  flex: 1;
  padding: 10px 18px;
  border: 2px solid rgba(255, 241, 222, 0.5);
  border-radius: 999px;
  background: rgba(22, 19, 17, 0.6);
  color: #fff1de;
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.workshop-link:hover,
.workshop-link:focus-visible {
  background: rgba(22, 19, 17, 0.9);
  border-color: #fff1de;
  color: #fff;
  transform: scale(1.05);
}

.workshop-shop-link {
  flex: 1.25;
  min-height: 48px;
  padding: 13px 22px;
  border: 2px solid rgba(100, 200, 100, 0.6);
  border-radius: 999px;
  background: rgba(100, 200, 100, 0.15);
  color: rgba(144, 238, 144, 0.95);
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workshop-shop-link:hover,
.workshop-shop-link:focus-visible {
  background: rgba(100, 200, 100, 0.3);
  border-color: rgba(144, 238, 144, 0.95);
  color: #fff;
  transform: scale(1.05);
}

.workshop-detail {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.workshop-detail[hidden] {
  display: none;
}

.workshop-detail.open {
  opacity: 1;
  pointer-events: auto;
}

.workshop-detail-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.workshop-detail-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  width: min(100%, 980px);
  max-height: min(760px, calc(100vh - 48px));
  border: 2px solid rgba(255, 241, 222, 0.38);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(16, 17, 19, 0.98), rgba(45, 47, 50, 0.94));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.62);
  overflow-y: auto;
  scrollbar-width: none;
}

.workshop-detail-card::-webkit-scrollbar {
  display: none;
}

.workshop-detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 241, 222, 0.65);
  border-radius: 50%;
  background: rgba(10, 8, 7, 0.96);
  color: #fff1de;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
}

.workshop-detail-image-wrap {
  display: flex;
  position: relative;
  flex-direction: column;
  min-height: 100%;
  background: rgba(0, 0, 0, 0.28);
}

.workshop-detail-image-wrap::after {
  top: 88px;
  right: 14px;
  width: 62px;
  height: 62px;
  opacity: 0.42;
}

.workshop-detail-image {
  display: block;
  width: 100%;
  flex: 1;
  height: min(58vh, 560px);
  min-height: 420px;
  object-fit: cover;
  filter: sepia(0.12) brightness(0.92);
  cursor: zoom-in;
}

.workshop-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.workshop-image-lightbox[hidden] {
  display: none;
}

.workshop-image-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.workshop-image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: zoom-out;
}

.workshop-image-lightbox-content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(100%, 1400px);
  max-height: calc(100vh - 48px);
}

.workshop-image-lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
}

.workshop-image-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 241, 222, 0.65);
  border-radius: 50%;
  background: rgba(10, 8, 7, 0.92);
  color: #fff1de;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.workshop-detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(255, 241, 222, 0.18);
  background: rgba(10, 8, 7, 0.88);
}

.workshop-gallery-thumb {
  position: relative;
  display: block;
  height: 64px;
  padding: 0;
  border: 2px solid rgba(255, 241, 222, 0.2);
  border-radius: 8px;
  background: rgba(255, 241, 222, 0.06);
  cursor: pointer;
  overflow: hidden;
}

.workshop-gallery-thumb::after {
  right: 4px;
  bottom: 4px;
  width: 22px;
  height: 22px;
  opacity: 0.48;
}

.workshop-gallery-thumb.active {
  border-color: #b99a72;
  box-shadow: 0 0 0 2px rgba(185, 154, 114, 0.28);
}

.workshop-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.12) brightness(0.9);
}

.workshop-detail-content {
  display: grid;
  gap: 18px;
  padding: 34px;
  overflow: visible;
}

.workshop-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-right: 36px;
}

.workshop-detail h2 {
  margin: 0;
  color: #fff1de;
  font-family: 'Anton', sans-serif;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.05;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.8);
}

.workshop-detail p {
  margin: 0;
  color: rgba(255, 241, 222, 0.84);
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.workshop-detail-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
}

.workshop-detail-grid section {
  padding: 16px;
  border: 1px solid rgba(255, 241, 222, 0.18);
  border-radius: 12px;
  background: rgba(255, 241, 222, 0.06);
}

.workshop-detail h3 {
  margin: 0 0 12px;
  color: #fff1de;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.workshop-detail-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.workshop-detail-info .workshop-price,
.workshop-detail-info .workshop-deposit {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 241, 222, 0.42);
  border-radius: 999px;
  color: #fff1de;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.workshop-detail-info .workshop-price {
  border-color: #d5ad68;
  background: #6d4823;
  color: #fffaf0;
}

.workshop-detail-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 241, 222, 0.8);
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.workshop-detail-grid .workshop-detail-program {
  position: relative;
  border: 4px double #77552f;
  background:
    radial-gradient(circle at top left, rgba(56, 34, 17, 0.42), transparent 31%),
    radial-gradient(circle at top right, rgba(56, 34, 17, 0.35), transparent 28%),
    radial-gradient(circle at bottom left, rgba(56, 34, 17, 0.34), transparent 29%),
    radial-gradient(circle at bottom right, rgba(56, 34, 17, 0.4), transparent 31%),
    linear-gradient(135deg, rgba(111, 75, 39, 0.15), transparent 42%),
    linear-gradient(315deg, rgba(121, 83, 45, 0.12), transparent 48%),
    linear-gradient(145deg, #f7e6c8, #e2bd88 52%, #f2d7ac);
  color: #161311;
  box-shadow: inset 0 0 0 2px rgba(255, 248, 233, 0.5), inset 0 0 22px rgba(83, 54, 27, 0.16), 0 8px 18px rgba(0, 0, 0, 0.22);
}

.workshop-program-seal {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 0;
  width: 64px;
  height: 64px;
  opacity: 0.42;
  filter: sepia(1) saturate(0.9) contrast(1.15) brightness(0.62);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.workshop-detail-program h3,
.workshop-detail-program .workshop-detail-list {
  position: relative;
  z-index: 1;
  color: #161311;
  font-family: Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.workshop-detail-program .workshop-detail-list {
  font-size: 15px;
  line-height: 1.6;
}

.workshop-detail-actions {
  display: flex;
  justify-content: flex-start;
}

.workshop-detail-actions .workshop-shop-link {
  flex: 0 1 240px;
}

.workshops-view .footer {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 2;
  flex-shrink: 0;
  margin-top: auto;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.48), transparent);
}

.footer-workshop-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 12px;
  margin: 8px auto 0;
  color: rgba(255, 241, 222, 0.82);
  font-style: normal;
  font-size: 11.5px;
  line-height: 1.35;
}

.footer-workshop-contact strong {
  color: #fff1de;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.footer-workshop-contact a {
  color: #fff1de;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.9;
}

.footer-workshop-contact a:hover,
.footer-workshop-contact a:focus-visible {
  opacity: 1;
  color: #ffffff;
}

/* MOBILE */
@media (max-width: 900px) {
  .workshops-layout {
    grid-template-columns: 1fr;
  }

  .filters-panel {
    width: min(88vw, 360px);
  }
}

@media (max-width: 768px) {
  .workshops-content {
    padding: 70px 16px 30px;
  }

  .workshops-header {
    margin-bottom: 30px;
  }

  .workshops-header h1 {
    margin-bottom: 8px;
  }

  .filters-section {
    padding: 20px;
    gap: 20px;
    margin: 24px 0;
  }

  .filter-group h3 {
    font-size: 16px;
  }

  .filter-buttons {
    gap: 12px;
    flex-wrap: wrap;
  }

  .filter-btn {
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    min-height: 40px;
  }

  .workshops-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .workshop-detail {
    padding: 12px;
  }

  .workshop-detail-card {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
  }

  .workshop-detail-image {
    min-height: 210px;
    max-height: 260px;
  }

  .workshop-detail-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
  }

  .workshop-gallery-thumb {
    height: 48px;
  }

  .workshop-detail-content {
    padding: 22px;
  }

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

@media (max-width: 480px) {
  .filter-group h3 {
    font-size: 15px;
  }

  .filter-buttons {
    gap: 10px;
  }

  .filter-btn {
    padding: 11px 18px;
    font-size: 12px;
    min-height: 38px;
    letter-spacing: 0.5px;
  }
}

  .workshop-card {
    padding: 0;
  }

  .workshop-image-container {
    height: 150px;
  }

  .workshop-header {
    padding: 12px 16px 0;
    margin-bottom: 10px;
  }

  .workshop-header h2 {
    font-size: 18px;
  }

  .workshop-tags {
    margin: 8px 16px 0;
  }

  .workshop-body {
    padding: 0 16px;
    margin-bottom: 12px;
  }

  .workshop-body p {
    font-size: 13px;
  }

  .workshop-actions {
    flex-direction: column;
    padding: 0 16px 16px;
  }

  .workshop-link,
  .workshop-shop-link {
    width: 100%;
  }
}
