.instructions_hero {
    background: #f8fafc;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}
.instructions_hero_container {
    max-width: 800px;
    margin: 0 auto;
}
.instructions_hero h1 {
    font-size: 36px;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 800;
}
.instructions_hero p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

.instructions_content {
    padding: 60px 20px;
    background: #ffffff;
}
.instructions_container {
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.step_block {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 50px;
    box-sizing: border-box;
}
.step_block:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.step_number {
    font-size: 48px;
    font-weight: 800;
    color: #00bd8e;
    opacity: .9;
    line-height: 1;
    font-family: monospace;
}

.step_text {
    flex: 1.8;
}
.step_text h2 {
    font-size: 22px;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}
.step_text p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 12px;
}
.step_note {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 14px;
    font-size: 14px;
    color: #78350f;
    border-radius: 6px;
    margin-top: 15px;
    line-height: 1.5;
}

.step_visual {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: start;
    min-width: 280px;
    box-sizing: border-box;
}

.step_gallery_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 280px;
}

.main_preview_frame {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery_main_img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.main_preview_frame:hover .gallery_main_img {
    transform: scale(1.03);
}

.thumb_strip {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow-x: auto;
    padding: 4px 0;
}

.thumb_strip:has(:only-child) {
    display: none;
}

.thumb_item {
    width: 50px;
    height: 85px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    background: #f1f5f9;
    opacity: 0.6;
    transition: all 0.15s ease;
}
.thumb_item:hover {
    opacity: 0.9;
    border-color: #cbd5e1;
}

.thumb_item.active {
    opacity: 1 !important;
    border-color: #00bd8e !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 189, 142, 0.2);
}

@media (max-width: 820px) {
    .step_block {
        flex-direction: column;
        gap: 24px;
        padding-bottom: 40px;
    }
    .step_visual {
        width: 100%;
        justify-content: center;
    }
    .step_gallery_container {
        max-width: 240px;
    }
    .instructions_hero h1 {
        font-size: 26px;
    }
}
