@charset "utf-8";
/* ==========================================================================
   centuryeveronce — storefront skin
   원본(sixshop) 디자인 토큰을 그대로 이식한 오버라이드 스타일시트.
   default_shop.css 다음에 로드되어 상점 전면(헤더/히어로/그리드/상세/푸터)을 덮어쓴다.
   장바구니·주문·마이페이지 등 기능 페이지는 기본 테마 스타일을 그대로 쓴다.
   ========================================================================== */

@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);
@import url(//fonts.googleapis.com/css?family=Karla:400,700&display=swap);
@import url(//fonts.googleapis.com/css?family=Nanum+Gothic:400,700&display=swap);

:root {
    --ceo-bg: #FFFFFF;
    --ceo-fg: #000000;
    --ceo-muted: #4B4B4B;
    --ceo-assi: #999999;
    --ceo-line: #CCCCCC;
    --ceo-accent: #FF0000;
    --ceo-header-h: 78px;

    --ceo-font-logo: Karla, "Helvetica Neue", Arial, sans-serif;
    --ceo-font-menu: Arial, "Helvetica Neue", sans-serif;
    --ceo-font-title: "Nanum Gothic", "Malgun Gothic", sans-serif;
    --ceo-font-body: "Noto Sans KR", "Malgun Gothic", sans-serif;
}

/* --------------------------------------------------------------------------
   기본 바탕
   -------------------------------------------------------------------------- */
body {
    background: var(--ceo-bg);
    color: var(--ceo-muted);
    font-family: var(--ceo-font-body);
    letter-spacing: .01em;
}
#wrapper, #container { background: var(--ceo-bg); }

/* 기본 테마의 상단/하단/사이드 장식은 전부 감춘다 */
#hd_login_msg, #tnb, #hd_wrapper, #hd_menu, #aside, #ft, #side_menu,
#wrapper_title, #text_size, #skip_to_container, #hd_h1 { display: none !important; }

/* 기본 상점 CSS 의 고정 폭(min-width:1200px)을 풀어 반응형으로 만든다 */
html, body { max-width: 100%; overflow-x: hidden; }
#hd, #wrapper, #ft { min-width: 0 !important; }
#wrapper { width: auto !important; max-width: none; margin: 0; padding: 0; }
#container { width: auto !important; max-width: none; margin: 0; padding: 0; min-height: 0 !important; }
#container .shop-content { width: auto; max-width: none; float: none; margin: 0; padding: 0; }
#container:after, #wrapper:after { content: ""; display: block; clear: both; }
img { max-width: 100%; }

/* --------------------------------------------------------------------------
   헤더 — 좌: 햄버거+SHOP 메뉴 / 중앙: 로고 / 우: Search·Log In·Cart
   -------------------------------------------------------------------------- */
.ceo-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    height: var(--ceo-header-h);
    transition: background-color .25s ease, color .25s ease;
    background: transparent;
}
.ceo-header .ceo-header-bg {
    position: absolute; inset: 0;
    background: #000;
    opacity: 0;
    transition: opacity .25s ease;
}
.ceo-header.scrolled .ceo-header-bg { opacity: 1; }

/* 히어로가 없는 페이지는 흰 배경 + 검정 글자로 고정 */
.ceo-header.solid { background: var(--ceo-bg); border-bottom: 1px solid #EEEEEE; }
.ceo-header.solid .ceo-header-bg { display: none; }

.ceo-header-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 40px;
}
.ceo-col { display: flex; align-items: center; }
.ceo-col-left { flex: 1 1 0; justify-content: flex-start; }
.ceo-col-center { flex: 0 0 auto; justify-content: center; }
.ceo-col-right { flex: 1 1 0; justify-content: flex-end; gap: 26px; }

/* 로고 */
.ceo-logo { display: block; line-height: 0; }
.ceo-logo img { width: 200px; height: auto; display: block; }
.ceo-logo .logo-light { display: none; }
.ceo-logo .ceo-logo-text {
    font-family: var(--ceo-font-logo);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: .1em;
    color: var(--ceo-accent);
    line-height: 1;
}

/* 좌측 메뉴 */
.ceo-menu > ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.ceo-menu > ul > li { position: relative; margin-right: 50px; }
.ceo-menu a, .ceo-menu .menu-name {
    font-family: var(--ceo-font-menu);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0;
    color: var(--ceo-fg);
    text-decoration: none;
    cursor: pointer;
    display: block;
}
.ceo-submenu {
    display: none;
    position: absolute;
    top: 100%; left: -18px;
    min-width: 190px;
    margin: 0; padding: 14px 0;
    list-style: none;
    background: #000;
    border: 1px solid rgb(13,13,13);
}
.ceo-menu > ul > li:hover .ceo-submenu { display: block; }
.ceo-submenu li { margin: 0; }
.ceo-submenu a {
    font-size: 15px;
    font-weight: 400;
    color: #FFFFFF;
    padding: 9px 24px;
    white-space: nowrap;
}
.ceo-submenu a:hover { color: var(--ceo-accent); }

/* 우측 유틸 */
.ceo-hd-link {
    font-family: var(--ceo-font-menu);
    font-weight: 400;
    font-size: 15px;
    color: var(--ceo-fg);
    text-decoration: none;
    white-space: nowrap;
}
.ceo-hd-link .ceo-cart-count { font-weight: 700; }

/* 햄버거 (모바일 전용) */
.ceo-hamburger {
    display: none;
    width: 26px; height: 26px;
    padding: 0; border: 0; background: none; cursor: pointer;
    position: relative;
}
.ceo-hamburger span {
    position: absolute; left: 0; right: 0; height: 2px;
    background: var(--ceo-fg);
    transition: background-color .25s ease;
}
.ceo-hamburger span:nth-child(1) { top: 5px; }
.ceo-hamburger span:nth-child(2) { top: 12px; }
.ceo-hamburger span:nth-child(3) { top: 19px; }

/* 히어로 위에 얹힌 상태 — 로고/메뉴/유틸을 흰색으로 */
.ceo-header.on-hero:not(.scrolled) .ceo-menu a,
.ceo-header.on-hero:not(.scrolled) .ceo-hd-link,
.ceo-header.on-hero:not(.scrolled) .ceo-logo .ceo-logo-text { color: #FFFFFF; }
.ceo-header.on-hero:not(.scrolled) .ceo-hamburger span { background: #FFFFFF; }
.ceo-header.on-hero:not(.scrolled) .ceo-logo .logo-dark { display: none; }
.ceo-header.on-hero:not(.scrolled) .ceo-logo .logo-light { display: block; }

/* 스크롤 후 검정 배경 — 글자는 흰색 유지 */
.ceo-header.scrolled .ceo-menu a,
.ceo-header.scrolled .ceo-hd-link,
.ceo-header.scrolled .ceo-logo .ceo-logo-text { color: #FFFFFF; }
.ceo-header.scrolled .ceo-hamburger span { background: #FFFFFF; }
.ceo-header.scrolled .ceo-logo .logo-dark { display: none; }
.ceo-header.scrolled .ceo-logo .logo-light { display: block; }

/* 히어로가 없는 페이지는 본문을 헤더 높이만큼 밀어준다 */
#container .shop-content.ceo-page { padding-top: var(--ceo-header-h); }

/* --------------------------------------------------------------------------
   히어로 — 전체화면 배경 이미지
   -------------------------------------------------------------------------- */
.ceo-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}
.ceo-hero-bg {
    position: absolute; inset: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   상품 그리드 — 3열, 3:4 비율, 이미지 아래 텍스트, hover 시 두 번째 이미지
   -------------------------------------------------------------------------- */
.ceo-section { padding: 80px 0 100px; }
.ceo-inner { max-width: 1200px; margin: 0 auto; padding: 0 30px; }

.ceo-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 0 46px;
    padding: 0;
    list-style: none;
}
.ceo-filter a {
    font-family: var(--ceo-font-menu);
    font-weight: 700;
    font-size: 15px;
    color: var(--ceo-assi);
    text-decoration: none;
    text-transform: lowercase;
}
.ceo-filter a:hover, .ceo-filter .now a { color: var(--ceo-fg); }

ul.ceo-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
    padding: 0;
    list-style: none;
}
ul.ceo-grid > li {
    width: calc(33.3333% - 20px);
    margin: 10px;
    padding: 0;
    background: none;
    border: 0;
    list-style: none;
}
.ceo-card a { display: block; text-decoration: none; color: inherit; }
.ceo-thumb {
    position: relative;
    width: 100%;
    padding-top: 133.3333%;   /* 3:4 */
    overflow: hidden;
    background: #FFFFFF;
}
.ceo-thumb img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    /* 원본 상품컷은 비율이 제각각이라 잘라내지 않고 흰 바탕에 맞춰 넣는다 */
    object-fit: contain;
    display: block;
    transition: opacity .35s ease;
}
.ceo-thumb .ceo-img-hover { opacity: 0; }
.ceo-card:hover .ceo-thumb .ceo-img-hover { opacity: 1; }

.ceo-soldout {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 2;
    background: #000;
    color: #FFF;
    font-family: var(--ceo-font-menu);
    font-size: 11px;
    letter-spacing: .05em;
    padding: 5px 9px;
}
.ceo-meta { padding: 12px 2px 0; text-align: center; }
.ceo-name {
    font-family: var(--ceo-font-title);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .03em;
    color: var(--ceo-fg);
    line-height: 1.5;
    word-break: break-word;
}
.ceo-price {
    font-family: var(--ceo-font-title);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0;
    color: var(--ceo-fg);
    margin-top: 5px;
}
.ceo-price .ceo-price-sold { color: var(--ceo-assi); }
.ceo-noitem {
    text-align: center;
    padding: 90px 0;
    font-family: var(--ceo-font-body);
    font-size: 14px;
    color: var(--ceo-assi);
}

/* 페이지 제목 (카테고리명) */
.ceo-page-title {
    text-align: center;
    font-family: var(--ceo-font-menu);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: .02em;
    color: var(--ceo-fg);
    margin: 0 0 40px;
    text-transform: lowercase;
}

/* 페이지네이션 */
.ceo-paging { text-align: center; padding: 56px 0 0; }
.ceo-paging .pg_page, .ceo-paging .pg_current {
    font-family: var(--ceo-font-menu);
    font-size: 14px;
    border: 0;
    background: none;
    color: var(--ceo-assi);
    padding: 0 8px;
    line-height: 1;
}
.ceo-paging .pg_current { color: var(--ceo-fg); font-weight: 700; }

/* --------------------------------------------------------------------------
   상품 상세
   -------------------------------------------------------------------------- */
.ceo-detail { padding: calc(var(--ceo-header-h) + 60px) 0 100px; }
.ceo-detail-inner { max-width: 1200px; margin: 0 auto; padding: 0 30px; display: flex; gap: 60px; }
.ceo-detail-images { flex: 1 1 58%; min-width: 0; }
.ceo-detail-images img { width: 100%; height: auto; display: block; margin-bottom: 10px; }
.ceo-detail-info { flex: 1 1 42%; min-width: 0; position: sticky; top: calc(var(--ceo-header-h) + 40px); align-self: flex-start; }
.ceo-detail-name {
    font-family: var(--ceo-font-title);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: .02em;
    color: var(--ceo-fg);
    margin: 0 0 14px;
}
.ceo-detail-price {
    font-family: var(--ceo-font-title);
    font-weight: 700;
    font-size: 22px;
    color: var(--ceo-fg);
    margin: 0 0 30px;
}

/* --------------------------------------------------------------------------
   푸터
   -------------------------------------------------------------------------- */
.ceo-footer {
    background: var(--ceo-bg);
    color: var(--ceo-fg);
    padding: 20px 30px 46px;
    text-align: center;
}
.ceo-footer-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 26px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}
.ceo-footer-menu a {
    font-family: var(--ceo-font-logo);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: .01em;
    color: var(--ceo-fg);
    text-decoration: none;
}
.ceo-footer-menu a:hover { color: var(--ceo-accent); }
.ceo-footer-sns { font-size: 22px; margin: 0 0 18px; }
.ceo-footer-sns a { color: var(--ceo-fg); text-decoration: none; }
.ceo-footer-sns a:hover { color: var(--ceo-accent); }
.ceo-footer-copyright {
    font-family: var(--ceo-font-title);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: .11em;
    color: var(--ceo-fg);
    margin-top: 14px;
}

/* 사업자정보 — 초기화면 표시 대상이라 항상 노출 */
.ceo-bizinfo {
    max-width: 960px;
    margin: 0 auto;
    font-family: var(--ceo-font-title);
    font-size: 12px;
    line-height: 1.9;
    color: var(--ceo-muted);
}
.ceo-biz-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; }
.ceo-bizinfo b { color: var(--ceo-fg); font-weight: 700; margin-right: 5px; }

