.catalog-main-wrapper {
    min-height: 100vh;
    width: 100%;
    background: #0a0a0a;
    position: relative;
    overflow-x: hidden;
}

.dynamic-step-grid {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.catalog-step-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    flex-shrink: 0;
    transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.catalog-step-card.is-selected {
    z-index: 12;
    box-shadow: inset 0 0 50px rgba(227, 30, 36, 0.3), 0 0 30px rgba(227, 30, 36, 0.2);
}

.catalog-step-card.is-selected::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #e31e24;
    box-shadow: 0 0 15px #e31e24;
    animation: slideIn 0.5s ease;
}

.catalog-step-card.is-selected .card-bg-image {
    filter: brightness(0.9) grayscale(0) !important;
    transform: scale(1.05);
}

.catalog-step-card.is-selected .brand-title {
    color: #fff;
    text-shadow: 0 0 20px rgba(227, 30, 36, 0.8);
    transform: translateY(-5px);
}

.catalog-step-card.is-selected .card-overlay {
    background: linear-gradient(
        to top,
        rgba(227, 30, 36, 0.4) 0%,
        transparent 100%
    );
    mix-blend-mode: overlay;
}

@keyframes slideIn {
    from { width: 0; opacity: 0; }
    to { width: 100%; opacity: 1; }
}

.card-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) grayscale(0.3);
    transition: transform 1.2s ease, filter 0.5s ease;
}

.catalog-step-card:hover .card-bg-image {
    transform: scale(1.1);
    filter: brightness(0.7) grayscale(0);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.brand-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.5));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.catalog-step-card:hover .brand-logo {
    transform: scale(1.2) translateY(-10px);
}

.brand-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.no-image-mode {
    background: linear-gradient(145deg, #1e1e1e, #111) !important;
}

.card-bg-placeholder {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(227, 30, 36, 0.05) 0%, transparent 70%);
    opacity: 0.5;
}

.no-image-mode .brand-title {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.carousel-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    z-index: 50;
    transition: all 0.3s ease;
}

.carousel-btn.left {
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85), transparent);
}

.carousel-btn.right {
    right: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.85), transparent);
}

.carousel-btn:hover {
    background-color: rgba(227, 30, 36, 0.8);
}