/**
 * HNS Misoca MyAccount - 注文一覧カード UI
 * BAUM 風（#333 + cream）統一
 */

.hns-orders-wrap {
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
	color: #333;
}

.hns-orders-title {
	font-size: 22px;
	font-weight: 400;
	letter-spacing: 0.04em;
	margin: 0 0 24px;
	border: none;
	color: #333;
}

.hns-orders-empty {
	padding: 40px;
	text-align: center;
	background: #f7f3ec;
	border-radius: 4px;
	color: #666;
}

/* === Order Card === */
.hns-order-card {
	background: #fff;
	border: 1px solid #e5e0d6;
	margin-bottom: 16px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.hns-order-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	background: #f5f1e8;
	border-bottom: 1px solid #e5e0d6;
	flex-wrap: wrap;
}

.hns-order-card__title {
	font-size: 14px;
	color: #333;
	font-weight: 500;
}

.hns-order-card__actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.hns-order-card--cancelled .hns-order-card__title {
	color: #888;
}

.hns-order-card__body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 32px;
	padding: 20px;
}

@media (max-width: 768px) {
	.hns-order-card__body {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 16px;
	}
	.hns-order-card__header {
		flex-direction: column;
		align-items: flex-start;
		padding: 12px 16px;
	}
	.hns-order-card__actions {
		width: 100%;
	}
	.hns-order-card__actions .hns-btn {
		flex: 1;
		text-align: center;
	}
}

.hns-order-card__col {
	margin: 0;
}

.hns-order-card__row {
	display: flex;
	gap: 16px;
	padding: 8px 0;
	border-bottom: 1px dashed #efe9dd;
	align-items: baseline;
}

.hns-order-card__row:last-child {
	border-bottom: 0;
}

.hns-order-card__row dt {
	flex: 0 0 96px;
	font-size: 13px;
	color: #888;
	font-weight: 400;
}

.hns-order-card__row dd {
	margin: 0;
	font-size: 14px;
	color: #333;
	flex: 1;
	word-break: break-word;
}

@media (max-width: 768px) {
	.hns-order-card__row dt {
		flex: 0 0 90px;
	}
}

/* === Buttons === */
.hns-btn {
	display: inline-block;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-decoration: none;
	border: 1px solid #cfc7b6;
	background: #fff;
	color: #333;
	cursor: pointer;
	transition: all 0.15s ease;
	font-family: inherit;
	border-radius: 0;
	line-height: 1.4;
}

.hns-btn:hover {
	background: #f5f1e8;
	border-color: #b8ad96;
	color: #333;
}

.hns-btn--secondary {
	background: #fff;
}

.hns-btn--disabled,
.hns-btn:disabled {
	background: #ededed;
	color: #aaa;
	border-color: #d0d0d0;
	cursor: not-allowed;
	pointer-events: none;
}

.hns-btn--disabled:hover {
	background: #ededed;
}

/* === Pagination === */
.hns-orders-pagination {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	margin-top: 24px;
}

.hns-pagination-info {
	font-size: 13px;
	color: #888;
}