/* --------------------------------------------------------------------------
   상단 이동 버튼
   -------------------------------------------------------------------------- */
.ceo-top-btn {
    position: fixed;
    right: 26px; bottom: 26px;
    z-index: 800;
    width: 44px; height: 44px;
    border: 0; border-radius: 6px;
    background: rgba(0,0,0,.75);
    color: #FFF;
    cursor: pointer;
    display: none;
    font-size: 16px;
    line-height: 44px;
    text-align: center;
    padding: 0;
}
.ceo-top-btn.show { display: block; }

/* --------------------------------------------------------------------------
   모바일 서랍 메뉴
   -------------------------------------------------------------------------- */
.ceo-drawer {
    position: fixed;
    top: 0; bottom: 0; left: 0;
    width: 280px;
    max-width: 82vw;
    z-index: 1000;
    background: #000;
    color: #FFF;
    padding: 30px 28px;
    transform: translateX(-100%);
    transition: transform .3s ease;
    overflow-y: auto;
}
.ceo-drawer.open { transform: translateX(0); }
.ceo-drawer-logo { margin-bottom: 34px; display: block; }
.ceo-drawer-logo img { width: 150px; height: auto; }
.ceo-drawer ul { list-style: none; margin: 0 0 26px; padding: 0; }
.ceo-drawer li { margin: 0 0 16px; }
.ceo-drawer a {
    font-family: "Nanum Gothic Coding", var(--ceo-font-menu);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .03em;
    color: #FFFFFF;
    text-decoration: none;
}
.ceo-drawer a:hover { color: var(--ceo-accent); }
.ceo-drawer .ceo-drawer-util a { font-size: 14px; font-weight: 400; }
.ceo-drawer-close {
    position: absolute; top: 18px; right: 18px;
    background: none; border: 0; color: #FFF;
    font-size: 22px; line-height: 1; cursor: pointer; padding: 4px;
}
.ceo-dim {
    position: fixed; inset: 0;
    z-index: 999;
    background: rgba(0,0,0,.5);
    display: none;
}
.ceo-dim.open { display: block; }

