@charset "utf-8";
/* CSS Document */
/**
 * custom css 입니다. 추가적인 css 는 여기에 작성을 해주세요.
 */


/* ===== 로고 데스크탑(>=1024px) 하단 잘림 방지 - 2026-07-02 Clara ===== */
/* 원인: img 인라인 height:97px 강제 + 데스크탑 앵커 a{height:50px;overflow:hidden}로 하단 47px 클립 */
@media (min-width:1024px){
  #header .header_top_cont .h1_logo a{
    height:auto!important;
    width:auto!important;
    overflow:visible!important;
    line-height:0!important;
  }
  #header .header_top_cont .h1_logo img.poj-official-logo-img{
    width:auto!important;
    height:44px!important;
    max-width:none!important;
    object-fit:contain!important;
    display:block!important;
  }
}

/* ===== 상단 로고 '포' → footer '포' 좌측 정렬 (실측 delta 0, -24.6px) - 2026-07-02 Clara ===== */
@media (min-width:1024px){
  #header .header_top_cont .h1_logo img.poj-official-logo-img{
    transform:translateX(-24.6px)!important;
  }
}

/* ===== 헤더 로고 이중/과대높이 제거 — 전 페이지를 login.php 기준으로 통일 (2026-07-02 Clara) ===== */
/* 원인: 이전 세션이 남긴 per-page inline <style id="pojang-*-user-fix-*"> 가
   .h1_logo img 를 숨기고 a:before 로 CSS 텍스트 로고를 새로 그린 뒤
   padding:18px/14px·min-width:260px 로 컨테이너를 108px 로 부풀림.
   전역 custom.css 가 img 를 다시 display:block 시켜 '진짜 이미지 + 가짜 텍스트' 로고 2개가
   동시 렌더 → 이중. 아래 규칙(#header 접두 + !important = 더 높은 우선순위)으로
   가짜 로고 제거 + 컨테이너 원복하여 login.php 헤더와 동일하게 맞춘다. */
@media (min-width:1024px){
  #header .header_top_cont .h1_logo{
    padding:0!important;min-width:0!important;height:auto!important;float:none!important;
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
  }
  #header .header_top_cont .h1_logo a{
    line-height:0!important;flex-direction:row!important;
  }
  #header .header_top_cont .h1_logo a:before,
  #header .header_top_cont .h1_logo a:after{
    content:none!important;display:none!important;
  }
  #header .header_top_cont .h1_logo img.poj-official-logo-img{
    display:block!important;
  }
}

/* ===== main/index.php 헤더 정규화 — header_top_cont 를 login.php 기준(44px)으로 (2026-07-02 Clara) =====
   원인: main 스킨에만 남은 잔재 블록 POJANG_PC_TOP_POLISH_20260630 / _2_ / POJANG_PC_USER_FIX_20260630_2 가
   #header .header_top_cont 를 height:64px·padding:6px 36px 6px 8px 로 부풀려 login 기준(44px·0 24px)과 어긋남.
   나머지 세부페이지는 이미 login 과 동일. 더 높은 특이도(html body #header)로 login 값으로 강제 통일. */
@media (min-width:1024px){
  html body #header .header_top_cont{
    padding:0 24px!important;
    height:44px!important;
    min-height:0!important;
  }
}

/* ===== [2026-07-02 v3 Clara] 로고 위치 = 타페이지(login) 기준 / 유틸메뉴 = main 디자인 전역 통일 =====
   사장님 지시(1-3): 상단 로고는 다른 페이지(login)처럼 좌측, 로그인/회원가입/마이페이지/장바구니
   유틸메뉴는 main 상단의 굵고 넓은 디자인을 전 페이지에 동일 적용.
   실측 근거(1440px):
     - 로고: main img.left=18px(컨테이너 폭 248·gap6 잔재) vs login img.left=-1px → main 을 login 값으로 축소.
     - 유틸메뉴: main .top_member_box = display:flex·gap:30px·justify:flex-end·max-width:780px,
                 링크 font 14px/850/letter-spacing -0.28px (login 은 block·16px/400) → main 값을 전역 적용.
   특이도 html body #header (기존 44px 정규화가 이 특이도로 main 인라인 블록을 이미 이기고 있음)로 확실히 승. */
@media (min-width:1024px){
  /* (A) 로고 위치 통일: main 잔재 컨테이너 폭/gap 제거 → login 위치로 수렴 */
  html body #header .header_top_cont .h1_logo{
    gap:0!important;
    flex-basis:auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
  }
  html body #header .header_top_cont .h1_logo a{
    width:auto!important;
    min-width:0!important;
  }

  /* (B) 유틸메뉴 = main 디자인 전 페이지 통일 */
  html body #header .header_top_cont .top_member_box{
    display:flex!important;
    gap:30px!important;
    justify-content:flex-end!important;
    align-items:center!important;
    max-width:780px!important;
  }
  html body #header .header_top_cont .top_member_box li{
    float:none!important;
    margin:0!important;
    padding:0!important;
  }
  html body #header .header_top_cont .top_member_box a{
    font-size:14px!important;
    font-weight:850!important;
    letter-spacing:-0.28px!important;
  }
}

