@charset "utf-8";

/* 쇼핑몰 커스텀 스타일 - 비즈니스 라인 디자인 */

/* 인크루트 색상 팔레트 정의 */
:root {
    --primary: #EC6521;           /* 인크루트 메인 오렌지 */
    --primary-light: #FFF4EC;     /* 인크루트 연한 오렌지 */
    --primary-dark: #d85515;      /* 인크루트 어두운 오렌지 */
    --secondary: #333333;         /* 보조 색상 */
    --accent: #EC6521;            /* 강조 색상 */
    --gray-100: #f8f9fa;          /* 가장 밝은 회색 */
    --gray-200: #e9ecef;          /* 밝은 회색 */
    --gray-300: #dee2e6;          /* 중간 밝은 회색 */
    --gray-400: #ced4da;          /* 중간 회색 */
    --gray-500: #adb5bd;          /* 중간 어두운 회색 */
    --gray-600: #6c757d;          /* 어두운 회색 */
    --gray-700: #495057;          /* 더 어두운 회색 */
    --gray-800: #343a40;          /* 가장 어두운 회색 */
    --gray-900: #212529;          /* 거의 검정색 */
    
    /* 텍스트 색상 */
    --text-dark: #333333;
    --text-muted: #666666;
    --text-light: #999999;
    --border: #e5e5e5;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
}

/* 상단 레이아웃 - 비즈니스 라이너 스타일 */
#hd {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* 상단 배너 - 깔끔한 스타일 */
#headTopBanner {
    background: var(--primary-light);
    border-bottom: 1px solid rgba(236, 101, 33, 0.1);
    padding: 8px 0;
    text-align: center;
}

#headTopBanner .banner-cnt a {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;
}

#headTopBanner .banner-cnt a:hover {
    color: var(--primary-dark);
}

/* 메인 헤더 - 비즈니스 스타일 */
.header-main-wrap {
    padding: 20px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 로고 - 강화된 브랜딩 */
.header-logo {
    flex-shrink: 0;
}

.header-logo .main-logo {   
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo .main-logo img {
    max-height: 55px;
    width: auto;
}

/* 검색창 - 개선된 디자인 */
.search-container {
    flex: 1;
    max-width: 500px;
}

.search-wrap {
    display: flex;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    transition: border-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(236, 101, 33, 0.1);
}

.search-wrap input {
    flex: 1;
    border: none;
    padding: 14px 20px;
    font-size: 14px;
    outline: none;
    background: transparent;
}

.search-wrap input::placeholder {
    color: var(--gray-500);
}

.search-btn {
    background: var(--primary);
    border: none;
    padding: 14px 24px;
    cursor: pointer;
    color: var(--white);
    transition: all 0.2s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* 사용자 메뉴 - 깔끔한 스타일 */
.user-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.user-menu li a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

.user-menu li a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.user-menu .cart-btn a {
    position: relative;
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-light);
    border: 1px solid rgba(236, 101, 33, 0.2);
}

.cart-count {
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* 네비게이션 메뉴 - 비즈니스 스타일 */
#gnb {
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    padding: 0;
}

.gnb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gnb-list li {
    flex-shrink: 0;
}

.gnb-list li a {
    display: block;
    padding: 16px 24px;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 14px;
    border-right: 1px solid var(--gray-200);
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.gnb-list li:first-child a {
    color: var(--primary);
    font-weight: 700;
}

.gnb-list li a:hover {
    background: var(--white);
    color: var(--primary);
}

.gnb-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.gnb-list li a:hover::after,
.gnb-list li.active a::after {
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* hd_wrapper 배경 이미지 설정 (투명도 60%) */
#hd_wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('../img/header_bg.jpg'); 배경 이미지 경로 - 실제 이미지로 변경 필요 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6; /* 60% 투명도 */
    z-index: -1;
}

/* 경고 메시지 숨김 */
br + b.warning, br + b + br {
    display: none;
}

#hd_sch {border:2px solid var(--primary);border-radius:5px;}
#hd_sch #sch_str {background:#fff;color:#333}
#hd_sch #sch_submit {background:var(--primary);}

#hd_define li a {color:#626262}
#hd_define li.active a {color:var(--primary)}
#hd_qnb li a {color:#626262}

.hd_login>li.login a {color:var(--primary);border:1px solid var(--primary)}
.hd_login>li a {color:#333}
.hd_login {
    position: relative;
    z-index: 10; /* 배경 이미지 위에 표시되도록 z-index 설정 */
}

#hd_menu {background:#f8f8f8;border-top:1px solid #ddd;border-bottom:1px solid #ddd;}
#hd_menu button#menu_open {background:var(--primary);}
.hd_menu li a {color:#333;border-right:1px solid #e0e0e0}

/* GNB 메뉴 스타일 */
#gnb h2 {
    background: var(--primary);
    color: white;
    padding: 12px 15px;
    margin: 0;
    font-size: 1.1em;
    border-radius: 4px 4px 0 0;
}
#gnb_1dul {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid var(--gray-300);
    border-top: none;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}
.gnb_1dli {
    border-right: 1px solid var(--gray-200);
    flex: 1;
    min-width: 150px;
}
.gnb_1dli:last-child {
    border-right: none;
}
.gnb_1da {
    display: block;
    padding: 12px 15px;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.2s ease;
}
.gnb_1da:hover {
    background: var(--gray-100);
    color: var(--primary);
}
.gnb_1dli.active .gnb_1da {
    background: var(--gray-100);
    color: var(--primary);
    font-weight: bold;
    border-left: 3px solid var(--primary);
}

/* 컨테이너 */
#container {background:#fff; padding:20px;}

/* 상품 섹션 개선 */
.sct_wrap {
    margin-bottom: 40px;
    clear: both;
}

.sct_wrap h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    color: var(--gray-900);
    position: relative;
}

.sct_wrap h2:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--primary-dark);
}