/* --------------------------------------------------------------------------
   반응형
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    ul.ceo-grid > li { width: calc(50% - 20px); }
    .ceo-detail-inner { flex-direction: column; gap: 34px; }
    .ceo-detail-info { position: static; }
}

@media (max-width: 768px) {
    :root { --ceo-header-h: 60px; }

    .ceo-header-inner { padding: 0 18px; }
    .ceo-hamburger { display: block; }
    .ceo-menu { display: none; }
    .ceo-col-right { gap: 16px; }
    .ceo-col-right .ceo-hd-link.hide-mobile { display: none; }
    .ceo-logo img { width: 132px; }
    .ceo-logo .ceo-logo-text { font-size: 17px; }

    .ceo-section { padding: 46px 0 60px; }
    .ceo-inner { padding: 0 16px; }
    ul.ceo-grid { margin: -6px; }
    ul.ceo-grid > li { width: calc(100% - 12px); margin: 6px; }
    .ceo-name { font-size: 12px; }
    .ceo-price { font-size: 11px; }
    .ceo-filter { gap: 16px 20px; margin-bottom: 30px; }
    .ceo-filter a { font-size: 13px; }
    .ceo-page-title { font-size: 18px; margin-bottom: 26px; }

    .ceo-detail { padding: calc(var(--ceo-header-h) + 24px) 0 60px; }
    .ceo-detail-inner { padding: 0 16px; }
    .ceo-detail-name { font-size: 17px; }
    .ceo-detail-price { font-size: 13px; }

    .ceo-hero-bg { background-size: contain; }

    .ceo-footer { padding: 20px 18px 40px; }
    .ceo-footer-menu { gap: 18px; }
    .ceo-footer-menu a { font-size: 13px; }
    .ceo-bizinfo, .ceo-footer-copyright { font-size: 11px; }
    .ceo-biz-row { gap: 0 10px; }
}

/* ==========================================================================
   영카트 기본 마크업 위에 얹는 오버라이드
   (기능은 그대로 두고 겉모습만 원본에 맞춘다)
   ========================================================================== */

