/* Hero Slider Section */
.hero-slider-section {
    padding: 0;
    margin: 0;
}

/* Remove hero content - we don't need it anymore */
.hero-content {
    display: none;
}

/* Featured Slider */
.featured-slider {
    width: 100%;
    margin: 0;
}

.slider-container {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.slide-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

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

/* Лёгкое затемнение слайдов */
.slide-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
    pointer-events: none;
    z-index: 1;
}

/* Remove old overlay, add new info card */
.slide-overlay {
    display: none;
}

/* Info Card Overlay */
.slide-info-card {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 54, 93, 0.95);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    color: white;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.slide-content {
    max-width: none;
}

.slide-title {
    font-size: 2.25rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.slide-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 300;
}

.slide-bid {
    margin-bottom: 2rem;
}

.bid-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.bid-amount {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffd700;
    letter-spacing: 0.02em;
}

.slide-btn {
    display: inline-block;
    background: transparent;
    color: #ffd700;
    padding: 0.75rem 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid #ffd700;
    transition: all 0.3s ease;
}

.slide-btn:hover {
    color: white;
    border-bottom-color: white;
}

.slide-btn i {
    margin-left: 0.5rem;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #333;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;}

    /* ДОБАВЬ ЭТО В .slider-nav: */
.slider-nav {
    /* ... существующие стили ... */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-nav:hover {
    /* ... существующие стили ... */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
    background: none;
    padding: 0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Lots Section */
.lots-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

/* View Toggle - Clean Design */
.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.view-btn:hover {
    background: rgba(26, 54, 93, 0.1);
    color: #1a365d;
}

.view-btn.active {
    background: #1a365d;
    color: white;
    box-shadow: 0 2px 8px rgba(26, 54, 93, 0.3);
}

/* Lots Grid */
.lots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.lot-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.lot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.lot-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.lot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.lot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.lot-actions {
    display: flex;
    gap: 0.5rem;
    align-self: flex-end;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.quick-bid-btn {
    background: #1a365d;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: center;
}

.quick-bid-btn:hover {
    background: #2a4a6b;
    transform: scale(1.05);
}

.lot-info {
    padding: 1.5rem;
}

.lot-category {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.lot-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: #212529;
}

.lot-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.lot-pricing {
    margin-bottom: 1rem;
}

.current-bid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.lot-pricing .bid-label {
    font-size: 0.8rem;
    color: #6c757d;
}

.lot-pricing .bid-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a365d;
}

.estimate {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.estimate-label {
    font-size: 0.8rem;
    color: #6c757d;
}

.estimate-range {
    font-size: 0.8rem;
    color: #495057;
}

/* List View */
.lots-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lots-grid.list-view .lot-card {
    display: flex;
    height: 200px;
}

.lots-grid.list-view .lot-image {
    width: 150px;
    flex-shrink: 0;
}

.lots-grid.list-view .lot-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* No Lots State */
.no-lots {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.no-lots-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-lots h3 {
    margin-bottom: 0.5rem;
    color: #495057;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .slider-container {
        height: 500px;
    }
    .estimate-label {
    font-size: 0.5rem;
    color: #6c757d;
}
.estimate-range {
    font-size: 0.5rem;
    color: #495057;
}
.lot-pricing .bid-label {
    font-size: 0.5rem;
    color: #6c757d;
}

    .slide-info-card {
        left: 20px;
        bottom: 20px;
        top: auto;
        transform: none;
        max-width: 280px;
        padding: 1.5rem;
    }

    .slide-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .slide-description {
        font-size: 0.875rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .slide-bid {
        margin-bottom: 1.25rem;
    }

    .bid-amount {
        font-size: 1.125rem;
    }

    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .slider-nav.prev {
        left: 15px;
    }

    .slider-nav.next {
        right: 15px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Карточки - 2 в ряд на мобильных */
    .lots-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .lot-card {
        border-radius: 8px;
    }
    
    .lot-image {
        height: 160px;
    }
    
    .lot-info {
        padding: 1rem;
    }
    
    .lot-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .lot-subtitle {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .lot-pricing .bid-amount {
        font-size: 1rem;
    }
    
    /* Список - тонкие полоски по 1 в ряд */
    .lots-grid.list-view {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .lots-grid.list-view .lot-card {
        display: flex;
        height: 100px;
        border-radius: 8px;
    }
    
    .lots-grid.list-view .lot-image {
        width: 120px;
        height: 100px;
        flex-shrink: 0;
    }
    
    .lots-grid.list-view .lot-info {
        flex: 1;
        padding: 0.75rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .lots-grid.list-view .lot-title {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        line-height: 1.2;
    }
    
    .lots-grid.list-view .lot-subtitle {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .lots-grid.list-view .lot-category {
        font-size: 0.65rem;
        margin-bottom: 0.25rem;
    }
    
    .lots-grid.list-view .lot-pricing {
        margin-bottom: 0;
    }
    
    .lots-grid.list-view .current-bid {
        margin-bottom: 0.25rem;
    }
    
    .lots-grid.list-view .lot-pricing .bid-label {
        font-size: 0.7rem;
    }
    
    .lots-grid.list-view .lot-pricing .bid-amount {
        font-size: 0.85rem;
        font-weight: 600;
    }
    
    .lots-grid.list-view .estimate {
        display: none; /* Скрываем estimate в списке на мобильных */
    }
    
    /* Скрываем overlay в списке на мобильных */
    .lots-grid.list-view .lot-overlay {
        display: none;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 400px;
    }

    .slide-info-card {
        max-width: 250px;
        padding: 1.25rem;
    }

    .slide-title {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .slide-description {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .slide-bid {
        margin-bottom: 1rem;
    }

    .bid-amount {
        font-size: 1rem;
    }
    
    /* Очень маленькие экраны - карточки остаются 2 в ряд, но еще компактнее */
    .lots-grid {
        gap: 0.75rem;
    }
    
    .lot-image {
        height: 140px;
    }
    
    .lot-info {
        padding: 0.75rem;
    }
    
    .lot-title {
        font-size: 0.9rem;
    }
    
    .lot-subtitle {
        font-size: 0.7rem;
    }
    
    /* Список еще тоньше */
    .lots-grid.list-view .lot-card {
        height: 90px;
    }
    
    .lots-grid.list-view .lot-image {
        width: 100px;
        height: 90px;
    }
    
    .lots-grid.list-view .lot-info {
        padding: 0.5rem;
    }
    
    .lots-grid.list-view .lot-title {
        font-size: 0.85rem;
    }
    
    .lots-grid.list-view .lot-subtitle {
        font-size: 0.65rem;
    }
}

/* ─────────────────────────────────────────────────────────────
   Прижимаем .lot-pricing к низу карточки ТОЛЬКО в сетке
   (на список .list-view это не повлияет)
   ─────────────────────────────────────────────────────────── */
.lots-grid:not(.list-view) .lot-card {
    /* превращаем карточку в вертикальную колонку */
    display: flex;
    flex-direction: column;
}

.lots-grid:not(.list-view) .lot-image {
    /* изображение остаётся фиксированной высоты, не тянется */
    flex-shrink: 0;
}

.lots-grid:not(.list-view) .lot-info {
    /* занимает всё оставшееся место и тоже становится колонкой */
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.lots-grid:not(.list-view) .lot-pricing {
    /* волшебство: отправляем блок цен вниз */
    margin-top: auto;
}