/* 상품 없음 표시 개선 */
.empty_list, .empty_li {
    padding: 30px 0;
    text-align: center;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: 4px;
    margin: 15px 0;
    font-size: 1em;
}

/* 상품 목록 그리드 개선 */
.sct_10 {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.sct_10 .sct_li {
    width: calc(25% - 20px);
    margin: 0 10px 20px;
    position: relative;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

.sct_10 .sct_li:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--primary-light);
}

.sct_10 .sct_img {
    text-align: center;
    padding: 20px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--gray-200);
}

.sct_10 .sct_img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.sct_10 .sct_txt {
    padding: 15px;
    font-weight: 600;
    font-size: 1.1em;
    height: 3em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sct_10 .sct_basic {
    padding: 0 15px;
    color: var(--gray-600);
    font-size: 0.9em;
    height: 3em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sct_10 .sct_cost {
    padding: 15px;
    font-weight: bold;
    color: var(--primary-dark);
    font-size: 1.2em;
}

@media (max-width: 1200px) {
    .sct_10 .sct_li {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .sct_10 .sct_li {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .sct_10 .sct_li {
        width: 100%;
        margin: 0 0 20px;
    }
}

/* 로그인 폼 스타일 */
#ol_before {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 280px;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    margin-top: 8px;
}
#ol_before h2 {
    margin: 0 0 16px;
    font-size: 1.1em;
    color: #333;
    text-align: center;
    font-weight: 600;
}
#ol_before fieldset {
    margin: 0;
    padding: 0;
    border: none;
}
#ol_before .frm_input {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 0.9em;
    transition: border-color 0.3s ease;
}
#ol_before .frm_input:focus {
    border-color: var(--primary);
    outline: none;
}
#ol_auto {
    margin-bottom: 12px;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    gap: 6px;
}
#ol_auto label {
    color: #666;
    font-size: 0.9em;
}
#ol_submit {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 16px;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.2s ease;
}
#ol_submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}
#ol_svc {
    text-align: center;
    font-size: 0.85em;
}
#ol_svc a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}
#ol_svc a:hover {
    color: var(--primary);
}
#ol_svc b {
    color: var(--primary);
}

/* 슬라이더 버튼 스타일 */
.smt_40 .smt_btn {
    position: relative;
    margin: 20px 0 10px;
    text-align: center;
}
.smt_40 .smt_btn button {
    background: var(--primary);
    border: none;
    color: white;
    padding: 6px 12px;
    margin: 0 3px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.2s ease;
}
.smt_40 .smt_btn button:hover {
    background: var(--primary-dark);
}