/* --------------------------------------------------------------------------
   분류 페이지 (/shop/list.php)
   -------------------------------------------------------------------------- */
#sct {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 30px 100px;
    clear: both;
}
#sct_hhtml:empty, #sct_thtml:empty { display: none; }
#sct_sortlst { display: none; }
#sct .sct_admin { display: none; }

/* 분류 페이지 페이지네이션 */
#sct .pg_wrap { text-align: center; padding: 56px 0 0; }
#sct .pg { display: inline-block; }
#sct .pg_page, #sct .pg_current {
    font-family: var(--ceo-font-menu);
    font-size: 14px;
    border: 0;
    background: none;
    color: var(--ceo-assi);
    padding: 0 8px;
    line-height: 1;
    text-decoration: none;
}
#sct .pg_current { color: var(--ceo-fg); font-weight: 700; }

/* 검색 결과 페이지도 같은 폭으로 */
#sch_res, #sch_result {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 30px 100px;
}

/* --------------------------------------------------------------------------
   상품 상세 (/shop/item.php)
   -------------------------------------------------------------------------- */
#sit { margin: 0; }
#sit .sit_admin { display: none; }
#sit_hhtml:empty, #sit_thtml:empty { display: none; }

#sit_ov_wrap {
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px 0;
    border-top: 0;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* 이미지 — 원본처럼 전부 세로로 쌓아 크게 보여준다 */
