@charset "EUC-KR";
@import url("../assets/css/font.css");


* {
    margin: 0px;
    padding: 0px;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 500;
}

h2 {
    color:red;
}

/*table {*/
/*    border-collapse: collapse;*/
/*    border-top: 1px solid rgb(0, 0, 0);*/
/*    border-left: 1px solid rgb(0, 0, 0);*/
/*}*/

/*table tr td {*/
/*    border-bottom: 1px solid rgb(0, 0, 0);*/
/*    border-right: 1px solid rgb(0, 0, 0);*/
/*}*/

/* ===== #현대 명절 6배수 (B4 257x364mm, 2열x3행 고객용) — 03.NEW전표_양식 실측 보정 / 폰트=05.xlsx(굴림) ===== */
/* 용지를 전표 크기(B4)로 고정 → 페이지 넘침/빈페이지 제거 */
@page { size: 257mm 364mm; margin: 0; }
.hd-page6 { position: relative; width: 257mm; height: 364mm; font-family: "Noto Sans KR", sans-serif; }
.hd-page6:last-child { page-break-after: auto; }
.hd-cell6 { position: absolute; width: 117mm; height: 121mm; }
.hd-pos-0 { left: 5.9mm;   top: 0mm; }
.hd-pos-1 { left: 134.4mm; top: 0mm; }
.hd-pos-2 { left: 5.9mm;   top: 121.3mm; }
.hd-pos-3 { left: 134.4mm; top: 121.3mm; }
.hd-pos-4 { left: 5.9mm;   top: 242.6mm; }
.hd-pos-5 { left: 134.4mm; top: 242.6mm; }

/* 칸 내부 필드: hd-cell6(absolute) 기준 상대 절대배치. 위치=03양식 실측(칸기준mm), 폰트=05.xlsx 굴림 */
.hd-cell6 > div, .hd-cell6 > img { position: absolute; }
.hd-cell6 > div { font-weight: 800; } /* 이전 전표 기준: Noto Sans KR, 전 항목 weight 800 */
.hd-no      { font-size: 14pt; font-weight: bold; top: 2.81mm; left: 0mm; }     /* 운송장: "고객용" 위(좌측정렬) */
.hd-order   { font-size: 9pt;  top: 3.15mm;  right: 0mm; text-align: right; white-space: nowrap; }  /* 호차/순번: 셀 우측끝 정렬(alignParentEnd, THE HYUNDAI 122.8와 일치) */
.hd-date-y  { font-size: 11pt;  top: 8.36mm; left: 19.36mm; height: 6mm; line-height: 6mm; } /* 날짜 년 (년35 앞 ~1.6mm간격, 브라우저 실측보정, y중심15.65 세로센터) */
.hd-date-m  { font-size: 11pt;  top: 8.36mm; left: 32.76mm; height: 6mm; line-height: 6mm; } /* 날짜 월 (월44.6 앞 ~1.6mm) */
.hd-date-d  { font-size: 11pt;  top: 8.36mm; left: 42.26mm; height: 6mm; line-height: 6mm; } /* 날짜 일 (일54 앞 ~1.6mm) */
.hd-name    { font-size: 18px; top: 17.03mm; left: 25.5mm; height: 8.2mm; line-height: 8.2mm; }  /* 성명: 성명행(21.0~29.2) 세로센터 */
.hd-phone   { font-size: 12px;  top: 17.03mm; left: 103.7mm; transform: translateX(-50%); height: 8.2mm; line-height: 8.2mm; text-align: center; white-space: nowrap; } /* 전화번호: 전화 빈셀(93~123.2) 가로·세로 센터 */
.hd-addr    { font-size: 16px; font-weight: 800; top: 25.23mm; left: 25.5mm; width: 92mm; height: 18.3mm; display: flex; flex-direction: column; justify-content: center; line-height: 4.6mm; } /* 주소: 주소행(29.2~47.5) 세로센터, 여러줄 4.6mm */
.hd-product { font-size: 13px; font-weight: 800; top: 43.23mm; left: 13.5mm; height: 8.4mm; line-height: 8.4mm; white-space: nowrap; } /* 상품명: 상품명박스 직후 좌측정렬 + 세로 센터 */
.hd-qty     { font-size: 24px; top: 43.53mm; left: 98.3mm; height: 8.1mm; line-height: 8.1mm; } /* 수량: 수량박스(47.5~55.6) 세로 센터(04 가로위치 유지) */
.hd-sender  { font-size: 16px; top: 53.83mm; left: 36mm; height: 7.5mm; line-height: 7.5mm; } /* 보내시는분: 보내시는분바(57.8~65.3) 세로 센터, 바 우측 */
/* 명함 대체문구/이미지: 배송메모 오른쪽 넓은박스(37~123.2 x 65.3~115.4)에 가로·세로 센터 */
.hd-cardbox { left: 32mm; top: 61.33mm; width: 86mm; height: 49mm; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; }
.hd-cardbox .hd-card    { position: static; max-width: 83.62mm; max-height: 49mm; width: auto; height: auto; }   /* 명함 이미지 */
.hd-cardbox .hd-cardmsg { position: static; font-size: 16px; font-weight: 800; max-width: 86mm; line-height: 4.6mm; text-align: center; } /* 명함 대체문구 */
.hd-memo    { font-size: 14px;  top: 73mm; left: 1mm; width: 29mm; }            /* 배송메모(좌측박스, 배송메모라벨 아래) */
.hd-contact { font-size: 13px;  top: 101mm; left: 1.8mm; }                      /* 문의/연락처 */