/* Owl Carousel 커스텀 스타일 */
/* Owl Carousel 스타일 제거됨 - 이제 CSS Grid 사용 */

/* 모든 Owl Carousel 관련 스타일 제거됨 */

/* 메인 배너 스타일 */
#main_bn {
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
#main_bn .slide-wrap {
    padding: 0;
    margin: 0;
    list-style: none;
}
#main_bn .mainbanner {
    position: relative;
    text-align: center;
}
#main_bn .mainbanner img {
    max-width: 100%;
    height: auto;
    display: block;
}
.bx-wrapper {
    margin-bottom: 0 !important;
    box-shadow: none !important;
    border: none !important;
}
.bx-wrapper .bx-controls-direction a {
    background: rgba(255,255,255,0.8) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    transition: all 0.2s ease;
}
.bx-wrapper .bx-controls-direction a:hover {
    background: rgba(255,255,255,1) !important;
}
.bx-wrapper .bx-prev,
.bx-wrapper .bx-next {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-indent: 0 !important;
    font-size: 0 !important;
}
.bx-wrapper .bx-prev:before,
.bx-wrapper .bx-next:before {
    font-family: FontAwesome;
    font-size: 18px;
    color: var(--primary);
}
.bx-wrapper .bx-prev:before {
    content: "\f104";
}
.bx-wrapper .bx-next:before {
    content: "\f105";
}
.bx-wrapper .bx-pager.bx-default-pager a {
    background: var(--gray-300) !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    margin: 0 5px !important;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
    background: var(--primary) !important;
}

/* 상품 목록 카드 스타일 - 비즈니스 라이너 디자인 */
.sct_db .sct_li {
    position: relative;
    margin-bottom: 25px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: row;
    min-height: 240px;
}

.sct_db .sct_li:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.sct_db .sct_img {
    position: relative;
    text-align: center;
    padding: 25px;
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-right: 1px solid var(--gray-200);
}

.sct_db .sct_img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sct_db .sct_li:hover .sct_img img {
    transform: scale(1.05);
}