#sit_pvi { float: none; width: auto; flex: 1 1 58%; min-width: 0; }
#sit_pvi_big { float: none; text-align: left; }
#sit_pvi_big a { display: block !important; margin-bottom: 10px; }
#sit_pvi_big img { width: 100% !important; height: auto !important; display: block; }
#sit_pvi_big #popup_item_image { display: none !important; }
#sit_pvi_thumb { display: none; }

/* 요약정보 + 구매 폼 */
#sit_ov {
    float: none;
    width: auto;
    flex: 1 1 42%;
    min-width: 0;
    height: auto !important;
    min-height: 0;
    position: sticky;
    top: calc(var(--ceo-header-h) + 40px);
    padding-bottom: 0;
}
#sit_title {
    margin: 0 0 14px;
    font-family: var(--ceo-font-title);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: .02em;
    color: var(--ceo-fg);
    line-height: 1.4;
}
#sit_desc { font-family: var(--ceo-font-body); font-size: 13px; color: var(--ceo-muted); margin: 0 0 18px; }
#sit_desc:empty { display: none; }

/* 원본에 없는 장식 요소는 감춘다 */
#sit_opt_info, #sit_star_sns, #sit_btn_opt, #sit_sns, .sit_star { display: none; }

/* 가격/옵션 표 */
#sit_ov_tbl, #sit_ov table { width: 100%; border-collapse: collapse; }
#sit_ov table th, #sit_ov table td {
    font-family: var(--ceo-font-body);
    font-size: 13px;
    color: var(--ceo-muted);
    padding: 9px 0;
    border: 0;
    text-align: left;
}
#sit_ov table th { color: var(--ceo-fg); font-weight: 400; width: 92px; }
#sit_ov .sit_ov_price, #sit_price {
    font-family: var(--ceo-font-title);
    font-weight: 700;
    font-size: 22px;
    color: var(--ceo-fg);
}

