/**
 * 오라클래스 마이페이지 (my-account) 스타일
 * 버튼 언어는 사이트 공통: radius 8px, 주황 호버 #FF7857, 보조는 소프트 그레이 채움
 */

/* 레이아웃: 기본 사이드바 플로트 해제, 단일 컬럼 */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
	width: 100%;
	float: none;
}
body.woocommerce-account .woocommerce {
	display: block !important; /* woocommerce.css의 display:flex !important 무효화 */
	max-width: 880px;
	margin: 0 auto;
	padding: 8px 0 40px;
}

/* 헤더 */
.au-acc-head h2 {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0 0 4px;
	color: #221C15;
}
.au-acc-head p {
	margin: 0 0 20px;
	color: #8A8177;
	font-size: 14.5px;
}
.au-acc-head p em {
	font-style: normal;
	font-weight: 800;
}
.au-st-ok { color: #12A05E; }
.au-st-free { color: #C2431C; }
.au-st-off { color: #8A8177; }
.au-st-etc { color: #B07A18; }
.au-ord-back { margin: 0 0 6px; font-size: 13px; }
.au-ord-back a { color: #8A8177; text-decoration: none; }
.au-ord-back a:hover { color: #221C15; }

/* 언더라인 탭 */
.au-acc-tabs {
	display: flex;
	gap: 24px;
	border-bottom: 1px solid #EFE9E1;
	margin-bottom: 28px;
	overflow-x: auto;
	scrollbar-width: none;
}
.au-acc-tabs::-webkit-scrollbar { display: none; }
.au-acc-tab {
	position: relative;
	padding: 0 2px 12px;
	font-size: 15px;
	font-weight: 700;
	color: #8A8177;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
}
.au-acc-tab:hover { color: #221C15; }
.au-acc-tab.is-active {
	color: #221C15;
	font-weight: 800;
}
.au-acc-tab.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2.5px;
	background: #221C15;
	border-radius: 2px;
}

/* 버튼 (사이트 공통 언어) */
.au-btn-accent {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #FA623B;
	color: #FFFFFF !important;
	border: 0;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 800;
	padding: 14px 26px;
	text-decoration: none;
	cursor: pointer;
	letter-spacing: -0.01em;
	transition: background 0.15s ease;
	font-family: inherit;
}
.au-btn-accent:hover, .au-btn-accent:focus { background: #FF7857; color: #FFFFFF; }
.au-btn-soft {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #F3F2F0;
	color: #6E6A64 !important;
	border: 0;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	padding: 14px 26px;
	text-decoration: none;
	cursor: pointer;
	letter-spacing: -0.01em;
	transition: background 0.15s ease;
	font-family: inherit;
}
.au-btn-soft:hover, .au-btn-soft:focus { background: #EAE8E5; color: #6E6A64; }
.au-btn-sm { font-size: 13.5px; padding: 10px 18px; }

/* 화면 1: 카드 그리드 */
.au-acc-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
@media (max-width: 640px) {
	.au-acc-cards { grid-template-columns: 1fr; }
}
.au-acc-card {
	background: #FFFFFF;
	border: 1px solid #EFE9E1;
	border-radius: 12px;
	padding: 24px 22px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease;
	display: block;
}
.au-acc-card:hover { border-color: #FA623B; }
.au-acc-ic {
	width: 46px;
	height: 46px;
	border-radius: 10px;
	background: #FAF3EC;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	font-size: 23px;
	line-height: 1;
}
.au-acc-card b {
	display: block;
	font-size: 16.5px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 4px;
	color: #221C15;
}
.au-acc-card span:not(.au-acc-ic) {
	font-size: 13px;
	color: #8A8177;
	line-height: 1.6;
}
.au-acc-quick {
	margin-top: 18px;
	background: #FFFFFF;
	border: 1px solid #EFE9E1;
	border-radius: 12px;
	padding: 20px 22px;
}
.au-acc-quick > b {
	font-size: 14px;
	font-weight: 800;
	display: block;
	margin-bottom: 12px;
	color: #221C15;
}
.au-acc-quick a { margin: 0 8px 8px 0; }

/* 화면 2·4: 주문 카드 */
.au-ord {
	background: #FFFFFF;
	border: 1px solid #EFE9E1;
	border-radius: 12px;
	padding: 16px 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}
.au-ord-thumb {
	width: 58px;
	height: 58px;
	border-radius: 8px;
	flex-shrink: 0;
	overflow: hidden;
	background: #F3F2F0;
	display: block;
}
.au-ord-thumb img {
	width: 58px !important;
	height: 58px !important;
	object-fit: cover;
	display: block;
	margin: 0 !important;
}
.au-ord-main { flex: 1; min-width: 180px; }
.au-ord-main b {
	font-size: 15px;
	font-weight: 800;
	display: block;
	letter-spacing: -0.02em;
	color: #221C15;
}
.au-ord-main span { font-size: 12.5px; color: #8A8177; }
.au-ord-main em { font-style: normal; font-weight: 800; }
.au-ord-price {
	font-size: 15px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	flex-shrink: 0;
	color: #221C15;
}
.au-ord-price .woocommerce-Price-amount { font-weight: 800; }
.au-ord-btns { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
.au-ord-paging { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.au-ord-empty { text-align: center; padding: 40px 0 20px; }
.au-ord-empty p { color: #8A8177; font-size: 14.5px; margin: 0 0 18px; }

/* 화면 4: 결제 정보 카드 */
.au-pay-card {
	background: #FFFFFF;
	border: 1px solid #EFE9E1;
	border-radius: 12px;
	padding: 20px 22px;
	max-width: 420px;
	margin-top: 16px;
}
.au-pay-card > b {
	font-size: 14px;
	font-weight: 800;
	display: block;
	margin-bottom: 12px;
	color: #221C15;
}
.au-pay-row {
	display: flex;
	justify-content: space-between;
	font-size: 13.5px;
	margin-bottom: 8px;
}
.au-pay-row span:first-child { color: #8A8177; }
.au-pay-row span:last-child { font-variant-numeric: tabular-nums; }
.au-pay-dc, .au-pay-dc .woocommerce-Price-amount { color: #C2431C; }
.au-pay-total {
	border-top: 1px solid #EFE9E1;
	padding-top: 12px;
	margin-top: 12px;
	display: flex;
	justify-content: space-between;
	font-size: 15px;
	font-weight: 800;
}
.au-pay-total .woocommerce-Price-amount { font-weight: 800; }

/* 환불 문의 (조용한 링크) */
.au-refund-line {
	margin: 28px 0 0;
	font-size: 12px;
	color: #8A8177;
}
.au-refund-line a {
	color: #8A8177;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.au-refund-line a:hover { color: #C0392B; }

/* 화면 3: 프로필 설정 */
.au-pf { max-width: 520px; }
.au-pf label {
	display: block;
	font-size: 13px;
	font-weight: 800;
	margin: 0 0 6px;
	color: #221C15;
}
.au-fld {
	width: 100%;
	border: 1px solid #EFE9E1;
	border-radius: 8px;
	background: #FFFFFF;
	color: #221C15;
	padding: 13px 15px;
	font-size: 14.5px;
	margin-bottom: 16px;
	font-family: inherit;
	box-sizing: border-box;
}
.au-fld:focus { outline: none; border-color: #221C15; }
.au-pf-submit { margin: 6px 0 0; }
.au-pf-div { border-top: 1px solid #EFE9E1; margin: 28px 0 20px; max-width: 520px; }
.au-pf-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 16px;
	flex-wrap: wrap;
	max-width: 520px;
}
.au-pf-row .t b { display: block; font-size: 14px; font-weight: 800; color: #221C15; }
.au-pf-row .t span { font-size: 12.5px; color: #8A8177; }
.au-leave {
	font-size: 12.5px;
	color: #8A8177;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.au-leave:hover { color: #C0392B; }

/* 워드프레스 기본 알림 톤 정리 */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
	border-top-color: #FA623B;
}
