/* icefood process page */

.process-tabs__panel-eyebrow {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #57b43e;
}

.process-tabs__panel-title {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

.process-tabs__steps-heading,
.process-tabs__step-name {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

.process-tabs__panel-desc {
    font-size: 20px;
    line-height: 1.7;
    color: #526b55;
}

.process-tabs__step-desc {
    font-size: 18px;
    line-height: 1.7;
    color: #526b55;
}

.process-tabs {
    padding: 80px 0 120px;
}

.process-tabs__nav {
    display: flex;
    gap: 0;
    border: 1px solid #dfe8dc;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 64px;
}

.process-tabs__tab {
    flex: 1 1 0;
    min-width: 0;
    background: #fff;
    border: none;
    border-left: 1px solid #dfe8dc;
    min-height: 70px;
    padding: 0 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s ease, color 0.15s ease;
    color: #71806e;
    font-family: inherit;
}

.process-tabs__tab:first-child {
    border-left: none;
}

.process-tabs__tab-num {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: inherit;
    transition: color 0.15s ease;
}

.process-tabs__tab-label {
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
    word-break: keep-all;
}

.process-tabs__tab.is-active {
    background: #57b43e;
    color: #fff;
}

.process-tabs__tab.is-active .process-tabs__tab-num {
    color: #fff;
}

.process-tabs__tab:not(.is-active):hover {
    background: #f8fbf6;
    color: #333;
}

.process-tabs__panel[hidden] {
    display: none;
}

.process-tabs__panel-header {
    margin-bottom: 56px;
    padding-bottom: 50px;
    border-bottom: 2px solid #57b43e;
}

.process-tabs__panel-title {
    margin-top: 14px;
}

.process-tabs__panel-desc {
    margin-top: 10px;
}

.process-tabs__visual {
    aspect-ratio: 16 / 9;
    background: #f8fbf6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 64px;
}

.process-tabs__visual-label {
    color: #aab8a6;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    letter-spacing: 0.06em;
}

.process-tabs__steps-heading {
    margin-bottom: 28px;
    text-align: center;
}

.process-tabs__steps {
    list-style: none;
    position: relative;
    padding: 0;
    margin: 0;
}

.process-tabs__steps::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 27px;
    width: 2px;
    background: #e6eee3;
}

.process-tabs__step {
    position: relative;
    padding-left: 100px;
    margin-bottom: 56px;
    display: grid;
    grid-template-columns: 550px 1fr;
    gap: 50px;
    align-items: center;
}

.process-tabs__step:last-child {
    margin-bottom: 0;
}

.process-tabs__step-num {
    position: absolute;
    left: 0;
    top: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #57b43e;
    border: 2px solid #57b43e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transform: translateY(-50%);
    padding-top: 1px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    z-index: 1;
}

.process-tabs__step-image {
    aspect-ratio: 16 / 9;
    background: #f8fbf6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.process-tabs__step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.process-tabs__step-image-label {
    color: #aab8a6;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    letter-spacing: 0.06em;
}

.process-tabs__step-content {
    padding-top: 14px;
}

.process-tabs__step-desc {
    margin-top: 12px;
}

.process-tabs__empty {
    margin: 0;
    padding: 36px 20px;
    background: #f8fbf6;
    border-radius: 12px;
    color: #71806e;
    font-size: 15px;
    text-align: center;
}

@media (max-width: 1400px) {
    .process-tabs {
        padding: 56px 0 96px;
    }

    .process-tabs__nav {
        margin-bottom: 56px;
    }

    .process-tabs__tab {
        min-height: 68px;
        padding: 0 18px;
    }

    .process-tabs__tab-label {
        font-size: 18px;
    }

    .process-tabs__panel-header {
        margin-bottom: 48px;
        padding-bottom: 40px;
    }

    .process-tabs__step {
        grid-template-columns: minmax(340px, 56%) minmax(0, 1fr);
        gap: 36px;
        padding-left: 80px;
    }

    .process-tabs__steps::before {
        left: 25px;
    }

    .process-tabs__step-num {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .process-tabs {
        padding: 44px 0 84px;
    }

    .process-tabs__nav {
        gap: 8px;
        overflow-x: auto;
        margin-bottom: 44px;
        padding-bottom: 8px;
        border: 0;
        border-radius: 0;
        scrollbar-width: none;
    }

    .process-tabs__nav::-webkit-scrollbar {
        display: none;
    }

    .process-tabs__tab {
        flex: 0 0 auto;
        justify-content: flex-start;
        min-width: 170px;
        min-height: 54px;
        padding: 0 16px;
        gap: 8px;
        border: 1px solid #dfe8dc;
        border-radius: 8px;
    }

    .process-tabs__tab:first-child {
        border-left: 1px solid #dfe8dc;
    }

    .process-tabs__tab-num {
        font-size: 15px;
    }

    .process-tabs__tab-label {
        min-width: 0;
        overflow: hidden;
        font-size: 16px;
        text-overflow: ellipsis;
    }

    .process-tabs__tab.is-active {
        border-color: #57b43e;
    }

    .process-tabs__panel-header {
        margin-bottom: 40px;
        padding-bottom: 28px;
    }

    .process-tabs__panel-title {
        margin-top: 10px;
        font-size: 28px;
        line-height: 1.3;
    }

    .process-tabs__panel-desc {
        font-size: 17px;
        line-height: 1.75;
    }

    .process-tabs__steps::before {
        top: 0;
        bottom: 0;
        left: 22px;
    }

    .process-tabs__step {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 18px;
        padding-left: 62px;
        margin-bottom: 44px;
    }

    .process-tabs__step-num {
        top: 0;
        width: 46px;
        height: 46px;
        font-size: 18px;
        transform: none;
    }

    .process-tabs__step-image {
        border-radius: 10px;
    }

    .process-tabs__step-content {
        padding-top: 0;
    }

    .process-tabs__step-name {
        font-size: 22px;
        line-height: 1.35;
    }

    .process-tabs__step-desc {
        margin-top: 8px;
        font-size: 16px;
        line-height: 1.75;
    }
}

@media (max-width: 480px) {
    .process-tabs {
        padding: 36px 0 68px;
    }

    .process-tabs__nav {
        margin-bottom: 36px;
    }

    .process-tabs__tab {
        min-width: 158px;
        min-height: 50px;
        padding: 0 13px;
    }

    .process-tabs__tab-label {
        font-size: 15px;
    }

    .process-tabs__panel-header {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }

    .process-tabs__panel-eyebrow {
        font-size: 14px;
    }

    .process-tabs__panel-title {
        font-size: 24px;
    }

    .process-tabs__panel-desc {
        font-size: 15px;
        line-height: 1.7;
    }

    .process-tabs__steps::before {
        left: 18px;
    }

    .process-tabs__step {
        gap: 14px;
        padding-left: 52px;
        margin-bottom: 36px;
    }

    .process-tabs__step-num {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .process-tabs__step-image-label {
        padding: 0 14px;
        font-size: 12px;
        text-align: center;
    }

    .process-tabs__step-name {
        font-size: 19px;
    }

    .process-tabs__step-desc {
        font-size: 14px;
        line-height: 1.7;
    }
}