/* 수량 / 합계 */
#sit_opt_added, #sit_sel_option { border: 1px solid #EEEEEE; background: #FAFAFA; padding: 14px 16px; margin: 20px 0 0; }
#sit_opt_added li, #sit_sel_option li { list-style: none; }
#sit_tot_price {
    margin: 18px 0 0;
    text-align: right;
    font-family: var(--ceo-font-title);
    font-weight: 700;
    font-size: 18px;
    color: var(--ceo-fg);
}

/* 구매 버튼 — 장바구니(선) / 바로구매(면) / 위시(정사각) */
#sit_ov_btn { margin-top: 22px; display: flex; gap: 8px; align-items: stretch; }
#sit_ov_btn .sit_btn_cart,
#sit_ov_btn .sit_btn_buy {
    flex: 1 1 0;
    min-width: 0;
    height: 52px;
    padding: 0 18px;
    border: 1px solid var(--ceo-fg);
    border-radius: 0;
    background: #FFFFFF;
    color: var(--ceo-fg);
    font-family: var(--ceo-font-title);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .02em;
    cursor: pointer;
    text-align: center;
}
#sit_ov_btn .sit_btn_buy { background: var(--ceo-fg); color: #FFFFFF; }
#sit_ov_btn .sit_btn_buy:hover { background: var(--ceo-accent); border-color: var(--ceo-accent); }
#sit_ov_btn .sit_btn_cart:hover { border-color: var(--ceo-accent); color: var(--ceo-accent); }
#sit_ov_btn .sit_btn_wish {
    flex: 0 0 52px;
    width: 52px; height: 52px;
    line-height: 52px;
    text-align: center;
    border: 1px solid var(--ceo-line);
    color: var(--ceo-fg);
    font-size: 16px;
}
#sit_ov_btn .sit_btn_wish:hover { border-color: var(--ceo-accent); color: var(--ceo-accent); }

/* 상세정보 / 후기 / 문의 탭 */
#sit_inf, #sit_use, #sit_qa, #sit_dvr, #sit_ex, #sit_rel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}
#sit_anchor { max-width: 1200px; margin: 80px auto 0; padding: 0 30px; }
#sit_anchor ul { display: flex; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--ceo-line); }
#sit_anchor li { flex: 1 1 0; }
#sit_anchor a {
    display: block;
    text-align: center;
    padding: 16px 0;
    font-family: var(--ceo-font-menu);
    font-weight: 700;
    font-size: 13px;
    color: var(--ceo-assi);
    text-decoration: none;
}
#sit_anchor a.sanchor_on, #sit_anchor a:hover { color: var(--ceo-fg); }

#sit_inf_explan { padding: 40px 0; font-family: var(--ceo-font-body); color: var(--ceo-muted); line-height: 2; }
#sit_inf_explan img { max-width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   장바구니 / 주문 등 기능 페이지 — 헤더에 가리지 않도록 여백만 확보
   -------------------------------------------------------------------------- */
