.transform-description-section {
    & .diamond-desc-popup {
        cursor: pointer;

        &:hover {
            & .item-block {
                border: 2px #e60012 solid;
            }
        }
    }

    & > h3 {
        font-weight: bold;
        font-size: 2.5cqw;
        margin: auto;
        width: fit-content;
    }

    & > p {
        color: #000;
        line-height: 1.5;
        font-size: 1.6cqw;
        font-weight: 500;
        margin: 2cqw 0 3.2cqw;
    }

    & .item-block-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.6cqw;
        margin-top: 4cqw;
    }

    & .item-block {
        border: 2px #d3d3d3 solid;
        border-radius: 20px;
        text-align: center;
        min-height: 100%;

        & p {
            font-weight: 600;
            font-size: var(--font-s);
            width: fit-content;
            padding: 0.3cqw 0.3cqw 1.5cqw 0.3cqw;
            border-top-left-radius: 16px;
            border-bottom-right-radius: 30px;
            display: block;
            margin: auto;
        }

        & img {
            width: 80%;
            margin: 1.5cqw;
        }
    }

    & .item-name-block {
        display: flex;
        justify-content: space-between;
        margin-top: 0.8cqw;

        & p {
            font-weight: 600;
            font-size: clamp(0.8cqw, 1.1cqw, 1.3cqw);
        }

        & img {
            width: 10%;
            height: 10%;
            margin: auto 0;
        }
    }

    & .item-block-text {
        display: none;
    }

    & .diamond-desc-popup-block {
        background-color: #fff;
        width: 46%;
        margin: auto;
        text-align: center;
        position: relative;
        border-radius: 20px;
        border: 4px solid #dcdcdc;
        padding: 3.2cqw 0;
    }

    & .diamond-desc-popup-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s ease;
        z-index: 9999;
        display: grid;

        &.diamond-desc-popup-show {
            opacity: 1;
            pointer-events: auto;
        }
    }

    & .diamond-desc-popup-image {
        transition:
            transform 0.5s ease,
            opacity 0.5s ease;
        opacity: 1;
        width: 40%;
    }

    & .diamond-desc-close-btn {
        position: absolute;
        top: 0;
        right: 0;
        transform: translate(50%, -50%);
        cursor: pointer;
        z-index: 10000;
        width: min(5vw, 50px);
    }

    & .diamond-desc-popup-item-type-block {
        display: flex;
        margin: 0 auto 1.6cqw;
        width: fit-content;
        font-size: 2.8cqw;

        & .text-red {
            margin-right: 1.6cqw;
        }

        & p {
            width: fit-content;
            font-weight: 600;
        }
    }

    & .diamond-desc-popup-item-type {
        color: #000;
    }

    & .diamond-desc-popup-item-text {
        font-weight: 500;
        width: 80%;
        margin: auto;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .transform-description-section {
        & .item-block-wrapper {
            grid-template-columns: repeat(2, 1fr);
            gap: 5.3cqw;
            margin-bottom: 0;
        }

        & .item-block {
            & p {
                font-size: 4.3cqw;
            }
        }

        & .item-type-block {
            display: flex;
            width: fit-content;
            margin: auto;
        }

        & .item-name-block {
            & p {
                font-size: clamp(2.1cqw, 3cqw, 5.3cqw);
            }
        }

        & .diamond-desc-popup-block {
            width: 86%;
        }

        & .diamond-desc-popup-item-type-block {
            font-size: 5.2cqw;
        }

        & .diamond-desc-popup-item-text {
            font-size: 3.4cqw;
        }

        & .diamond-desc-close-btn {
            width: min(10vw, 70px);
        }
    }
}