.sct_db .sct_ct_wrap {
    padding: 25px;
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sct_db .sct_txt {
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-primary);
    height: auto;
    max-height: 3em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sct_db .sct_txt a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sct_db .sct_txt a:hover {
    color: var(--primary);
}

.sct_db .sct_basic {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.95em;
    line-height: 1.6;
    height: auto;
    max-height: 4.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.sct_db .sct_db_info {
    background: var(--primary-light);
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 16px;
    font-size: 0.9em;
    border-left: 4px solid var(--primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sct_db .sct_db_info span {
    display: inline-block;
    margin-right: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.sct_db .sct_db_info .db_count {
    font-weight: 700;
    color: var(--primary);
}

.sct_db .sct_db_info .db_update {
    color: var(--text-secondary);
}

.sct_db .sct_cost {
    font-weight: 800;
    font-size: 1.4em;
    color: var(--primary);
    margin-top: auto;
    margin-bottom: 8px;
}

.sct_db .sct_dict {
    text-decoration: line-through;
    display: block;
    color: var(--gray-500);
    font-size: 0.9em;
    font-weight: 500;
    margin-bottom: 4px;
}

.sct_db .sct_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
}

.sct_db .sct_btn {
    display: flex;
    gap: 8px;
}

.sct_db .sct_btn button,
.sct_db .sct_btn a {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 80px;
}

.sct_db .btn_cart {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.sct_db .btn_cart:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(236, 101, 33, 0.3);
}

.sct_db .btn_detail {
    background: var(--white);
    color: var(--text-secondary);
    border: 1px solid var(--gray-300);
}

.sct_db .btn_detail:hover {
    background: var(--gray-100);
    color: var(--text-primary);
    border-color: var(--gray-400);
}

.sct_db .sct_op_btn {
    display: flex;
    gap: 8px;
}

.sct_db .sct_op_btn button {
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 1.3em;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px;
    border-radius: 6px;
}

.sct_db .sct_op_btn button:hover {
    color: var(--primary);
    background: var(--primary-light);
}

/* 카테고리 네비게이션 */
.sct_ct_wrap {
    /* margin-bottom: 30px; */
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sct_ct_wrap h2 {
    background: var(--primary);
    color: white;
    padding: 12px 15px;
    margin: 0;
    font-size: 1.1em;
}

.sct_ct ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sct_ct li {
    border-bottom: 1px solid var(--gray-200);
}

.sct_ct li:last-child {
    border-bottom: none;
}

.sct_ct a {
    display: block;
    padding: 12px 15px;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.sct_ct a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.sct_ct .active a {
    background: var(--gray-100);
    color: var(--primary);
    font-weight: bold;
    border-left: 3px solid var(--primary);
    padding-left: 12px;
}

/* 추가 카테고리 스타일 */
.sct_ct .count {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gray-200);
    color: var(--gray-700);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8em;
}

.sct_ct a:hover .count {
    background: var(--primary-light);
    color: white;
}

.sct_ct .active a .count {
    background: var(--primary);
    color: white;
}

/* 카테고리 아코디언 */
.sct_ct .sub_category {
    display: none;
    background: var(--gray-100);
    padding-left: 15px;
}

.sct_ct .sub_category.active {
    display: block;
}

.sct_ct .sub_category li {
    border-bottom: 1px dotted var(--gray-300);
}

.sct_ct .sub_category li:last-child {
    border-bottom: none;
}

.sct_ct .sub_category a {
    padding: 10px 15px;
    font-size: 0.95em;
}

.sct_ct .sub_category .active a {
    background: white;
}

/* 상품 정렬 옵션 */
#sct_sort {
    margin-bottom: 20px;
    background: var(--gray-100);
    padding: 10px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

#sct_sort .sct_sort_list {
    display: flex;
    gap: 15px;
}

#sct_sort a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

#sct_sort a:hover,
#sct_sort a.active {
    color: var(--primary);
    font-weight: bold;
}

/* 헤더 반응형 디자인 - 개선된 모바일 UX */
@media (max-width: 1024px) {
    .header-main {
        gap: 30px;
        padding: 0 15px;
    }
    
    .search-container {
        max-width: 400px;
    }
    
    .user-menu {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    #headTopBanner {
        padding: 6px 0;
    }
    
    #headTopBanner .banner-cnt a {
        font-size: 12px;
    }
    
    .header-main-wrap {
        padding: 15px 0;
    }
    
    .header-main {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .header-logo .main-logo {
        font-size: 24px;
    }
    
    .header-logo .main-logo img {
        max-height: 45px;
    }
    
    .search-container {
        order: -1;
        max-width: 100%;
        width: 100%;
    }
    
    .search-wrap {
        border-radius: 6px;
    }
    
    .search-wrap input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .search-btn {
        padding: 12px 20px;
    }
    
    .user-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .user-menu li a {
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .gnb-list {
        flex-wrap: wrap;
        padding: 0 15px;
    }
    
    .gnb-list li a {
        padding: 14px 20px;
        font-size: 13px;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .gnb-list li:last-child a {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header-main {
        padding: 0 10px;
    }
    
    .header-logo .main-logo {
        font-size: 20px;
    }
    
    .header-logo .main-logo img {
        max-height: 40px;
    }
    
    .search-wrap input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .search-btn {
        padding: 10px 16px;
    }
    
    .user-menu {
        gap: 10px;
    }
    
    .user-menu li a {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .gnb-list {
        flex-direction: column;
        padding: 0 10px;
    }
    
    .gnb-list li {
        width: 100%;
    }
    
    .gnb-list li a {
        text-align: center;
        padding: 12px 15px;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
}

/* 원래 반응형 디자인 */
@media (max-width: 1199px) {
    .sct_db .sct_li {
        height: auto;
        min-height: 200px;
    }
    
    .sct_db .sct_txt {
        height: auto;
        max-height: 3em;
    }
    
    .sct_db .sct_basic {
        height: auto;
        max-height: 4em;
    }
}

@media (max-width: 991px) {
    #sit_ov_wrap {
        flex-direction: column;
    }
    
    #sit_pvi, #sit_ov {
        width: 100%;
    }
    
    /* 모바일 상품 카드 - 세로 배치 */
    .sct_db .sct_li {
        flex-direction: column;
        height: auto;
        min-height: auto;
        margin-bottom: 20px;
    }
    
    .sct_db .sct_img,
    .sct_db .sct_ct_wrap {
        width: 100%;
    }
    
    .sct_db .sct_img {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
        height: 200px;
        padding: 20px;
    }
    
    .sct_db .sct_ct_wrap {
        padding: 20px;
    }
    
    .sct_db .sct_txt {
        font-size: 1.1em;
        margin-bottom: 10px;
    }
    
    .sct_db .sct_basic {
        font-size: 0.9em;
        margin-bottom: 12px;
        max-height: 3.6em;
        -webkit-line-clamp: 2;
    }
    
    .sct_db .sct_db_info {
        padding: 10px 12px;
        margin-bottom: 12px;
    }
    
    .sct_db .sct_cost {
        font-size: 1.3em;
        margin-bottom: 6px;
    }
    
    .sct_db .sct_bottom {
        margin-top: 15px;
        padding-top: 15px;
        flex-direction: column;
        gap: 12px;
    }
    
    .sct_db .sct_btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .sct_db .sct_btn button,
    .sct_db .sct_btn a {
        flex: 1;
        margin: 0 4px;
    }
    
    .sct_db .sct_op_btn {
        justify-content: center;
    }
    
    .sct_ct_wrap {
        display: flex;
        flex-direction: column;
    }
    
    .root_category {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .root_category li {
        flex: 1 0 auto;
        min-width: 120px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    #sit_ov_btn {
        flex-direction: column;
    }
    
    #sit_btn_buy, #sit_btn_cart, #sit_btn_wish {
        width: 100%;
        margin-bottom: 5px;
    }
    
    #sct_sort {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    #sct_sort .sct_sort_list {
        flex-wrap: wrap;
    }
    
    .sct_db .sct_bottom {
        flex-direction: column;
        gap: 10px;
    }
    
    .sct_db .sct_btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .sct_db .sct_op_btn {
        justify-content: center;
    }
    
    .sct_db .btn_cart,
    .sct_db .btn_detail {
        flex: 1;
        text-align: center;
    }
    
    .sit_db_table th {
        width: 100px;
    }
    
    .root_category {
        flex-direction: column;
    }
    
    .root_category li {
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 480px) {
    /* 초소형 모바일 상품 카드 최적화 */
    .sct_db .sct_li {
        margin-bottom: 15px;
        border-radius: 6px;
    }
    
    .sct_db .sct_img {
        height: 160px;
        padding: 15px;
    }
    
    .sct_db .sct_ct_wrap {
        padding: 15px;
    }
    
    .sct_db .sct_txt {
        font-size: 1em;
        margin-bottom: 8px;
        max-height: 2.4em;
        -webkit-line-clamp: 2;
    }
    
    .sct_db .sct_basic {
        font-size: 0.85em;
        margin-bottom: 10px;
        max-height: 2.4em;
        -webkit-line-clamp: 2;
    }
    
    .sct_db .sct_db_info {
        padding: 8px 10px;
        margin-bottom: 10px;
        font-size: 0.8em;
    }
    
    .sct_db .sct_cost {
        font-size: 1.2em;
        margin-bottom: 5px;
    }
    
    .sct_db .sct_bottom {
        margin-top: 12px;
        padding-top: 12px;
        gap: 10px;
    }
    
    .sct_db .sct_btn button,
    .sct_db .sct_btn a {
        padding: 8px 12px;
        font-size: 0.85em;
        margin: 0 2px;
    }
    
    .sct_db .sct_op_btn button {
        font-size: 1.2em;
        padding: 6px;
    }
    
    .sit_info table {
        font-size: 0.9em;
    }
    
    .sit_db_table th {
        width: 80px;
        padding: 8px;
        font-size: 0.85em;
    }
    
    .sit_db_table td {
        padding: 8px;
        font-size: 0.85em;
    }
    
    /* 카테고리 모바일 최적화 */
    .root_category {
        flex-direction: column;
        gap: 5px;
    }
    
    .root_category li {
        width: 100%;
        text-align: left;
        min-width: auto;
    }
    
    /* 정렬 옵션 모바일 */
    #sct_sort {
        padding: 8px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    #sct_sort .sct_sort_list {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    #sct_sort a {
        font-size: 0.85em;
    }
}
