/* html 높이 지정 */
html {
    height: 100%;
}

/* 배너 카테고리 카테고리명 margin-top 추가 */
.banner-category ul li p {
    margin-top: 8px;
}

/* 배너카테고리 상세보기 추가 */
.banner-category ul li p.link__wrap {
    position: absolute;
    top: 8px;
    right: 15px;
    color: var(--color-navy);
     background-color: var(--color-white);
    border: 1px solid var(--color-navy);
    border-radius: 3px;
    padding: 5px;
    /* width: calc(100% - 75px); */
    line-height: 1.0em;
}

/* 장바구니 상품옵션수정 팝업이 alert 팝업위에 표시되어 z-index 수정 */
.mod__option {
    z-index: 1000;
}

/* footer 영역 브라우저 하단에 위치 */
.plist {
    min-height: calc(100vh - 441px);
}

/* 카테고리 목록 마우스 커서 포인터로 변경 */
.plist .side__menu .sdepth1 > li > a.side-category-name {
    cursor: pointer;
}

/* 사이드 카테고리; 상품별 줄바꿈 구분 */
.side__menu .sdepth1 .sdepth2 li {
    position: relative;
    padding-left: 0.75em;
}
.side__menu .sdepth1 .sdepth2 li:before {
    content: "-";
    position: absolute;
    left: 0;
}
.side__menu .sdepth1 .sdepth2 li a.side-category-item:hover {
    text-decoration: underline;
}

/* footer 영역 브라우저 하단에 위치 */
.board, .qna, .made {
    min-height: calc(100vh - 371px);
}

/* board 게시판 공지 강조 */
.board .tb__board .info.point {
    background-color: var(--color-orange-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 19px;
    padding: 3px 0;
    font-size: 12px;
    color: var(--color-gray-4);
    border-radius: 3px;
}

/* 메인페이지 공지사항, 기술자료실 영역 상단 맞춤 */
.recent__two {
    align-items: flex-start;
}

/* footer 영역 브라우저 하단에 위치 */
.cart {
    min-height: calc(100vh - 371px);
}

/* 페이징 커서 추가 */
.paging a {
    cursor: pointer;
}

/* 상품 상세 페이지 카테고리 */
.breadcrumb {
    position: absolute;
    top: -37px;
}
.breadcrumb ul li {
    min-width: fit-content;
}
.breadcrumb ul li:last-child {
    min-width: auto;
}
.breadcrumb .select {
    color: var(--color-orange);
}
/* 다른페이지 padding: 50px 0;과 동일하게 */
.plist {
    margin: 50px 0;
}

/* 상품 상세페이지 사진 */
.photo ul.swiper__wrapper li.swiper-slide img.selected {
    border: 2px solid var(--color-orange);
}
.photo .swiper-section {
    text-align: center;
    display: flex;
    position: relative;
}
.photo .swiper-section .swiper-section-block{
    display: inline-block;
}
.photo .swiper-section .swiper-custom-button-prev, .photo .swiper-section .swiper-custom-button-next {
    width: 8%;
    height: 100%;
    line-height: 100%;
    margin-top: 15px;
}
.photo .swiper-section .swiper-custom-button-prev { padding-right: 5px; }
.photo .swiper-section .swiper-custom-button-next { padding-left: 5px; }
.photo .swiper-section .swiper__container { width: 84%; }
.photo .swiper-custom-pagination {
    position: absolute;
    text-align: right;
    top: 0;
    padding-right: 5px;
}


/* 말줄임표 */
.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
}

/* min-width */
.min-width-fit {
    min-width: fit-content;
}


