@charset "UTF-8";

#bestsellers ul {
	padding: 0;
}

#bestsellers .top img {
	width: 34%;
	margin: 0 auto 6%;
}
#bestsellers .f-inner {
	    width: 1140px;
    margin: 0 auto;
    text-align: center;
	padding: 8% 0;
}
#bestsellers .list {
	display: flex;
	flex-wrap: wrap;
}
#bestsellers .list li {
	background: #f8f8f8;
    width: 23%;
    margin: 1%;
    padding: 1%;
    border-radius: 12px;
	position: relative;
}
.list li img {
	margin: 4% 0;
}
.list li .img::before {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background-color: #333;
    text-align: center;
    line-height: 30px;
    font-size: 13px;
    color: #f4f2dc;
	position: absolute;
    right: 8px;
    top: 8px;
}
.list li:nth-child(1) .img::before {
    content: "1";
    background-color: #CE9B39;
}
.list li:nth-child(2) .img::before {
    content: "2";
    background-color: #aaa;
}
.list li:nth-child(3) .img::before {
    content: "3";
    background-color: #975e39;
}
.list li:nth-child(4) .img::before {
    content: "4";
}
.list li:nth-child(5) .img::before {
    content: "5";
}
.list li:nth-child(6) .img::before {
    content: "6";
}
.list li:nth-child(7) .img::before {
    content: "7";
}
.list li:nth-child(8) .img::before {
    content: "8";
}
.list li:nth-child(9) .img::before {
    content: "9";
}
.list li:nth-child(10) .img::before {
    content: "10";
}
.list li:nth-child(11) .img::before {
    content: "11";
}
.list li:nth-child(12) .img::before {
    content: "12";
}
.list li:nth-child(13) .img::before {
    content: "13";
}
.list li:nth-child(14) .img::before {
    content: "14";
}

.list li:nth-child(15) .img::before {
    content: "15";
}

.list li:nth-child(16) .img::before {
    content: "16";
}

.list li:nth-child(17) .img::before {
    content: "17";
}

.list li:nth-child(18) .img::before {
    content: "18";
}

.list li:nth-child(19) .img::before {
    content: "19";
}

.list li:nth-child(20) .img::before {
    content: "20";
}
#bestsellers .c-tag {
	    background: #333;
    border-radius: 2px;
	color: #f8f8f8;
    display: inline-block;
    padding: 0 3%;
    font-size: 12px;
	margin: 0 0 3% 0;
}
#bestsellers .item,#bestsellers .price {
	font-size: 12px;
    color: #333;
	margin: 0;
}
#bestsellers .price span {
	text-decoration: line-through;
}

@media (max-width: 767px) {
	#bestsellers .f-inner {
	    width: 100%;
    margin: 0 auto;
    text-align: center;
	padding: 11% 2%;
}
	#bestsellers .top img {
    width: 55%;
    margin: 0 auto 8%;
}
	
	#bestsellers .c-tag {
		font-size: 10px;
	}
	#bestsellers .list li {
	 width: 46%;
        margin: 2%;
        padding: 2%;
		border-radius: 6px;
}
	#bestsellers .top h2 {
		margin-bottom: 10%;
		width: 73%;
	}
	#bestsellers .item, #bestsellers .price {
		font-size: 12px;
		line-height: 1.4;
	}
	.list li .img::before {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
}
	.list li .img::before {
		right: 4%;
    top: 4%;
	}
}