/* ==========================================================================
   ATYURZHE — ТЮЛИ (TULLE / SHEER CURTAINS)
   Премиальная подача по эталону Togas в фирменной эстетике АтюрЖе
   ========================================================================== */

:root {
  --tulle-bg: #f9f9f8;
  --tulle-card-bg: #f5f4f0;
  --tulle-text: #1a1a1a;
  --tulle-muted: #707070;
  --tulle-border: #e8e6e1;
  --tulle-accent: #611b22;
  --tulle-accent-hover: #4a1319;
  --tulle-accent-soft: #f8edef;
  --tulle-accent-gold: #c5a47e;
  --tulle-black: #611b22;
}

/* Верхняя инфо-полоса в фирменном винном цвете АтюрЖе */
.togas-top-strip {
  background: #611b22;
  color: #fffaf2;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.togas-top-strip span { opacity: 0.85; }
.togas-top-strip strong { color: #fff; font-weight: 500; }

/* Хлебные крошки */
.breadcrumbs-bar {
  padding: 18px 0 10px;
  font-size: 12px;
  color: var(--tulle-muted);
}
.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumbs-list li { display: flex; align-items: center; gap: 10px; }
.breadcrumbs-list a {
  color: var(--tulle-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumbs-list a:hover { color: var(--tulle-accent); }
.breadcrumbs-list .sep { opacity: 0.45; font-size: 11px; }
.breadcrumbs-list .current { color: var(--tulle-text); font-weight: 500; }

/* Заголовок каталога */
.tulle-heading-section {
  text-align: center;
  padding: 24px 0 28px;
}
.tulle-page-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 34px;
  font-weight: 400;
  color: var(--tulle-text);
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.tulle-count {
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--tulle-muted);
}
.tulle-lead-note {
  font-size: 14px;
  color: var(--tulle-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Панель фильтров в стиле Togas */
.tulle-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 24px;
  border-top: 1px solid var(--tulle-border);
  border-bottom: 1px solid var(--tulle-border);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.tulle-filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tulle-filter-btn {
  background: transparent;
  border: 1px solid var(--tulle-border);
  border-radius: 2px;
  padding: 8px 14px;
  font-size: 13px;
  font-family: inherit;
  color: var(--tulle-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.tulle-filter-btn:hover {
  border-color: var(--tulle-black);
  background: #fff;
}
.tulle-filter-btn svg { width: 10px; height: 10px; opacity: 0.7; }
.tulle-sort-group {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tulle-sort-btn {
  background: transparent;
  border: none;
  font-size: 13px;
  font-family: inherit;
  color: var(--tulle-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}
.tulle-sort-btn svg { width: 12px; height: 12px; }

/* Каталог карточек — Сетка 3 колонки Togas */
.tulle-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
@media (max-width: 992px) {
  .tulle-catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .tulle-catalog-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Карточка товара в лаконичном стиле Togas: чистый фон, без лишних рамок */
.tulle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  transition: transform 0.25s ease;
}
.tulle-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

/* Контейнер изображения со сменой фото на Hover */
.tulle-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tulle-card-bg);
  text-decoration: none;
}
.tulle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}
.tulle-media .img-primary {
  opacity: 1;
}
.tulle-media .img-macro-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}
.tulle-card:hover .tulle-media .img-primary {
  opacity: 0;
  transform: scale(1.03);
}
.tulle-card:hover .tulle-media .img-macro-hover {
  opacity: 1;
  transform: scale(1.03);
}

.tulle-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(20, 20, 20, 0.82);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.25s ease;
}
.tulle-card:hover .tulle-badge {
  opacity: 1;
  transform: translateY(0);
}

.tulle-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  z-index: 2;
  transition: all 0.2s ease;
}
.tulle-wishlist-btn:hover {
  background: #fff;
  color: var(--tulle-accent);
  transform: scale(1.08);
}
.tulle-wishlist-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: fill 0.2s ease, stroke 0.2s ease; }
.tulle-wishlist-btn.active,
.tulle-wishlist-btn.is-active { background: #ffffff; color: var(--tulle-accent); }
.tulle-wishlist-btn.active svg,
.tulle-wishlist-btn.is-active svg { fill: var(--tulle-accent); stroke: var(--tulle-accent); }

/* Инфо-блок карточки — чистый минимализм Togas: только название, цвет/материал и цена */
.tulle-info {
  padding: 14px 2px 8px;
  display: flex;
  flex-direction: column;
}
.tulle-title {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 15px;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: 3px;
  transition: color 0.2s ease;
}
.tulle-title:hover {
  color: var(--tulle-accent);
}
.tulle-subtitle {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 13px;
  color: #707070;
  margin-bottom: 8px;
  line-height: 1.4;
  font-weight: 400;
}
.tulle-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
  padding-top: 0;
  border-top: none;
}
.tulle-price {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}
.tulle-price-prefix {
  font-size: 13px;
  font-weight: 400;
  color: #707070;
  margin-right: 2px;
}
.tulle-card-bag-btn {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.15s ease;
  line-height: 1;
}
.tulle-card-bag-btn:hover {
  color: var(--tulle-accent);
  transform: scale(1.15);
}
.tulle-card-bag-btn svg {
  display: block;
}

/* ==========================================================================
   ДЕТАЛЬНАЯ СТРАНИЦА ТЮЛЯ (TULLE-DETAIL) — СТИЛЬ TOGAS HAUTE COUTURE
   ========================================================================== */

.tulle-detail-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px 80px;
}
@media (max-width: 768px) {
  .tulle-detail-container { padding: 0 16px 60px; }
}

.tulle-detail-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1120px) {
  .tulle-detail-layout { grid-template-columns: 1fr 420px; gap: 36px; }
}
@media (max-width: 940px) {
  .tulle-detail-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* Левая колонка — галерея Togas */
.tulle-gallery-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tulle-hero-frame {
  position: relative;
  background: #f7f6f2;
  border: 1px solid var(--tulle-border);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.tulle-hero-frame {
  cursor: pointer;
}
.tulle-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.tulle-hero-frame:hover img {
  transform: scale(1.02);
}
.tulle-hero-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a2a2a;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: background 0.25s ease, color 0.25s ease;
  pointer-events: none;
}
.tulle-hero-frame:hover .tulle-hero-tag {
  background: var(--tulle-accent) !important;
  color: #fff !important;
}

/* Нижние 2 блока макро-деталей (сетка Togas 2 колонки) */
.tulle-detail-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 560px) {
  .tulle-detail-subgrid { grid-template-columns: 1fr; gap: 16px; }
}
.tulle-subcard {
  position: relative;
  background: #f7f6f2;
  border: 1px solid var(--tulle-border);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.tulle-subcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}