/* qna */
.qna {
    width: 100%;
    padding: 50px 0;
}
.tb__qna {
    width: 100%;
    text-align: center;
    margin: 10px 0;
    table-layout: fixed;
}
.tb__qna thead tr th {
    padding: 7px 0;
    font-size: 15px;
    font-weight: 700;
    background-color: var(--color-blue-light);
    color: var(--color-gray-6);
}
.tb__qna tbody tr {
    border-bottom: 1px solid var(--color-gray-1);
}
.tb__qna thead tr th{
    padding: 10px 0;
    font-size: 14px;
    font-weight: 700;
}
.tb__qna tbody tr td {
    padding: 10px 0;
    font-size: 14px;
}
.tb__qna thead tr th:nth-child(1),
.tb__qna tbody tr td:nth-child(1),
.tb__qna thead tr th:nth-child(4),
.tb__qna tbody tr td:nth-child(4),
.tb__qna thead tr th:nth-child(6),
.tb__qna tbody tr td:nth-child(6) {
    width: 80px;
}
.tb__qna thead tr th:nth-child(3),
.tb__qna tbody tr td:nth-child(3),
.tb__qna thead tr th:nth-child(5),
.tb__qna tbody tr td:nth-child(5) {
    width: 160px;
}
.tb__qna tbody tr td:nth-child(2) {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media screen and (max-width: 1280px) {
    .tb__qna thead tr th:nth-child(3),
    .tb__qna tbody tr td:nth-child(3),
    .tb__qna thead tr th:nth-child(5),
    .tb__qna tbody tr td:nth-child(5) {
        width: 110px;
    }
}
@media screen and (max-width: 1024px) {
    .tb__qna thead tr th {
        font-size: 13px;
    }
    .tb__qna tbody tr td {
        font-size: 13px;
    }
}
@media screen and (max-width: 768px) {
    .tb__qna {
        border-top: 1px solid var(--color-navy);
    }
    .tb__qna,
    .tb__qna thead,
    .tb__qna tbody,
    .tb__qna thead tr th,
    .tb__qna tbody tr td {
        display: block;
    }
    .tb__qna thead {
        display: none;
    }
    .tb__qna tbody tr {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    .tb__qna tbody tr td {
        text-align: left;
        padding-left: 15px;
        position: relative;
    }
    .tb__qna tbody tr td:nth-child(1) {
        flex: 1 1 35px;
    }
    .tb__qna tbody tr td:nth-child(2) {
        flex: 0 1 calc(100% - 35px);
    }
    .tb__qna tbody tr td:nth-child(3),
    .tb__qna tbody tr td:nth-child(4),
    .tb__qna tbody tr td:nth-child(5),
    .tb__qna tbody tr td:nth-child(6) {
        width: fit-content;
        padding-top: 0;
    }
    .tb__qna tbody tr td:nth-child(4)::before,
    .tb__qna tbody tr td:nth-child(5)::before,
    .tb__qna tbody tr td:nth-child(6)::before {
        content: '';
        display: inline-block;
        width: 1px;
        height: 10px;
        background-color: var(--color-gray-2);
        margin-right: 15px;
    }
}

/* 고객문의 수정, 삭제 추가로인해 공지사항과 비슷한 스타일로 변경 */
.qna__button {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}
.qna__button .right {
    display: flex;
}
.qna__button .right button {
    margin-right: 5px;
}

/* 장바구니 총수량 영역 변경 */
.tb__col7 th:nth-child(1),
.tb__col7 td:nth-child(1) {
    flex: 1 1 50px;
}
.tb__col7 th:nth-child(2),
.tb__col7 td:nth-child(2) {
    flex: 1 1 calc(100% - 125px);
    justify-content: flex-start;
}
.tb__col7 td:nth-child(2) div {
    margin-left: 15px;
}
.tb__col7 th:nth-child(3),
.tb__col7 td:nth-child(3) {
    flex: 1 1 75px;
}

.tb__cart__list {
    width: 100%;
}
.tb__cart__list tr {
    display: table-row;
}
.tb__cart__list th,
.tb__cart__list td {
    display: table-cell;
    text-align: center;
    width: 25%;
}
.tb__cart__list .order__count {
    margin: auto !important;
}

/* 제품상세 유의 사항 p -> pre 태그 사용하여 추가 */
.item__top .info ul li pre {
    line-height: 1.3em;
}

/* 모바일화면 수정(숫자가 3자리 이상인경우 줄넘김) */
@media screen and (max-width: 768px) {
    .tb__board tbody tr td:nth-child(1), .tb__qna tbody tr td:nth-child(1) {
        flex: 1 1 70px !important;
    }
}

@media screen and (max-width: 768px) {
    .tb__board tbody tr td:nth-child(2), .tb__qna tbody tr td:nth-child(2) {
        flex: 0 1 calc(100% - 70px) !important;
    }
}

.swal2-container .btn-confirm {
    --bs-btn-color: #fff !important;
    --bs-btn-bg: #1ee0ac !important;
    --bs-btn-border-color: #1ee0ac !important;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-hover-bg: #1abe92 !important;
    --bs-btn-hover-border-color: #18b38a !important;
    --bs-btn-focus-shadow-rgb: 64, 229, 184 !important;
    --bs-btn-active-color: #fff !important;
    --bs-btn-active-bg: #18b38a !important;
    --bs-btn-active-border-color: #17a881 !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(16, 25, 36, 0.125) !important;
    --bs-btn-disabled-color: #fff !important;
    --bs-btn-disabled-bg: #1ee0ac !important;
    --bs-btn-disabled-border-color: #1ee0ac !important;
}

.swal2-container .btn-cancel {
    --bs-btn-color: #8091a7 !important;
    --bs-btn-border-color: #8091a7 !important;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-hover-bg: #8091a7 !important;
    --bs-btn-hover-border-color: #8091a7 !important;
    --bs-btn-focus-shadow-rgb: 128, 145, 167 !important;
    --bs-btn-active-color: #fff !important;
    --bs-btn-active-bg: #8091a7 !important;
    --bs-btn-active-border-color: #8091a7 !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(16, 25, 36, 0.125) !important;
    --bs-btn-disabled-color: #8091a7 !important;
    --bs-btn-disabled-bg: transparent !important;
    --bs-btn-disabled-border-color: #8091a7 !important;
    --bs-gradient: none !important;
}

/* 배너 줄 간격 1.0em -> 1.3em 변경 */
#slide .slider-container .slider .text__wrap .btm {
    line-height: 1.3em;
}

/* paging mobile */
.paging.mobile {
    display: none;
}

.layer__main {
    width: 672px;
    height: 448px;
    top: calc(50% - 224px);
    left: calc(50% - 336px);
}
.swiper-pagination {
    margin: 5px 5px 0;
}

/* 상품 상세 메인 썸네일 커서 변경 */
.photo__one img {
    cursor: pointer;
}

/* 모바일 화면 메뉴 */
.gnb > li .mobile__a {
    display: none;
}

/* 상세 카테고리 break-word 추가 */
.item__list ul.list__menu li {
    word-wrap: break-word;
}

/* 상세카테고리 선택 */
.category__detail__item {
    margin-right: 5% !important;
}
.category__detail__item__3n {
    margin-right: 0 !important;
}

/* 회사소개 스타일 수정 */
.intro h4 {
    font-weight: 800;
    font-size: 18px;
}
.intro ul {
    padding: 18px 0;
}
.intro li {
    margin-left: 30px;
}
.intro li:nth-child(odd) {
    list-style: disc;
}
.intro li:nth-child(even) {
    list-style: none;
    margin-bottom: 18px;
}
.intro li:last-child {
    margin-bottom: 0;
}

/* 옵션 스타일 변경 */
.tb__order th {
    width: 25%;
}
.tb__order tbody td.hover {
    color: var(--color-orange-dark);
    background-color: var(--color-gray-1);
}

/* 아이템 이미지 수정 */
.item__list ul li .pic {
    display: flex;
    width: 100%;
    border: 1px solid var(--color-gray-2);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* 카테고리 명 */
.category_name {
    cursor: pointer;
}
.category_name:hover {
    color: var(--color-orange-dark);
}

/* 검색결과 max-width 추가 */
.item__list2 {
    max-width: 1180px;
}

@media screen and (max-width: 768px) {
    .paging:not(.mobile) {
        display: none;
    }

    .paging.mobile {
        display: block;
    }

    /* 상세카테고리 선택 */
    .category__detail__item {
        margin-right: 2% !important;
    }
    .category__detail__item__2n {
        margin-right: 0 !important;
    }
}
@media screen and (max-width: 1024px) {
    .layer__main {
        top: 100px;
        left: 5%;
        width: 90%;
        height: 60%;
    }
    .swiper-pagination {
        margin: 5px 5px 0;
    }

    /* 모바일 화면 메뉴 */
    .gnb > li .web__a {
        display: none;
    }
    .gnb > li .mobile__a {
        display: inline-flex;
    }
}