@charset "utf-8";




/*사이드 메뉴*/
#side_menu {height:100%;position:fixed;top:0;right:0;background:#fff;border-left:1px solid #e5e7ea;z-index:120;padding-left:50px;-webkit-box-shadow:0 1px 5px #d6d6d6;
-moz-box-shadow:0 1px 5px #d6d6d6;
box-shadow:0 1px 5px #d6d6d6}

#quick {position:absolute;top:50%;left:0;width:50px;margin-top:-157.5px}
#quick li {position:relative}
#quick li button {width:50px;height:50px;border:0;font-size:1.325em;background:#fff;color:#495057}
#quick .qk_tit {display:none;position:absolute;top:12px;right:60px;white-space:pre;padding:0 15px;line-height:30px;background:#8b929c;color:#fff;font-size:0.75em;border-radius:5px}
#quick .qk_tit:after {content:"";position:absolute;top:10px;right:-8px;display:inline-block;width:0;height:0;border-style:solid;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #8b929c;color:transparent}
#quick li:hover .qk_tit {display:block}

#tabs_con {height:100%;text-align:left}

.side_mn_wr1 {display:none;width:230px;overflow-y:auto;height:100%}
.side_mn_wr2 {display:none;width:230px;overflow-y:auto;height:100%}
.side_mn_wr3 {display:none;width:230px;overflow-y:auto;height:100%}
.side_mn_wr4 {display:none;width:230px;overflow-y:auto;height:100%}
.btn_sm_on i {color:#3a8afd}

.qk_con {display:none;position:relative;width:230px;height:100%;background:#fff;border-left:1px solid #f0f0f0}
.qk_con h2.s_h2 {position:relative;margin:0;font-size:1.25em;padding:15px;border-bottom:1px solid #e5e7ea}
.qk_con h2.s_h2 span {display:inline-block;min-width:20px;padding:2px 8px;border-radius:30px;text-align:center;background:#eff5ff;color:#3b8afc;font-size:0.7em;font-weight:normal;vertical-align:text-bottom}
.qk_con_wr {padding:0;height:100%;overflow-y:auto}
.qk_con_wr .btn_side_shop {position:relative;width:100%;height:30px;background:none;border:0;text-align:left;font-weight:bold}
.qk_con_wr .btn_side_shop span {position:absolute;top:5px;right:0;padding:0 5px;line-height:20px;border-radius:10px;color:#fff;background:#ed1c24}
.qk_con_wr .con_close {position:fixed;top:0;right:230px;width:50px;height:50px;border:0;background:none;font-size:25px;color:#dedede}
.qk_con_wr .con_close:hover {color:rgba(0,0,0,0.8)}
.qk_con_wr .side_tnb {padding:25px}
.qk_con_wr .side_tnb li a {display:block;line-height:28px;color:#465168;padding:5px 0}
.qk_con_wr .side_tnb li:hover a {color:#3a8afd}

#category {display:none;position:absolute;border:1px solid #c5d6da;width:100%;background:#fff;z-index:1000;-webkit-box-shadow:0 2px 5px rgba(0,0,0,0.2);
-moz-box-shadow:0 2px 5px rgba(0,0,0,0.2);
box-shadow:0 2px 5px rgba(0,0,0,0.2)}
#category h2 {font-size:1.3em;padding:15px 20px;border-bottom:1px solid #e7eeef}
#category ul:after {display:block;visibility:hidden;clear:both;content:""}
#category ul li:nth-child(5n+1) {border-left:0}
#category .cate_li_1 {float:left;width:20%;min-height:150px;padding:20px;border-left:1px solid #e7eeef}
#category .cate_li_1_a {font-size:1.2em;display:block;position:relative;margin-bottom:10px;font-weight:bold;color:#3a8afd}
#category .cate_li_2 {line-height:2em}
#category .cate_li_2 a {color:#555}
#category .close_btn {position:absolute;top:0;right:0;width:50px;height:50px;background:#fff;color:#b6b9bb;border:0;vertical-align:top;font-size:18px}
#category_all_bg {display:none;background:rgba(0,0,0,0.1);width:100%;height:100%;position:fixed;left:0;top:0;z-index:999}
#category .no-cate{text-align:center;padding:15px}







        /* 나눔고딕 폰트 임포트 */
        @import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&display=swap');

        /* 폰트 rem 단위를 위한 기본 설정 */
        html {
            font-size: 1.2rem; /* 1rem = 16px */
        }
        body {
            font-family: 'Nanum Gothic', sans-serif; /* 나눔고딕 폰트 설정 */
            background-color: #ffffff; /* 전체 페이지 배경색 */
            display: flex;
            justify-content: center; /* 전체 페이지 내용을 중앙 정렬 */
            min-height: 100vh; /* 최소 높이를 뷰포트 높이로 설정 */
             font-size: 1.2rem; /* 기본 본문 = 16px */
}
        }

        /* 고정폭 1920px 컨테이너 */
        .container-fixed {
            width: 1920px;
            max-width: 1920px;
        }

        /* ----- 인라인 스타일을 옮긴 ID 선택자 CSS 규칙 ----- */
        #top-spacer {
            height: 100px;
        }

        #main-column {
            width: 880px; /* 좌측 열 너비 880px로 수정 */
        }

        #login-board-container, #notice-board-container {
            width: 320px;
        }

        #main-banner-container {
            width: 480px;
            margin-top: -50px;
        }

        #main-banner-image {
            width: 480px;
        }

        #main-content-div {
            width: 880px; /* 메인 콘텐츠 너비를 좌측 열에 맞춰 수정 */
            min-height: 500px;
            border: 1px dashed #ccc;
            padding: 1rem;
        }

        #right-column, #banner1-container, #customer-board-container, #banner2-container {
            width: 320px; /* 우측 열과 내부 컨테이너 너비를 320px로 유지 */
        }

        #girlman-model-container {
            margin-top: -50px;
        }

        #girlman-model-image {
            width: 100%; /* 부모 컨테이너 너비에 맞게 100%로 설정 */
            height: auto;
        }

        #banner1-image, #banner2-image {
            width: 100%; /* 부모 컨테이너 너비에 맞게 100%로 설정 */
        }
        
        #footer-banner-container, #footer-content-container {
            width: 1000px;
        }

        #footer-banner-image {
            height: 100px;
            border-radius: 0.5rem;
        }

        #top_btn {
            position: fixed;
            right: 20px;
            bottom: 20px;
            z-index: 1040;
            background-color: #5a0f1d;
            border: none;
        }

        /* ----- 기존 스타일 규칙 ----- */
        /* 로그인/회원가입 버튼 스타일 */
        .login-signup-buttons {
            width: 100%; /* 부모 요소의 너비에 맞게 100%로 설정 */
            height: 2.5rem;
            background-color: #7f182b;
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-radius: 0.3125rem;
            overflow: hidden;
        }
        .login-signup-buttons a {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
            color: #ffffff;
            font-size: 0.875rem;
            font-weight: bold;
            text-decoration: none;
            transition: background-color 0.2s ease-in-out;
        }
        .login-signup-buttons a:hover {
            background-color: #a0203f;
        }
        .login-signup-buttons a:first-child {
            border-right: 1px solid rgba(255, 255, 255, 0.3);
        }

        /* 메인 메뉴 스타일 */
        .main-menu {
            width: 880px; /* 메인 메뉴 너비를 좌측 열에 맞춰 수정 */
            height: 2.5rem;
            background-color: #7f182b;
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-radius: 0.3125rem;
            overflow: hidden;
        }
        .main-menu a {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
            color: #ffffff;
            font-size: 0.875rem;
            font-weight: bold;
            text-decoration: none;
            transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out, font-weight 0.3s ease-in-out;
            white-space: nowrap;
            padding: 0 0.5rem;
        }
        .main-menu a:hover {
            background-color: #9c2a4a;
            font-weight: 900;
            transform: scale(1.05);
        }

        /* 로고 텍스트 스타일 */
        .logo-container {
            width: 18.375rem;
            height: 5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            transition: transform 0.3s ease-in-out;
            gap: 0;
        }
        .logo-container:hover {
            transform: translateY(-5px);
        }
        .logo-text-main {
            font-size: 3rem;
            font-weight: 800;
            color: #7f182b;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
            transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
        }
        .logo-container:hover .logo-text-main {
            color: #a0203f;
            text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
        }
        .logo-text-sub {
            font-size: 1rem;
            font-weight: 400;
            color: #7f182b;
            transition: color 0.3s ease-in-out;
            margin-top: -0.1rem;
        }
        .logo-container:hover .logo-text-sub {
            color: #a0203f;
        }

        /* 푸터 스타일 */
        .footer-content {
            background-color: #7f182b;
            color: #ffffff;
            font-size: 0.875rem;
            padding: 1rem 0;
            text-align: center;
        }
        .footer-content a {
            color: #fff;
            text-decoration: none;
            font-weight: bold;
        }
        .footer-content a:hover {
            color: #a0203f;
            text-decoration: underline;
        }

        /* 게시판 스타일 */
        .board-container {
            border: 0.625rem solid #7f182b;
            background-color: #ffffff;
            border-radius: 0.5rem;
            overflow: hidden;
        }
        .board-title {
            background-color: #7f182b;
            padding: 0.625rem;
            font-size: 1rem;
            font-weight: 700;
            color: #ffffff;
            text-align: center;
        }
        .board-list {
            padding: 0.625rem 0.625rem 0 0.625rem;
        }
        .board-list ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .board-list li {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.3125rem 0;
            border-bottom: 1px dashed #eee;
        }
        .board-list li:last-child {
            border-bottom: none;
        }
        .board-list a {
            color: #343434;
            font-size: 0.75rem;
            font-weight: 400;
            text-decoration: none;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: calc(100% - 3.125rem);
        }
        .board-list span {
            font-size: 0.75rem;
            color: #343434;
            font-weight: 400;
            flex-shrink: 0;
        }

        /* Scroll to Top button */
        #top_btn {
            position: fixed;
            right: 20px;
            bottom: 20px;
            z-index: 1040;
            background-color: #5a0f1d;
            border: none;
            color: #fff;
            font-size: 1.5rem;
            padding: 10px 15px;
            border-radius: 50%;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
        }
        #top_btn:hover {
            background-color: #7f182b;
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.3);
        }











/* 상품 액션 */




.product-item {
    transition: box-shadow 0.3s ease;
    border-radius: 10px;
}

.product-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.product-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* 마우스 오버 시 이미지 확대 */
.product-item:hover .product-image-container img {
    transform: scale(1.08);
}

.product-title {
    font-size: 1.1rem;
    color: #212529;
}

.product-desc {
    color: #6c757d;
}

.product-price {
    font-size: 1.3rem;
    color: #dc3545; /* 가격을 빨간색으로 강조 */
}

/* 품절 상품 오버레이 */
.sold-out .product-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
}

.sold-out .card-img-top {
    filter: grayscale(100%);
}

.sold-out .sold-out-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 상품 정보가 없는 경우의 대비책 */
.product-item .card-body p, .product-item .card-body h5 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}