/* ===== ФОНЫ ДЛЯ КАТЕГОРИЙ ===== */
/* Искусство для народа – тёмный, строгий, современный */
body.category-high_art {
  background-image: url("/static/img/backgrounds/high_art_royal.jpg");
  background-repeat: no-repeat;
  background-position: center center;
 /* background-attachment: fixed;*/
  background-size: cover;
}


/* Искусство для народа – тёмный, строгий, современный */
body.category-folk-art {
  background-image: url("/static/img/backgrounds/fffolk_art_dark.jpg");
  background-repeat: no-repeat;
  background-position: center center;
 /* background-attachment: fixed;*/
  background-size: cover;
}

/* Сувениры – тёмный современный */
body.category-souvenirs {
  background-image: url("/static/img/backgrounds/souvenirs_modern.jpg");
  background-repeat: no-repeat;
  background-position: center center;
 background-attachment: fixed;
  background-size: cover;
}

/* Книги – вид ватиканской библиотеки */
body.category-books {
  background-image: url("/static/img/backgrounds/books_vatican_library (3).jpg");
  background-repeat: no-repeat;
  background-position: center center;
  /*background-attachment: fixed;*/
  background-size: cover;
}

/* Разное – тёмный строгий фон */
body.category-other {
  background-image: url("/static/img/backgrounds/oother_dark.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  /*background-attachment: fixed;*/
  background-size: cover;
}

/* ===== КНОПКИ КАТЕГОРИЙ ===== */

.lot-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.lot-category-btn {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 128, 0.5);
  background: rgba(10, 7, 4, 0.8);
  color: #f6f2e9;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.lot-category-btn:hover {
  background: rgba(255, 215, 128, 0.18);
  border-color: rgba(255, 215, 128, 0.9);
  transform: translateY(-1px);
}

.lot-category-btn.active {
  background: rgba(255, 215, 128, 0.35);
  border-color: rgba(255, 215, 128, 1);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(255, 215, 128, 0.6);
}

/* подпись под строкой статусов */
.lot-filter-caption {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(246, 242, 233, 0.85);
  font-style: italic;
}

/* лёгкий всплеск вокруг статусов при смене категории */
.lot-filters.filters-highlight {
  box-shadow: 0 0 12px rgba(255, 215, 128, 0.9);
  border-radius: 999px;
}


/* ===================================================== */
/* ===================================================== */
/* ===================================================== */
/* В category.css добавьте: */

/* УПОРЯДОЧЕННЫЕ КНОПКИ КАТЕГОРИЙ */
.lot-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(17, 12, 6, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 128, 0.2);
}

.lot-category-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 128, 0.5);
    background: rgba(10, 7, 4, 0.8);
    color: #f6f2e9;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    text-align: center;
}

.lot-category-btn:hover {
    background: rgba(255, 215, 128, 0.18);
    border-color: rgba(255, 215, 128, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 128, 0.2);
}

.lot-category-btn.active {
    background: rgba(255, 215, 128, 0.35);
    border-color: #ffd780;
    color: #000;
    font-weight: 600;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 215, 128, 0.6);
}

/* УПОРЯДОЧЕННЫЕ ФИЛЬТРЫ СТАТУСОВ */
.lot-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(17, 12, 6, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 128, 0.2);
}

.lot-filter-btn {
    padding: 10px 20px;
    background: rgba(255, 215, 128, 0.1);
    border: 1px solid rgba(255, 215, 128, 0.3);
    color: #ffd780;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 140px;
    text-align: center;
}

.lot-filter-btn:hover {
    background: rgba(255, 215, 128, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 128, 0.2);
}

.lot-filter-btn.active {
    background: rgba(255, 215, 128, 0.3);
    border-color: #ffd780;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 215, 128, 0.3);
}

.lot-filter-caption {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(246, 242, 233, 0.85);
    font-style: italic;
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 128, 0.1);
}





/* Исправленные иконки категорий - без дублирования */
.lot-category-btn {
    position: relative;
    padding-left: 45px !important;
    text-align: left;
    overflow: hidden;
}

.lot-category-btn::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px; /* Увеличиваем иконку */
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Убираем дублирующие эмодзи из текста */
.lot-category-btn span,
.lot-category-btn .icon {
    display: none !important;
}

/* Категории с иконками */
.category-high-art::before { content: "🎨"; }
.category-folk-art::before { content: "👨‍🎨"; }
.category-souvenirs::before { content: "🎁"; }
.category-books::before { content: "📚"; }
.category-other::before { content: "🔮"; }

/* Анимация подсветки фильтров статусов */
.lot-filters.filters-highlight {
    box-shadow: 0 0 25px rgba(255, 215, 128, 0.7) !important;
    border-color: rgba(255, 215, 128, 0.9) !important;
    background: rgba(255, 215, 128, 0.1) !important;
    animation: highlightPulse 2s ease-in-out !important;
}

.lot-filters.filters-highlight-blink {
    box-shadow: 0 0 30px rgba(255, 215, 128, 0.9) !important;
    border-color: #ffd780 !important;
    background: rgba(255, 215, 128, 0.15) !important;
}

@keyframes highlightPulse {
    0% { 
        box-shadow: 0 0 0px rgba(255, 215, 128, 0); 
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(255, 215, 128, 0.8); 
        transform: scale(1.01);
    }
    100% { 
        box-shadow: 0 0 0px rgba(255, 215, 128, 0); 
        transform: scale(1);
    }
}

/* Зелёные сообщения - фиксированная длительность */
.bid-message--success {
    animation: successGlow 6s ease-in-out !important;
}

@keyframes successGlow {
    0% { 
        opacity: 0;
        transform: translateY(-10px);
    }
    15% { 
        opacity: 1;
        transform: translateY(0);
    }
    85% { 
        opacity: 1;
        transform: translateY(0);
    }
    100% { 
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Для красоты - плавное появление иконок */
.lot-category-btn::before {
    animation: iconAppear 0.5s ease-out;
}

@keyframes iconAppear {
    from { 
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
    to { 
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}