.tulle-subcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.tulle-subcard:hover img {
  transform: scale(1.04);
}
.tulle-subtag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: #2a2a2a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.tulle-subcard:hover .tulle-subtag {
  background: var(--tulle-accent) !important;
  color: #fff !important;
}

/* Правая колонка — характеристики и покупка */
.tulle-buy-panel {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
}
.tulle-detail-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--tulle-text);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}
.tulle-detail-sub {
  font-size: 14px;
  color: var(--tulle-muted);
  margin-bottom: 20px;
}
.tulle-detail-price {
  font-size: 26px;
  font-weight: 600;
  color: var(--tulle-accent);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

/* Переключатель цветов / свотчи */
.tulle-swatches-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--tulle-border);
}
.tulle-swatch-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--tulle-text);
  margin-bottom: 10px;
}
.tulle-swatch-label strong {
  font-weight: 600;
}
.tulle-swatches-row {
  display: flex;
  gap: 12px;
}
.tulle-swatch-item {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: all 0.2s ease;
  background: #fff;
  padding: 2px;
}
.tulle-swatch-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.tulle-swatch-item.active {
  border-color: var(--tulle-accent);
  box-shadow: 0 0 0 1px var(--tulle-accent);
}
.tulle-swatch-item:hover:not(.active) {
  border-color: #aaa;
}

/* Выбор размера Togas — одна строчка со стрелкой */
.togas-size-picker-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--tulle-border);
  border-bottom: 1px solid var(--tulle-border);
  margin-bottom: 24px;
  cursor: pointer;
  background: none;
  width: 100%;
  border-left: none;
  border-right: none;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.2s ease;
}
.togas-size-picker-trigger:hover {
  border-color: #1a1a1a;
}
.togas-size-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--tulle-text);
  letter-spacing: 0.01em;
}
.togas-size-arrow {
  color: #707070;
  transition: transform 0.2s ease, color 0.2s ease;
}
.togas-size-picker-trigger:hover .togas-size-arrow {
  color: #1a1a1a;
  transform: translateX(3px);
}

