/* HARAN 장바구니 새 모양 2026-10-15 (C2 이름표 줄 · K3 흰 카드 · L1 돼지꼬리) */
.hc-hide { display: none !important; }
.hc-op { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; background: #F6F9FC; border-radius: 14px; padding: 10px 14px; margin: 8px 0 2px; max-width: 420px; font-family: inherit; }
.hc-op .k { font-size: 12.5px; color: #6B7F92; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.hc-op b { font-size: 13.5px; color: #16324F; font-weight: 800; line-height: 1.5; word-break: keep-all; } .hc-op b.a { color: #1F7A45; }
.hc-op b em { font-style: normal; font-weight: 800; color: #1C6FC2; margin-left: 4px; }
.hc-ags { display: grid; gap: 8px; margin-top: 10px; max-width: 460px; }
.hc-lk { display: flex; align-items: flex-end; gap: 4px; margin: -4px 0 -2px 4px; }
.hc-lk .hc-tail { flex: none; margin-bottom: -18px; }
.hc-lk span { font-size: 12.5px; font-weight: 700; color: #8A4A12; background: #FFF4E5; border-radius: 999px; padding: 4px 11px; } .hc-lk b { font-weight: 900; }
.hc-ag { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 10px 14px; margin-left: 30px; box-shadow: 0 1px 8px rgba(30, 79, 126, .12); }
.hc-im { flex: none; width: 52px; height: 52px; border-radius: 14px; background: #F4F8FC; overflow: hidden; display: grid; place-items: center; }
.hc-im img { width: 52px !important; height: 52px !important; max-width: none !important; object-fit: cover; }
.hc-tx { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.hc-tx b { font-size: 14px; font-weight: 800; color: #16324F; word-break: keep-all; }
.hc-tag { display: inline-flex; align-items: center; gap: 3px; background: #E6F6EC; color: #1F7A45; font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 3px 10px 3px 8px; }
.hc-meta { display: flex; gap: 8px; font-size: 12.5px; font-weight: 700; color: #4D6275; } .hc-meta .p { color: #1C6FC2; font-weight: 800; } .hc-meta .f { color: #2F9E5B; }
/* PC 배송비 칸 */
body .cart_cont_list table tbody td.td_delivery:has(.hc-dl):not(#hcx):not(#hcy) { background: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 14px 8px !important; vertical-align: middle; }
.hc-dl { display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border-radius: 18px; padding: 16px 8px; text-align: center; box-shadow: 0 1px 8px rgba(30, 79, 126, .12); }
.hc-dl i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: #F4F9FE; color: #1C6FC2; }
.hc-dl b { font-size: 15px; font-weight: 900; color: #16324F; } .hc-dl small { font-size: 11.5px; color: #1C6FC2; font-weight: 700; line-height: 1.35; word-break: keep-all; } .hc-dl em { font-style: normal; font-size: 11px; color: #6B7F92; }
/* 휴대폰 */
.hc-ags.m { margin: 12px 0 4px; max-width: none; }
.hc-ags.m .hc-ag { margin-left: 26px; }
.hc-op { min-width: 250px; } .hc-op b { white-space: nowrap; } @media (max-width: 760px) { .hc-op { min-width: 0; } .hc-op b { white-space: normal; } }
/* 주문 못 하는 줄 안내 카드 (10-15) */
.hc-warn { display: flex; gap: 10px; align-items: flex-start; background: #FFF6EC; border-radius: 16px; padding: 12px 14px; margin: 10px 0 4px; max-width: 460px; font-family: inherit; text-align: left; }
.hc-warn > i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #E9862B; color: #fff; font-style: normal; font-size: 13px; font-weight: 900; margin-top: 1px; }
.hc-wt { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.hc-wt > b { font-size: 13.5px; font-weight: 900; color: #8A4A12; }
.hc-wr { display: flex; flex-wrap: wrap; gap: 5px; } .hc-wr em { font-style: normal; font-size: 12px; font-weight: 800; color: #B5531A; background: #fff; border-radius: 999px; padding: 3px 10px; box-shadow: 0 1px 4px rgba(181, 83, 26, .12); }
.hc-wt > small { font-size: 12.5px; line-height: 1.5; color: #6B5442; font-weight: 600; word-break: keep-all; }
.hc-wbtn, a.hc-wbtn { display: inline-flex; align-items: center; margin-top: 2px; background: #1C6FC2; color: #fff !important; border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 800; text-decoration: none !important; white-space: nowrap; }
a.hc-wbtn:hover { background: #185FA8; }
.order-goods-layout .hc-op { gap: 3px 10px; padding: 9px 11px; } /* 주문서 휴대폰은 오른쪽 칸이 좁음 */
.hc-op b em { display: inline !important; } /* 고도몰 .pick_add_info em {display:block} 이기기 */
/* 마이페이지 주문 상세 (10-15) */
.mypage_table_type .hc-op { margin: 8px 0 2px; }
.mypage_table_type .pick_add_cont.hc-agrow { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px 12px; margin-left: 14px; box-shadow: 0 1px 8px rgba(30, 79, 126, .12); }
.mypage_table_type .hc-agrow .pick_add_img { flex: none; float: none; width: 40px; margin: 0; } .mypage_table_type .hc-agrow .pick_add_img img { width: 40px !important; height: auto; }
.mypage_table_type .hc-agrow .pick_add_info { padding: 0; margin: 0; min-width: 0; } .mypage_table_type .hc-agrow .pick_add_info em { font-size: 13px; word-break: keep-all; }
.mypage_table_type .hc-lk span { font-size: 12px; padding: 4px 10px; line-height: 1.4; }
.hc-agrow .pick_add_img, .hc-agrow .pick_add_img img { border-radius: 12px; overflow: hidden; }
.hc-agrow .pick_add_info { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.hc-agrow .pick_add_info em, .hc-agul .prd_name { font-weight: 800; color: #16324F; }
.mypage_table_type .hc-lk { margin: 0 0 6px 4px; }
.mypage_table_type .hc-lk .hc-tail { margin-bottom: -14px; }
ul.my_goods.hc-agul { margin-left: 26px; }
ul.my_goods.hc-agul > li { border-radius: 16px; box-shadow: 0 1px 8px rgba(30, 79, 126, .12); background: #fff; }
.hc-agul .hc-tag { margin-bottom: 4px; }
body .hc-hide:not(#hcx) { display: none !important; } /* 마이페이지 알약 규칙(!important)보다 세게 */
.mypage_table_type .hc-op { min-width: 0; max-width: 360px; }
.hc-op b em { color: #1C6FC2 !important; }
ul.my_goods .hc-op { gap: 3px 10px; padding: 9px 11px; }
/* 10-15 휴대폰 상품 칸 금액·배송비 (장바구니·주문서) */
.itembody .prc { display: flex !important; justify-content: space-between; align-items: baseline; max-width: 420px; margin-top: 10px !important; }
.itembody .prc::before { content: "금액"; font-size: 12.5px; font-weight: 700; color: #6B7F92; }
.hc-dm { display: flex; align-items: center; gap: 10px; max-width: 420px; background: #fff; box-shadow: 0 1px 6px rgba(30, 79, 126, .08); border-radius: 14px; padding: 9px 12px; margin: 8px 0 2px; text-align: left; }
.hc-dm > i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #EEF5FC; color: #1C6FC2; }
.hc-dm > i svg { width: 19px; height: 19px; }
.hc-dm b { display: block; font-size: 13.5px; font-weight: 900; color: #16324F; } .hc-dm small { display: block; font-size: 11.5px; font-weight: 700; color: #1C6FC2; line-height: 1.35; word-break: keep-all; }
.hc-dm > div { min-width: 0; } .hc-dm small span { display: block; }
/* 10-16 정식 개발: 서버가 그린 박스·묶음 값 줄(Component\Hb\HbCartView::boxLine) */
.hc-bx { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 8px 0 2px; padding: 8px 12px; border-radius: 12px; background: #E5F6EE; font-size: 13px; }
.hc-bx .l { font-weight: 800; color: #1E7A4C; }
.hc-bx .v s { color: #8A97A3; margin-right: 6px; font-size: 12px; }
.hc-bx .v b { color: #17324A; font-size: 14.5px; font-variant-numeric: tabular-nums; }
/* 10-16 정식 개발: hbcart.js 없이 꾸밈만으로 배송비 칸(원래 글 그대로) — 트럭 그림 + 둥근 칸 */
.cart_cont_list td.td_delivery { vertical-align: middle; }
.cart_cont_list td.td_delivery { font-size: 13px; color: #33434F; line-height: 1.5; }
.cart_cont_list td.td_delivery::before { content: ""; display: block; width: 40px; height: 40px; margin: 0 auto 6px; border-radius: 12px; background: #EEF5FC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231478C8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E") center / 22px no-repeat; }
.itembody > div[style*="text-align:right"] { text-align: left !important; display: flex; align-items: center; gap: 10px; margin: 10px 0 2px; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 1px 6px rgba(20,60,100,.08); font-size: 13px; color: #33434F !important; }
.itembody > div[style*="text-align:right"]:empty { display: none; }
.itembody > div[style*="text-align:right"]::before { content: ""; flex: none; width: 34px; height: 34px; border-radius: 10px; background: #EEF5FC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231478C8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* 10-16 장바구니 '박스로 바꾸면' 알림(hc-up) — 관리자 하란 기능 설정 cartbox 모양 a·b·c */
.hc-up { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 10px; border-radius: 16px; padding: 11px 12px; font-size: 13px; line-height: 1.45; }
.hc-up-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.hc-up-tx { min-width: 0; display: grid; gap: 2px; }
.hc-up-tx b { font-size: 14px; font-weight: 800; }
.hc-up-tx small { font-size: 12.5px; color: #5B7187; }
.hc-up-tx small b.d { font-size: inherit; }
.hc-up-btn { border: 0; border-radius: 999px; padding: 9px 14px; font: inherit; font-weight: 800; font-size: 13px; white-space: nowrap; cursor: pointer; }
.hc-up-btn:disabled { opacity: .6; cursor: default; }
/* a 크림 카드: 연한 크림 바탕 + 주황 상자 그림 + 하늘색 단추 */
.hc-up-a { background: #FFF7E8; box-shadow: 0 1px 6px rgba(184, 120, 20, .10); }
.hc-up-a .hc-up-ic { background: #FFE6BF; color: #C46A0E; }
.hc-up-a .hc-up-tx b { color: #7A4A08; }
.hc-up-a b.d { color: #1E7A4C; }
.hc-up-a .hc-up-btn { background: #1478C8; color: #fff; box-shadow: 0 2px 8px rgba(20, 120, 200, .25); }
/* b 아낌 초록: 민트 바탕 + 아끼는 돈 크게 + 초록 단추 */
.hc-up-b { background: #E6F6EE; box-shadow: 0 1px 6px rgba(30, 122, 76, .10); }
.hc-up-b .hc-up-ic { background: #fff; color: #1E7A4C; border-radius: 50%; box-shadow: 0 1px 4px rgba(30, 122, 76, .15); }
.hc-up-b .hc-up-tx b { color: #145A37; }
.hc-up-b b.d { color: #1E7A4C; font-size: 14px !important; font-weight: 900; }
.hc-up-b .hc-up-btn { background: #1E9E63; color: #fff; }
/* c 하늘 흰 카드: 흰 카드 그림자 + 하늘 그림 칸 + 하늘 테두리 없는 연한 단추 */
.hc-up-c { background: #fff; box-shadow: 0 4px 16px rgba(20, 70, 120, .12); }
.hc-up-c .hc-up-ic { background: #E8F3FD; color: #1478C8; }
.hc-up-c .hc-up-tx b { color: #17324A; }
.hc-up-c b.d { color: #1478C8; }
.hc-up-c .hc-up-btn { background: #E8F3FD; color: #0E5A96; }
@media (max-width: 480px) { .hc-up { grid-template-columns: auto minmax(0, 1fr); } .hc-up-btn { grid-column: 1 / -1; width: 100%; padding: 11px 14px; } }