/* 장바구니·주문·마이페이지·게시판·약관 등 일반 문서 페이지 공통 여백 */
#sod_bsk, #sod_frm, #sod_fin, #sod_list, #smb_my, #mypage,
#sod_ws, #scoupon, #sit_qalst, #sit_uselst, #ss_pp,
#ctt, #faq_wrap, #qa_list, #qa_write, #bo_list, #bo_v, #bo_w,
.mbskin, #mb_login, #reg, #sch_res_wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px 90px;
}
#ctt header h1, #bo_v_title, #faq_wrap h1 {
    font-family: var(--ceo-font-title);
    font-weight: 700;
    font-size: 22px;
    color: var(--ceo-fg);
    margin: 0 0 26px;
}
/* 약관·개인정보처리방침 등 긴 문서 본문 */
#ctt_con, #sit_dvr, #sit_ex, #guest_privacy {
    font-family: var(--ceo-font-body);
    font-size: 13px;
    color: var(--ceo-muted);
    line-height: 1.85;
    letter-spacing: .01em;
    text-align: left;
}
#ctt_con img, #sit_dvr img, #sit_ex img { max-width: 100%; height: auto; }
#ctt_con h2 {
    font-family: var(--ceo-font-title);
    font-weight: 700;
    font-size: 17px;
    color: var(--ceo-fg);
    margin: 46px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ceo-fg);
}
#ctt_con h3, #sit_dvr > h3, #sit_ex > h3 {
    font-family: var(--ceo-font-title);
    font-weight: 700;
    font-size: 14px;
    color: var(--ceo-fg);
    margin: 30px 0 10px;
}
#ctt_con h4, #sit_dvr h4, #sit_ex h4, #guest_privacy h4 {
    font-family: var(--ceo-font-title);
    font-weight: 700;
    font-size: 13px;
    color: var(--ceo-fg);
    margin: 18px 0 6px;
}
#ctt_con > h2:first-child, #ctt_con > h3:first-child, #ctt_con > p:first-child { margin-top: 0; }
#ctt_con p, #sit_dvr p, #sit_ex p, #guest_privacy p { margin: 0 0 12px; }
#ctt_con ol, #ctt_con ul,
#sit_dvr ol, #sit_dvr ul, #sit_ex ol, #sit_ex ul,
#guest_privacy ol, #guest_privacy ul { margin: 0 0 14px; padding-left: 22px; }
#ctt_con ol, #sit_dvr ol, #sit_ex ol, #guest_privacy ol { list-style: decimal outside; }
#ctt_con ul, #sit_dvr ul, #sit_ex ul, #guest_privacy ul { list-style: disc outside; }
#ctt_con ol ul, #ctt_con ul ul { margin: 6px 0 6px; list-style: circle outside; }
#ctt_con li, #sit_dvr li, #sit_ex li, #guest_privacy li { margin: 0 0 6px; padding: 0; background: none; list-style: inherit; }
#ctt_con b, #sit_dvr b, #sit_ex b, #guest_privacy b { color: var(--ceo-fg); font-weight: 700; }
#ctt_con hr { border: 0; border-top: 1px solid var(--ceo-line); margin: 40px 0 24px; }
#ctt_con table, #sit_dvr table, #sit_ex table, #guest_privacy table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 16px;
    font-size: 12px;
}
#ctt_con table th, #ctt_con table td,
#sit_dvr table th, #sit_dvr table td,
#sit_ex table th, #sit_ex table td,
#guest_privacy table th, #guest_privacy table td {
    border: 1px solid var(--ceo-line);
    padding: 9px 10px;
    text-align: left;
    vertical-align: top;
}
#ctt_con table th, #sit_dvr table th, #sit_ex table th, #guest_privacy table th { background: #FAFAFA; color: var(--ceo-fg); font-weight: 700; }

/* 긴 문서는 본문 폭을 조금 좁혀 가독성을 확보한다 */
#ctt { max-width: 900px; }

/* --------------------------------------------------------------------------
   상세/분류 반응형
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    #sit_ov_wrap { flex-direction: column; gap: 34px; }
    #sit_ov { position: static; width: 100%; }
    #sit_pvi { width: 100%; }
}

@media (max-width: 768px) {
    #sct { padding: 30px 16px 60px; }
    #sit_ov_wrap { padding: 24px 16px 0; }
    #sit_anchor { margin-top: 46px; padding: 0 16px; }
    #sit_inf, #sit_use, #sit_qa, #sit_dvr, #sit_ex, #sit_rel { padding: 0 16px; }
    #sit_title { font-size: 17px; }
    #sit_ov .sit_ov_price, #sit_price { font-size: 17px; }
    #sod_bsk, #sod_frm, #sod_fin, #sod_list, #smb_my, #mypage,
    #sod_ws, #scoupon, #sit_qalst, #sit_uselst, #ss_pp,
    #ctt, #faq_wrap, #qa_list, #qa_write, #bo_list, #bo_v, #bo_w,
    .mbskin, #mb_login, #reg, #sch_res_wrap {
        padding: 24px 16px 60px;
    }
}

/* --------------------------------------------------------------------------
   상품상세 배송/교환 탭 · 비회원 개인정보 수집동의
   -------------------------------------------------------------------------- */
