/* 변수 */
:root {
    /* color */
    --main: #EE3123;
    --mian-text: #DDDDDD;
    --support-text: #AAAAAA;
    --ssupport-text: #707070;
    --icon: #CCCCCC;
    --blk-btn: #00000080;
    --red-btn: #EE312380;
    --Hblk-btn: #000000;
    --Hred-btn: #EE3123;
    /* font */
    --px12: 0.75em;
    --px14: 0.875em;
    --px16: 1em;
    --px20: 1.25em;
    --px24: 1.5em;
    --px28: 1.75em;
    --px32: 2em;
    --px40: 2.5em;
    /* etc */
    --radius: 1.75em;
}

/* 페이지 제목 */
.page-section {
    background: #222222;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.page-inner {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 50px;
}

.page-inner>.page-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100px;
    padding-bottom: 20px;
}

/* 페이지명 */
.page-wrap>h2 {
    font-size: 32px;
    font-weight: 700;
}

/* 페이지경로 */
.page-wrap>.location>span {
    font-size: 12px;
    color: #707070;
}

.page-wrap>.location>span:last-child {
    color: #DDD;
    font-weight: 600;
}

.page-wrap>.location>span>a:hover {
    text-decoration: underline;
}

/* 아래에 작업 */
.inner img {
    max-width: 100%;
}

.btn-wrap {
    display: flex;
    gap: 20px;
}

.btn {
    width: auto;
    padding: 12px 28px;
    height: 48px;
    border: none;
    border-radius: var(--radius);
    background: var(--blk-btn);
    font-size: var(--px16);
    color: var(--mian-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--Hblk-btn);
}

.btn.active {
    background: var(--red-btn);
}


.best-seller-wrap {
    position: relative;
    margin-top: 70px;
    margin-bottom: 150px;

}

.seller-wrap {
    margin: 40px 0;
    width: 85%;
}

.best-seller-wrap h2 {
    padding-bottom: 40px;
}

.best-seller-title {
    text-align: center;
}




.best-seller-list li:nth-child(3) {
    width: 15em;
}

.best-seller-list li {
    text-align: center;
    width: 11.69em;
}

.ne-wrap {
    position: relative;
}

.arrow-btn {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
    top: 50%;
}

.best-seller-list li a {
    display: block;
    padding-bottom: 10px;
}



.product-wrap {

    margin-top: 150px;
    position: relative;
}

.custom-select {
    position: relative;
    display: inline-block;
    background-color: #323131;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.selected-value {
    padding: 4px 30px 4px 10px;
    background: url(../images/lyra-icon-arrow-forward-simple.png) no-repeat right 8px center;
    white-space: nowrap;
}

.options {
    position: absolute;
    top: 100%;
    background-color: #323131;
    margin: 4px 0 0 0;
    border-radius: 4px;
    display: none;
    z-index: 10;
}

.options.active {
    display: block;
    /* 클릭 시 노출 */
}

.option-item {
    padding: 6px 10px;
    white-space: nowrap;
}

.option-item:hover {
    background-color: #444;
    /* 마우스 올렸을 때 강조 */
}


.product-title select {
    appearance: none;
    background: url(../images/lyra-icon-arrow-forward-simple.png) no-repeat right 8px center;
    background-color: #323131;
    color: white;
    /* 변수 대신 테스트용 색상 */
    border: none;
    border-radius: 4px;
    cursor: pointer;

}

.product-wrap>h3 {
    text-align: center;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -40px;


}

.grid-wrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: space-between;
    gap: 3.2em;
    padding-top: 20px;
}

.box-wrap {

    border: 2px solid #494E58;
    border-radius: 15px;
    padding: 5px;
}

.box-wrap img {}

.box-wrap .img-box {
    padding-top: 20px;
}

.box-wrap .img-box {
    width: 100%;
    height: 275px;

    position: relative;

    display: flex;
    /* 플렉스 박스 활성화 */
    justify-content: center;
    /* 가로 정중앙 */
    align-items: center;
    /* 세로 정중앙 */
    overflow: hidden;

}

.box-wrap .img-box img {

    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;


    display: block;
    margin: 0 auto;

    /* 비율 유지 */
    object-fit: contain;
}


.box-wrap .text-box {
    text-align: left;
    width: 100%;
    padding: 15px;

}

.box-wrap .text-box h3 {
    padding-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.box-wrap .text-box p {
    color: var(--support-text);
    padding-top: 4px;

}

.box-wrap .text-box p:nth-child(2) {
    font-size: var(--px14);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.box-wrap .text-box p:nth-child(3) {
    color: var(--mian-text);
    padding-top: 20px;
    padding-bottom: 10px;
}

.number-next {
    display: flex;
    justify-content: center;
    gap: 3px;
    padding-top: 60px;
}