/* Кнопки покупки в фирменной винной палитре АтюрЖе (#611b22) */
.tulle-actions-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.tulle-btn-primary {
  background: var(--tulle-accent); /* Фирменный винный цвет АтюрЖе #611b22 */
  color: #fff;
  border: none;
  height: 52px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-shadow: 0 4px 14px rgba(97, 27, 34, 0.2);
}
.tulle-btn-primary:hover {
  background: var(--tulle-accent-hover); /* Более глубокий винный #4a1319 */
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(97, 27, 34, 0.3);
}
.tulle-btn-primary:active {
  transform: translateY(0);
}
.tulle-secondary-row {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 12px;
}
.tulle-btn-secondary {
  background: transparent;
  color: var(--tulle-accent);
  border: 1px solid var(--tulle-accent);
  height: 48px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tulle-btn-secondary:hover {
  background: var(--tulle-accent-soft);
  color: var(--tulle-accent-hover);
  border-color: var(--tulle-accent-hover);
}
.tulle-detail-wishlist-btn {
  width: 52px;
  height: 48px;
  background: #ffffff;
  border: 1px solid var(--tulle-accent);
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tulle-accent);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.tulle-detail-wishlist-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--tulle-accent);
  stroke-width: 1.6;
  transition: fill 0.2s ease, stroke 0.2s ease;
}
.tulle-detail-wishlist-btn:hover {
  background: #fdf8f8;
  color: var(--tulle-accent-hover, #4a1319);
  border-color: var(--tulle-accent-hover, #4a1319);
}
.tulle-detail-wishlist-btn:hover svg {
  stroke: var(--tulle-accent-hover, #4a1319);
}
/* Активное состояние (в избранном): кнопка остаётся со своим чистым фоном, заливается ТОЛЬКО иконка винным цветом как у Togas */
.tulle-detail-wishlist-btn.active,
.tulle-detail-wishlist-btn.is-active {
  background: #ffffff;
  border-color: var(--tulle-accent);
  color: var(--tulle-accent);
}
.tulle-detail-wishlist-btn.active svg,
.tulle-detail-wishlist-btn.is-active svg {
  fill: var(--tulle-accent);
  stroke: var(--tulle-accent);
}
.tulle-detail-wishlist-btn.active:hover,
.tulle-detail-wishlist-btn.is-active:hover {
  background: #fdf8f8;
  border-color: var(--tulle-accent-hover, #4a1319);
}
.tulle-detail-wishlist-btn.active:hover svg,
.tulle-detail-wishlist-btn.is-active:hover svg {
  fill: var(--tulle-accent-hover, #4a1319);
  stroke: var(--tulle-accent-hover, #4a1319);
}

/* Ссылка наличия в салонах */
.tulle-salon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #707070;
  text-decoration: underline;
  margin: 6px 0 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  transition: color 0.2s ease;
}
.tulle-salon-link:hover {
  color: #1a1a1a;
}
.tulle-table-size-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1a1a1a;
  text-decoration: underline;
  font-size: 13px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}
.tulle-table-size-link:hover {
  color: var(--tulle-accent);
}

/* Hover-эффект смены ракурса на фактуру ткани для карточек каталога */
.curtain-card:hover .card-photo-texture,
.card-open:hover .card-photo-texture {
  opacity: 1 !important;
}

/* Компактный минималистичный заголовок и цена карточки каталога без лишнего текста */
.curtain-card .card-meta {
  padding-top: 14px;
}
.curtain-card .card-title {
  margin-bottom: 6px;
  line-height: 1.25;
}
.curtain-card .card-price {
  margin-top: 6px;
}

/* Аккордеоны характеристик Togas-style */
.tulle-accordions {
  border-top: 1px solid var(--tulle-border);
}
.tulle-accordion-item {
  border-bottom: 1px solid var(--tulle-border);
}
.tulle-accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--tulle-text);
  cursor: pointer;
  font-family: inherit;
}
.tulle-accordion-header svg {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}
.tulle-accordion-item.open .tulle-accordion-header svg {
  transform: rotate(180deg);
}
.tulle-accordion-content {
  display: none;
  padding: 0 0 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #444;
}
.tulle-accordion-item.open .tulle-accordion-content {
  display: block;
}

.tulle-specs-table {
  width: 100%;
  border-collapse: collapse;
}
.tulle-specs-table tr {
  border-bottom: 1px solid #f2eee8;
}
.tulle-specs-table tr:last-child {
  border-bottom: none;
}
.tulle-specs-table td {
  padding: 10px 0;
  vertical-align: top;
}
.tulle-specs-table td:first-child {
  color: var(--tulle-muted);
  width: 42%;
}
.tulle-specs-table td:last-child {
  color: var(--tulle-text);
  font-weight: 400;
}

/* ==========================================================================
   ТОГАС ЛАЙТБОКС (ГАЛЕРЕЯ КРУПНЫМ ПЛАНОМ ДЛЯ ТЮЛЕЙ)
   ========================================================================== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-header {
  height: 64px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--tulle-border);
  flex-shrink: 0;
  background: #ffffff;
}

.lightbox-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 22px;
  color: var(--tulle-text);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.lightbox-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--tulle-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background-color: #f7f6f2;
  transform: rotate(90deg);
}

.lightbox-close svg {
  width: 26px;
  height: 26px;
}

.lightbox-body {
  flex: 1;
  display: grid;
  grid-template-columns: 104px 1fr;
  height: calc(100vh - 64px);
  overflow: hidden;
}

.lightbox-thumbs-col {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  border-right: 1px solid var(--tulle-border);
  background: #faf8f7;
}

.lightbox-thumb-item {
  width: 72px;
  height: 72px;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: #fff;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

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

.lightbox-thumb-item.is-active {
  border-color: var(--tulle-accent);
  box-shadow: 0 2px 10px rgba(97, 27, 34, 0.25);
}

.lightbox-thumb-item:hover:not(.is-active) {
  border-color: #d1c7c1;
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 80px;
  overflow: hidden;
  background: #ffffff;
}

.lightbox-img-wrapper {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--tulle-muted);
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--tulle-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--tulle-text);
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--tulle-accent);
  color: #fff;
  border-color: var(--tulle-accent);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-nav-btn.prev { left: 24px; }
.lightbox-nav-btn.next { right: 24px; }
.lightbox-nav-btn svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
  .lightbox-body { grid-template-columns: 1fr; }
  .lightbox-thumbs-col { display: none; }
  .lightbox-stage { padding: 20px; }
  .lightbox-nav-btn { width: 42px; height: 42px; }
  .lightbox-nav-btn.prev { left: 10px; }
  .lightbox-nav-btn.next { right: 10px; }
}

/* Фирменный винный подвал АтюрЖе (#611b22) */
.premium-footer {
  background: var(--tulle-accent) !important;
  color: #fffaf2 !important;
}
.premium-footer .premium-footer-wordmark {
  color: #ffffff !important;
}
.premium-footer .premium-footer-wordmark span {
  color: #e4b8a8 !important;
}
.premium-footer .premium-footer-heading {
  color: #e4b8a8 !important;
}
.premium-footer .premium-footer-link,
.premium-footer .premium-footer-phone,
.premium-footer .premium-footer-social {
  color: #f7e8e5 !important;
}
.premium-footer .premium-footer-link:hover,
.premium-footer .premium-footer-phone:hover,
.premium-footer .premium-footer-social:hover {
  color: #ffffff !important;
}
.premium-footer .premium-footer-social {
  border-color: rgba(255, 255, 255, 0.25) !important;
}
.premium-footer .premium-footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.15) !important;
  color: #dfc5bf !important;
}