#sit_dex { padding: 34px 0 60px; }
#sit_dex > h2 { display: none; }              /* 탭 제목과 중복 */
#sit_dvr, #sit_ex { margin: 0 0 46px; }
#sit_dvr > h3, #sit_ex > h3 {
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ceo-fg);
    font-size: 15px;
}
#sit_dvr table, #sit_ex table { max-width: 620px; }

/* 비회원 구매 안내 박스
   기본 회원 스킨의 .mbskin 은 360px 고정이라, 수집동의 표가 들어가는
   주문 경로(로그인 → 비회원 구매) 화면에서만 폭을 넓힌다. */
.mbskin:has(#mb_login_notmb) { width: auto; max-width: 760px; }
#mb_login_notmb {
    width: auto;          /* 회원 스킨의 360px 고정 폭 해제 */
    max-width: 760px;
    margin: 30px auto;
    padding: 26px 30px;
    text-align: left;
}
#mb_login_notmb > p { text-align: left; }
#mb_login_notmb .btn_confirm { margin-top: 18px; }
#mb_login_notmb .chk_box { text-align: left; margin-top: 14px; }
#mb_login_notmb h2 {
    font-family: var(--ceo-font-title);
    font-weight: 700;
    font-size: 16px;
    color: var(--ceo-fg);
    margin: 0 0 8px;
}
#guest_privacy {
    border: 1px solid var(--ceo-line);
    background: #FAFAFA;
    padding: 20px 22px;
    margin: 14px 0 18px;
    height: auto;          /* 회원 스킨의 height:150px 해제 */
    max-height: 340px;
    overflow-y: auto;
}
#guest_privacy table { max-width: 100%; }
#guest_privacy a { color: var(--ceo-fg); text-decoration: underline; }

@media (max-width: 768px) {
    #sit_dex { padding: 24px 0 40px; }
    #sit_dvr table, #sit_ex table, #guest_privacy table { font-size: 11px; }
    #sit_dvr table th, #sit_dvr table td,
    #sit_ex table th, #sit_ex table td,
    #guest_privacy table th, #guest_privacy table td { padding: 7px 6px; }
    #guest_privacy { padding: 14px 14px; height: auto; max-height: 260px; }
}

/* --------------------------------------------------------------------------
   주문서 결제통화 선택 (원화 / USD)
   -------------------------------------------------------------------------- */
#ceo_currency_sel {
    border: 1px solid var(--ceo-line);
    padding: 14px 16px;
    margin: 0 0 14px;
    font-family: var(--ceo-font-body);
    font-size: 13px;
}
#ceo_currency_sel .ceo_cur_label {
    display: block;
    font-family: var(--ceo-font-title);
    font-weight: 700;
    font-size: 13px;
    color: var(--ceo-fg);
    margin-bottom: 10px;
}
#ceo_currency_sel input[type=radio] { margin: 0 4px 0 0; vertical-align: middle; }
#ceo_currency_sel label { margin-right: 20px; color: var(--ceo-muted); cursor: pointer; }
#ceo_currency_sel label b { color: var(--ceo-fg); font-weight: 700; }
#ceo_currency_sel .ceo_cur_help {
    margin: 10px 0 0;
    font-size: 11px;
    line-height: 1.7;
    color: var(--ceo-assi);
}
@media (max-width: 768px) {
    #ceo_currency_sel { padding: 12px 13px; font-size: 12px; }
    #ceo_currency_sel label { display: block; margin: 0 0 8px; }
}

/* --------------------------------------------------------------------------
   회원가입 — 개인정보 수집·이용 표 아래 안내문
   회원 스킨의 #fregister p (분홍 경고 배너) 스타일을 물려받지 않도록 되돌린다.
   -------------------------------------------------------------------------- */
#fregister p.ceo_reg_note {
    position: static;
    height: auto;
    margin: 12px 0 0;
    padding: 0;
    background: none;
    border-radius: 0;
    color: var(--ceo-assi);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
    text-align: left;
}
#fregister p.ceo_reg_note:before { display: none; }
#fregister p.ceo_reg_note a { color: var(--ceo-fg); text-decoration: underline; }