/* ===== [2026-07-02 v4 Clara] main 검색아이콘 복원 — 타페이지와 헤더 완전 동일 =====
   원인: main 스킨 인라인 <style> 의 잔재 규칙
     .top-search-btn,.header_top_cont form,.top_search_cont,.top_search,.top-search{
       display:none!important;visibility:hidden!important;width:0!important;height:0!important;overflow:hidden!important}
   가 main 우상단 검색(돋보기) UI 5종을 전부 죽여, goods_list/login 등 타페이지에만 있는
   검색아이콘이 main 에서만 사라짐 = 헤더 우측폭이 달라 보이던 실제 원인.
   해결: main(body.body-main) 한정으로 검색 컨테이너를 goods_list 기준(display:block·32~34px·우상단 x1382)으로 복원.
   타페이지엔 미적용(body.body-main 스코프)이라 부작용 0. 실측 goods_list 픽셀 일치 검증 완료. */
body.body-main #header .top-search-btn,
body.body-main #header .header_top_cont form,
body.body-main #header .top_search_cont,
body.body-main #header .top_search{
  display:block!important;
  visibility:visible!important;
  width:auto!important;
  height:auto!important;
  overflow:visible!important;
}
body.body-main #header .top-search-btn{
  width:32px!important;
  height:32px!important;
}

/* ===== [2026-07-03 v5] main 헤더 회원메뉴 정렬 — 마이페이지 우측 밀림 보정 =====
   session-handoff 확인: layout.css의 desktop text-align:right가 main에만 남아 마이페이지가 우측으로 밀림.
   메인 한정으로 text-align을 좌측 기준으로 되돌리며, 1600 폭/서브페이지에는 영향 없음. */
@media (min-width:769px){
  html body.body-main #header .header_top_cont .top_member_box { text-align:start!important; }
}

/* ===== [2026-07-03 v6] main 헤더를 login.php 헤더 computed 값 기준으로 복사 정렬 =====
   사장님 지시: 메인만 미세하게 다른 헤더를 로그인 페이지 기준으로 통일.
   실제 DOM 비교 기준(login vs main): header_top_cont max-width/gap, logo/a position/background/font,
   top_member_box flex-grow, top_search_cont background 차이를 메인 한정으로 login 값에 맞춘다. */
@media (min-width:769px){
  body.body-main #header .header_top_cont{
    max-width:1600px/*POJ_PC_HEADER_WIDTH_UNIFY_20260703*/!important;
    gap:normal!important;
  }
  body.body-main #header .header_top_cont .h1_logo{
    position:static!important;
    text-align:start!important;
    flex-shrink:1!important;
  }
  body.body-main #header .header_top_cont .h1_logo a{
    position:static!important;
    font-size:14px!important;
    text-align:start!important;
    justify-content:normal!important;
    align-items:normal!important;
    gap:normal!important;
    background-color:transparent!important;
  }
  body.body-main #header .header_top_cont .top_member_box{
    flex-grow:0!important;
    flex-shrink:1!important;
    text-align:start!important;
  }
  body.body-main #header .top_search_cont{
    background-color:transparent!important;
  }
}

/* ===== [2026-07-03 Clara] POJANG_CTA_ORANGE_20260703 : 초록 CTA → 브랜드 오렌지 #FF5A1F 통일 (정밀 selector) ===== */
.member_cont .member_login_box .login_input_sec button,
.member_login_order_btn,
.btn_member_next,
.join_next_btn{
  background:#FF5A1F !important;
  border-color:#FF5A1F !important;
}
.member_cont .member_login_box .login_input_sec button:hover,
.member_login_order_btn:hover,
.btn_member_next:hover,
.join_next_btn:hover{
  background:#E04A11 !important;
  border-color:#E04A11 !important;
}
/* 네이버 로그인(#03c75a)은 브랜드색 유지 — 미변경 */

/* ===== [2026-07-04 Clara] POJANG_BRAND_VAR_20260704 : bliss primary 변수 → 브랜드 오렌지 전역 통일 ===== */
:root{
  --primary-default:#FF5A1F !important; /* 문서 SSOT base */
  --primary-hover:#E04A11 !important;   /* 문서 SSOT hover */
}

/* ===== [2026-07-04 Clara] POJANG_PC_WRAP_WIDTH_UNIFY_20260704 : 서브페이지 좌우폭 = 메인 기준 통일 =====
   원인(실측 1440px): 서브페이지 #wrap 이 min-width:1900px 로 고정 → #container/#footer 가 뷰포트(1440)를
   넘겨 1900px 로 렌더 = 가로 스크롤 + 공유 헤더/푸터가 메인과 좌우폭·정렬 불일치.
   메인(body-main)은 이미 #wrap min-width:0 유동(1425). 서브도 동일 유동으로 맞춰
   공유 헤더/푸터가 메인과 동일 좌우폭으로 렌더되게 한다. 메인엔 미적용(:not(.body-main)) → 부작용 0. */
@media (min-width:1024px){
  html body:not(.body-main) #wrap{ min-width:0 !important; }
}

/* ===== [2026-07-04 Clara] POJANG_PC_1600_UNIFY : 전 페이지 콘텐츠 1600 고정+중앙 통일 =====
   실측(vw1440): 헤더/서브내비/푸터는 이미 전 페이지 0->1425 동일 정렬. 서브 본문 .sub_content 만
   width:1200 고정 -> 헤더/푸터(1425)와 폭 불일치. .sub_content 를 max-width:1600 중앙 유동으로
   바꿔 헤더/푸터와 동일 좌우폭 정렬. <1600 화면은 자동 축소/유동. 메인 제외 -> 부작용 0. */
@media (min-width:1024px){
  html body:not(.body-main) .sub_content{ width:auto !important; max-width:1600px !important; margin-left:auto !important; margin-right:auto !important; }
  html body:not(.body-main) .location_wrap > *{ max-width:1600px !important; margin-left:auto !important; margin-right:auto !important; }
}