/*********** 검색 결과 페이지 ***********/
.wrap {
    width: 1024px;
    margin: 0 auto;
    margin-top: 220px;
}

/* 결과 헤더 */
.result_header {
    height: 57px;
    line-height: 57px;
    border-bottom: 1px solid #e1e1e1;
    background-color: #f4f4f4;
}

.result_keyword {
    padding-left: 25px;
    font-size: 17px;
    color: #777;
}

.result_keyword strong {
    letter-spacing: 1px;
    color: #323232;
    font-size: 20px;
}

.item_total_cnt {
    padding: 14px 14px 14px 25px;
    color: #323232;
    font-size: 13px;
}

/* 브랜드 */
.brand_wrap {
    overflow: auto;
    margin-bottom: 40px;
}

#brand_list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: max-content;
    padding-bottom: 20px;
}

.brand_idx {
    width: 303px;
    margin-right: 13px;
}

.brand_link {
    width: calc(50% - 16px);
    background-color: #d1c4c4;
}

.one {
    width: 100%;
}

.brand_detail {
    position: relative;
    overflow: hidden;
    display: block;
    text-align: center;
}

.brand_image {
    width: 100%;
    height: 200px;
}

.brand_name {
    display: inline-block;
    margin-top: 13px;
    color: #000;
    font-weight: bold;
    font-size: 18px;
}


/* 상품 정렬 */
.fill {
    margin-bottom: 6px;
}

#item_sort {
    border: 1px solid #000;
    cursor: pointer;
    padding: 8px;
}

/* 상품 리스트 */
#item_list {
    display: flex;
    flex-wrap: wrap;
    margin: -14px -8px;
    padding-bottom: 40px;
}

.item {
    position: relative;
    width: calc(25% - 16px);
    padding-bottom: 8px;
    margin: 14px 7px;
    border: 1px solid #fff;
}

.item:hover {
    border-color: #323232;
}

.item_detail {
    display: block;
    color: #323232;
}

.item_detail:hover,
.item_detail:focus {
    text-decoration: none;
}

.item_image_wrap {
    position: relative;
    overflow: hidden;
}

.item_image {
    width: 244px;
    height: 244px;
}

.sold_out {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.sold_out img {
    position: absolute;
    display: block;
    left: 50%;
    top: 50%;
    transform: translate(calc(-50% + 0.5px), calc(-50% + 0.5px));
    text-align: center;
}

.item_id {
    margin: 4px 0;
    text-align: center;
}

.item_name {
    height: 34px;
    margin: 20px 0;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: center;
}

.item_cost {
    text-align: center;
}

.item_cost .sale {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
}

.item_cost .price {
    font-weight: bold;
    color: #ee2f49;
    font-size: 15px;
}

.item_cost .st_point img {
    width: 60px;
}

.item_cost .st_point img,
.item_cost .st_point span {
    display: inline-block;
}

#not_item {
    display: none;
    text-align: center;
    padding: 120px 0;
    font-weight: bold;
}

.fill {
    text-align: right;
}

/* 페이지 네이션 */
#pagination {
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
}

#pagination_list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination_number,
#page_first,
#page_last {
    font-size: 1.1rem;
    background-color: transparent;
    border: none;
    margin: 0.25rem 0.25rem;
    cursor: pointer;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: .2rem;
}

#page_first {
    text-align: right;
}

#page_last {
    text-align: left;
}

.pagination_number:hover {
    background: #fff;
}

.pagination_btn {
    font-size: 1.1rem;
    background-color: transparent;
    border: none;
    margin: 0.25rem 0.25rem;
    cursor: pointer;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 0.2rem;
}

.item_list_button {
    overflow: hidden;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: .9;
}

.list_button button {
    background-color: transparent;
}