:root {
    interpolate-size: allow-keywords;
}

.suggest__wrapper {
    display: flex;
    justify-content: space-around;
}

#goods_reminder .suggest__item {
    width: 150px;
    border: 1px solid #ccc;
    margin: 10px;
    font-size: 12px;
    border-radius: 5px;
    overflow: clip;
}

#goods_reminder .suggest__item img {
    width: 100%;
}


.suggest__item p {
    white-space: nowrap;
    overflow: hidden;
    padding: 3px 5px;
    font-size: 11px !important;
}

#goods_reminder {
    transition: width .4s ease-out, opacity .5s ease-out .5s, right .4s ease-out;
}

#goods_reminder.drawer {
    position: fixed;
    right: 0;
    bottom: 80px;
    width: 200px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, .5);
    z-index: 100;
    border-radius: 15px 0 0 15px;
    opacity: 0.8;
}

#goods_reminder.drawer {
    .suggest__item {
        width: 120px;
        font-size: 11px;
    }

    #drawer_closer {
        visibility: visible;
        padding: 5px 15px;
        cursor: pointer;
    }

    .suggest__item img {
        width: 120px;
        max-width: 120px;
    }

    #drawer_ctrl {
        justify-content: space-between;
        font-size: 12px;
        padding: 10px 0;
        margin: initial;
    }

    #drawer_switch {
        font-size: 13px;
        cursor: pointer;
        padding: 3px 10px;
        max-height: 3em;
        overflow: hidden;
    }

    #drawer_switch::before {
        content: "≪";
        padding: 5px;
        display: inline-block;
        font-size: 15px;

        animation-timing-function: ease-in-out;
        animation-iteration-count: infinite;
        animation-direction: alternate;
        animation-duration: 1.8s;
        animation-name: anim_h;
    }

    
} /*__drawer__*/



#goods_reminder.reminder_drawn {
    #drawer_switch::before {
        content: "";
    }

    #drawer_switch::after {
        content: "≫";
        padding: 5px;
        display: inline-block;
        font-size: 15px;
        font-weight: bold;

        animation-timing-function: ease-in-out;
        animation-iteration-count: infinite;
        animation-direction: alternate;
        animation-duration: 1.5s;
        animation-name: anim_h;
    }
} /*__drawer__*/

@keyframes anim_h {
    0% {
        transform: translate(5px, 0);
        opacity: 0.2;
    }

    100% {
        transform: translate(-5px, 0);
        opacity: 1;
        color: #ffe222;
    }
}


@media screen and (max-width: 767px) {
    #goods_reminder.drawer {
        bottom: 10px;
        opacity: 0.9;
        width: 180px;
        box-shadow: 1px 1px 15px rgba(0, 0, 0, .7);
    }

    #goods_reminder.drawer {
        .suggest__item {
            width: 100px;
        }

        .suggest__item img {
            width: 100px;
            max-width: 100px;
        }

        /* .suggest__item:nth-of-type(n+4) {
            display: none;
        } */

        #drawer_switch {
            font-size: 12px;
            padding: 3px 5px;
        }

        #drawer_closer {
            padding: 3px 15px;
        }
    }

    #goods_reminder .suggest__item:nth-of-type(n+4) {
        display: none;
    }

    #goods_reminder .suggest__item{
        width: 110px;
    }
    #goods_reminder .suggest__item img {
        width: 110px;
        min-width: 100%;
    }
}

/*__mobile_*/

#goods_reminder.drawer_idle {
    opacity: 0;
}

#goods_reminder.drawer_preposition {
    right: -250px;
}

#goods_reminder.reminder_drawn {
    width: auto;
    opacity: 1;
}

#goods_reminder.reminder_closed {
    width: 0;
    overflow: hidden;
    opacity: 0;
}

#goods_reminder #drawer_ctrl {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #144290;
    color: #fff;
    padding: 15px;
    margin: 10px 0;
    font-size: 16px;
}

#goods_reminder #drawer_closer {
    visibility: hidden;
}





#revision_r08_body .reminder_section {
    margin: 0;
    padding: 0;
    order: 20;
}