/* Редакционный блок каталога тюлей (Эстетика Togas) */
.tulle-editorial {
  margin: 68px 0 76px;
  padding-top: 36px;
  border-top: 1px solid #e8e3df;
  color: #47413e;
  font-family: Inter, sans-serif;
  font-size: 15px;
  line-height: 1.85;
}
.tulle-editorial h2 {
  margin: 0 0 22px;
  color: #2d2422;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.3;
}
.tulle-editorial p { margin: 0 0 24px; max-width: 1100px; }
.tulle-editorial h3 { margin: 32px 0 14px; font-size: 17px; line-height: 1.5; font-weight: 500; color: #2d2422; }
.tulle-editorial ul { margin: 0 0 28px; padding-left: 20px; max-width: 1100px; }
.tulle-editorial li { padding-left: 4px; margin-bottom: 10px; }
.tulle-editorial strong { font-weight: 500; }
.tulle-editorial-details { display: flex; flex-direction: column; }
.tulle-editorial-details > summary {
  order: 2;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  color: #611b22;
  font-size: 13px;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.tulle-editorial-details > summary::-webkit-details-marker { display: none; }
.tulle-editorial-less, .tulle-editorial-details[open] .tulle-editorial-more { display: none; }
.tulle-editorial-details[open] .tulle-editorial-less { display: inline; }
.tulle-editorial-sign { width: 8px; height: 8px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); margin-top: -4px; }
.tulle-editorial-details[open] .tulle-editorial-sign { transform: rotate(225deg); margin-top: 4px; }
.tulle-editorial-link { display: inline-block; margin: 4px 0 24px; color: #611b22; font-size: 14px; text-underline-offset: 5px; }
.tulle-editorial summary:focus-visible, .tulle-editorial-link:focus-visible { outline: 2px solid #611b22; outline-offset: 6px; }
@media (max-width: 640px) {
  .tulle-editorial { margin: 44px 0 48px; padding-top: 28px; font-size: 14px; line-height: 1.8; }
  .tulle-editorial h2 { max-width: 340px; margin-bottom: 18px; }
  .tulle-editorial h3 { margin-top: 26px; font-size: 16px; }
}
