.loader {
    position: relative;
    padding-top: 100px;
    width: 40px;
    margin: auto;
}
.loader .circle {
    position: absolute;
    width: 38px;
    height: 38px;
    opacity: 0;
    transform: rotate(225deg);
    animation-iteration-count: infinite;
    animation-name: orbit;
    animation-duration: 5.5s;
}
.loader .circle:after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background: #fff;
    background-color: darkgray;
}
.loader .circle:nth-child(2) {
    animation-delay: 240ms;
}
.loader .circle:nth-child(3) {
    animation-delay: 480ms;
}
.loader .circle:nth-child(4) {
    animation-delay: 720ms;
}
.loader .circle:nth-child(5) {
    animation-delay: 960ms;
}
@keyframes orbit {
    0% {
        transform: rotate(225deg);
        opacity: 1;
        animation-timing-function: ease-out;
    }
    7% {
        transform: rotate(345deg);
        animation-timing-function: linear;
    }
    30% {
        transform: rotate(455deg);
        animation-timing-function: ease-in-out;
    }
    39% {
        transform: rotate(690deg);
        animation-timing-function: linear;
    }
    70% {
        transform: rotate(815deg);
        opacity: 1;
        animation-timing-function: ease-out;
    }
    75% {
        transform: rotate(945deg);
        animation-timing-function: ease-out;
    }
    76% {
        transform: rotate(945deg);
        opacity: 0;
    }
    100% {
        transform: rotate(945deg);
        opacity: 0;
    }
}

.container-upt {
    width: 100%;
    height: auto;
    min-height: 300px;
    display: flex;
    justify-content: space-around;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.container-upt .upt-item {
    box-sizing: border-box;
    width: 254px;
    border: 1px solid #d8d8d8;
    margin: 10px;
    padding: 10px;
}
.container-upt .upt-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.container-upt .item-img-box {
    height: 220px;
    padding: 10px;
    margin-bottom: 45px;
    position: relative;
}
.container-upt .item-info-size {
    position: absolute;
    right: 0;
    top: 180px;
}
.container-upt .item-info-size p:first-child {
    background: #000;
    color: #fff;
    padding: 12px 5px;
    font-size: 14px;
    border-radius: 5px;
    text-align: center;
    margin: 0;
    line-height: 14px;
}
.container-upt .item-info-size p:nth-child(2) {
    border-radius: 5px;
    padding: 7px 5px;
    text-align: center;
    margin-bottom: 3px;
    font-size: 10px;
    background: #6e6e6e;
    color: #fff;
}
.container-upt .item-category-title {
    background: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
    margin-bottom: 3px;
    margin-right: 3px;
    text-decoration: unset;
    border: none;
    position: absolute;
    left: 0;
    top: 230px;
}
.container-upt p.item-name {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    text-decoration: none;
    color: #333;
    word-break: break-all;
}
.container-upt a {
    text-decoration: none;
}
.container-upt .category {
    color: #333;
}
.container-upt::after {
    content: "";
    width: 254px;
    margin:10px;
}

.container-upt-detail {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: auto;
    margin: 0 auto;
    max-width: 900px;
}
.container-upt-detail * {
    box-sizing:border-box;
}
.container-upt-detail .image-item-preview {
    width: 30%;
    min-width: 300px;
    padding: 10px;
    border: 2px solid #d7d7d7;
    position: relative;
}
.container-upt-detail .image-item-preview .item-category-title {
    left: 10px;
    bottom: 10px;
    top: unset;
}
.container-upt-detail .image-item-preview .item-info-size {
    position: absolute;
    right: 10px;
    bottom: 10px;
    top: unset;
}
.container-upt-detail .image-item-preview img {
    width: 100%;
    height: auto;
}
.container-upt-detail .info-item{
    width: 60%;
}
.container-upt-detail .name-item {
    color: #363636;
    line-height: 30px;
    font-weight: bold;
    font-size: 23px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.container-upt-detail .des-item {
    font-size: 14px;
    margin-top: 0;
}
.container-upt-detail .list-price-item > :first-child {
    font-size: 23px;
    color: red;
    font-weight: bold;
}
.container-upt-detail .list-option-item {
    display: flex;
    margin-top: 15px;
}
.container-upt-detail .list-option-item > div {
    width: 130px;
    margin-right: 10px;
    position: relative;
}
.container-upt-detail .color-item, .container-upt-detail .size-item {
    box-sizing: border-box;
    position: relative;
    border: 1px solid #dedede;
    padding: 0 10px;
}
.container-upt-detail .color-item:after, .container-upt-detail .size-item:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 7px;
    width: 0;
    height: 0;
    margin-top: -3px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 7px solid #000;
}
.container-upt-detail .color-item > span, .container-upt-detail .size-item > span  {
    font-size: 13px;
    line-height: 28px;
    font-weight: normal;
}
.container-upt-detail .color-option-item, .container-upt-detail .size-option-item{
    display: none;
    border: 1px solid grey;
    overflow-y: auto;
    max-height: 110px;
    position: absolute;
    width: 130px;
    z-index: 1;
    background: #fff;
}
.container-upt-detail .color-option-item .option label span:first-child {
    border: 1px solid #dedede;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    margin: 0 5px;
}
.container-upt-detail .color-option-item .option label,  .container-upt-detail .size-option-item .option label{
    font-size: 13px;
    height: 32px;
    display: flex;
    align-items: center;
    line-height: 13px;
}
.container-upt-detail .color-option-item .option:hover, .container-upt-detail .size-option-item .option:hover {
    background: #e6e6e6;
}
.container-upt-detail .size-option-item .option label {
    padding-left: 10px;
}
.container-upt-detail .quantity-item {
    margin-top: 10px;
}
.container-upt-detail .quantity-item span {
    display: inline-flex;
    width: 40px;
    border: 1px solid #dedede;
    justify-content: center;
    align-items: center;
    height: 25px
}
.container-upt-detail .quantity-item button {
    box-sizing: border-box;
    height: 25px;
    width: 25px;
    background: #fff;
    border: 1px solid #dedede;
    margin: 0;
}
.container-upt-detail .info-item a {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    max-width: 300px;
    justify-content: center;
    height: 56px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: unset;
    background-color: #E70000;
    align-items: center;
    color: #ffffff;
    width: 100%;
}