/* ==================== КАТАЛОГ ==================== */

/* Hero */
.archive-hero {
    position: relative;
    padding: 140px 0 60px;
    background: #0a0a0a;
    overflow: hidden;
}

.archive-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1590602847861-f357a9332bbc?w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.archive-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.9) 100%);
}

.archive-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.archive-hero-content h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.archive-hero-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    max-width: 500px;
    margin: 0 auto 16px;
}

.archive-count {
    display: inline-block;
    background: #f5c518;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Контент */
.archive-content {
    padding: 40px 0 80px;
}

/* Фильтры */
.archive-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #f5c518;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.filter-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.filter-btn.active:hover {
    background: #333;
    border-color: #333;
}

.filter-count {
    font-size: 11px;
    background: rgba(0,0,0,0.08);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.filter-btn.active .filter-count {
    background: #f5c518;
    color: #000;
}

/* Сетка */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-content: center;
}

/* Карточка */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: #f5c518;
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    display: block;
    background: #f8f8f8;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f5c518;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-card-overlay span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 10px 20px;
    border-radius: 8px;
}

/* Тело карточки */
.product-card-body {
    padding: 20px;
}

.product-card-body h3 {
    margin: 0;
}

.product-card-body h3 a {
    color: #000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s;
}

.product-card-body h3 a:hover {
    color: #f5c518;
}

/* Футер карточки */
.product-card-footer {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.card-guide-link:hover {
    border-color: #f5c518;
    background: #fff9e6;
    color: #000;
}

.card-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.card-detail-link:hover {
    color: #f5c518;
}

/* Пусто */
.archive-empty {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.archive-empty h2 {
    font-size: 24px;
    font-weight: 400;
    color: #666;
    margin: 20px 0 8px;
}

.archive-empty p {
    margin-bottom: 24px;
}

/* Адаптив */
@media (max-width: 1024px) {
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .archive-hero {
        padding: 120px 0 40px;
    }
    
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 12px;
    }
    
    .card-detail-link {
        font-size: 11px;
    }
}

/* ==================== ПАГИНАЦИЯ ==================== */
.maono-pagination {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}

.maono-pagination ul {
    display: flex;
    list-style: none;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.maono-pagination li {
    margin: 0;
}

.maono-pagination a,
.maono-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
}

.maono-pagination a:hover {
    border-color: #f5c518;
    color: #000;
    background: #fff9e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245,197,24,0.2);
}

.maono-pagination .current {
    background: #000;
    color: #fff;
    border-color: #000;
    cursor: default;
}

.maono-pagination .dots {
    border: none;
    background: none;
    color: #999;
    cursor: default;
}

.maono-pagination a.next,
.maono-pagination a.prev {
    font-size: 18px;
}

/* Адаптив */
@media (max-width: 768px) {
    .maono-pagination a,
    .maono-pagination span {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
        border-radius: 8px;
    }
}